polytone-evm 0.3.0

Core interfaces for Polytone Interchain accounts and queries.
Documentation
1
{"abi":[{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Initialized","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"InvalidInitialization","inputs":[]},{"type":"error","name":"NotInitializing","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. The initial owner is set to the address provided by the deployer. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"errors\":{\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"events\":{\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol\":\"OwnableUpgradeable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/\",\":openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/\",\":solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/\"],\"viaIR\":true},\"sources\":{\"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6\",\"dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609\",\"dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9\",\"dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"InvalidInitialization"},{"inputs":[],"type":"error","name":"NotInitializing"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"type":"error","name":"OwnableInvalidOwner"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"type":"error","name":"OwnableUnauthorizedAccount"},{"inputs":[{"internalType":"uint64","name":"version","type":"uint64","indexed":false}],"type":"event","name":"Initialized","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/","ds-test/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/","openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/","solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":"OwnableUpgradeable"},"evmVersion":"paris","libraries":{},"viaIR":true},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a","urls":["bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6","dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2"],"license":"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b","urls":["bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609","dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"],"license":"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397","urls":["bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9","dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV"],"license":"MIT"}},"version":1},"storageLayout":{"storage":[],"types":{}},"ast":{"absolutePath":"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol","id":35398,"exportedSymbols":{"ContextUpgradeable":[35879],"Initializable":[35651],"OwnableUpgradeable":[35397]},"nodeType":"SourceUnit","src":"102:3923:19","nodes":[{"id":35204,"nodeType":"PragmaDirective","src":"102:24:19","nodes":[],"literals":["solidity","^","0.8",".20"]},{"id":35206,"nodeType":"ImportDirective","src":"128:67:19","nodes":[],"absolutePath":"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol","file":"../utils/ContextUpgradeable.sol","nameLocation":"-1:-1:-1","scope":35398,"sourceUnit":35880,"symbolAliases":[{"foreign":{"id":35205,"name":"ContextUpgradeable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35879,"src":"136:18:19","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":35208,"nodeType":"ImportDirective","src":"196:63:19","nodes":[],"absolutePath":"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol","file":"../proxy/utils/Initializable.sol","nameLocation":"-1:-1:-1","scope":35398,"sourceUnit":35652,"symbolAliases":[{"foreign":{"id":35207,"name":"Initializable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35651,"src":"204:13:19","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":35397,"nodeType":"ContractDefinition","src":"749:3275:19","nodes":[{"id":35217,"nodeType":"StructDefinition","src":"899:53:19","nodes":[],"canonicalName":"OwnableUpgradeable.OwnableStorage","documentation":{"id":35214,"nodeType":"StructuredDocumentation","src":"829:65:19","text":"@custom:storage-location erc7201:openzeppelin.storage.Ownable"},"members":[{"constant":false,"id":35216,"mutability":"mutable","name":"_owner","nameLocation":"939:6:19","nodeType":"VariableDeclaration","scope":35217,"src":"931:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35215,"name":"address","nodeType":"ElementaryTypeName","src":"931:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"OwnableStorage","nameLocation":"906:14:19","scope":35397,"visibility":"public"},{"id":35220,"nodeType":"VariableDeclaration","src":"1069:116:19","nodes":[],"constant":true,"mutability":"constant","name":"OwnableStorageLocation","nameLocation":"1094:22:19","scope":35397,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":35218,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1069:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307839303136643039643732643430666461653266643863656163366236323334633737303632313466643339633163643165363039613035323863313939333030","id":35219,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1119:66:19","typeDescriptions":{"typeIdentifier":"t_rational_65173360639460082030725920392146925864023520599682862633725751242436743107328_by_1","typeString":"int_const 6517...(69 digits omitted)...7328"},"value":"0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300"},"visibility":"private"},{"id":35228,"nodeType":"FunctionDefinition","src":"1192:159:19","nodes":[],"body":{"id":35227,"nodeType":"Block","src":"1270:81:19","nodes":[],"statements":[{"AST":{"nativeSrc":"1289:56:19","nodeType":"YulBlock","src":"1289:56:19","statements":[{"nativeSrc":"1303:32:19","nodeType":"YulAssignment","src":"1303:32:19","value":{"name":"OwnableStorageLocation","nativeSrc":"1313:22:19","nodeType":"YulIdentifier","src":"1313:22:19"},"variableNames":[{"name":"$.slot","nativeSrc":"1303:6:19","nodeType":"YulIdentifier","src":"1303:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":35224,"isOffset":false,"isSlot":true,"src":"1303:6:19","suffix":"slot","valueSize":1},{"declaration":35220,"isOffset":false,"isSlot":false,"src":"1313:22:19","valueSize":1}],"id":35226,"nodeType":"InlineAssembly","src":"1280:65:19"}]},"implemented":true,"kind":"function","modifiers":[],"name":"_getOwnableStorage","nameLocation":"1201:18:19","parameters":{"id":35221,"nodeType":"ParameterList","parameters":[],"src":"1219:2:19"},"returnParameters":{"id":35225,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35224,"mutability":"mutable","name":"$","nameLocation":"1267:1:19","nodeType":"VariableDeclaration","scope":35228,"src":"1244:24:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"},"typeName":{"id":35223,"nodeType":"UserDefinedTypeName","pathNode":{"id":35222,"name":"OwnableStorage","nameLocations":["1244:14:19"],"nodeType":"IdentifierPath","referencedDeclaration":35217,"src":"1244:14:19"},"referencedDeclaration":35217,"src":"1244:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"}},"visibility":"internal"}],"src":"1243:26:19"},"scope":35397,"stateMutability":"pure","virtual":false,"visibility":"private"},{"id":35233,"nodeType":"ErrorDefinition","src":"1447:50:19","nodes":[],"documentation":{"id":35229,"nodeType":"StructuredDocumentation","src":"1357:85:19","text":" @dev The caller account is not authorized to perform an operation."},"errorSelector":"118cdaa7","name":"OwnableUnauthorizedAccount","nameLocation":"1453:26:19","parameters":{"id":35232,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35231,"mutability":"mutable","name":"account","nameLocation":"1488:7:19","nodeType":"VariableDeclaration","scope":35233,"src":"1480:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35230,"name":"address","nodeType":"ElementaryTypeName","src":"1480:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1479:17:19"}},{"id":35238,"nodeType":"ErrorDefinition","src":"1590:41:19","nodes":[],"documentation":{"id":35234,"nodeType":"StructuredDocumentation","src":"1503:82:19","text":" @dev The owner is not a valid owner account. (eg. `address(0)`)"},"errorSelector":"1e4fbdf7","name":"OwnableInvalidOwner","nameLocation":"1596:19:19","parameters":{"id":35237,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35236,"mutability":"mutable","name":"owner","nameLocation":"1624:5:19","nodeType":"VariableDeclaration","scope":35238,"src":"1616:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35235,"name":"address","nodeType":"ElementaryTypeName","src":"1616:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1615:15:19"}},{"id":35244,"nodeType":"EventDefinition","src":"1637:84:19","nodes":[],"anonymous":false,"eventSelector":"8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0","name":"OwnershipTransferred","nameLocation":"1643:20:19","parameters":{"id":35243,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35240,"indexed":true,"mutability":"mutable","name":"previousOwner","nameLocation":"1680:13:19","nodeType":"VariableDeclaration","scope":35244,"src":"1664:29:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35239,"name":"address","nodeType":"ElementaryTypeName","src":"1664:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":35242,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"1711:8:19","nodeType":"VariableDeclaration","scope":35244,"src":"1695:24:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35241,"name":"address","nodeType":"ElementaryTypeName","src":"1695:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1663:57:19"}},{"id":35257,"nodeType":"FunctionDefinition","src":"1847:127:19","nodes":[],"body":{"id":35256,"nodeType":"Block","src":"1919:55:19","nodes":[],"statements":[{"expression":{"arguments":[{"id":35253,"name":"initialOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35247,"src":"1954:12:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35252,"name":"__Ownable_init_unchained","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35284,"src":"1929:24:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":35254,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1929:38:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35255,"nodeType":"ExpressionStatement","src":"1929:38:19"}]},"documentation":{"id":35245,"nodeType":"StructuredDocumentation","src":"1727:115:19","text":" @dev Initializes the contract setting the address provided by the deployer as the initial owner."},"implemented":true,"kind":"function","modifiers":[{"id":35250,"kind":"modifierInvocation","modifierName":{"id":35249,"name":"onlyInitializing","nameLocations":["1902:16:19"],"nodeType":"IdentifierPath","referencedDeclaration":35560,"src":"1902:16:19"},"nodeType":"ModifierInvocation","src":"1902:16:19"}],"name":"__Ownable_init","nameLocation":"1856:14:19","parameters":{"id":35248,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35247,"mutability":"mutable","name":"initialOwner","nameLocation":"1879:12:19","nodeType":"VariableDeclaration","scope":35257,"src":"1871:20:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35246,"name":"address","nodeType":"ElementaryTypeName","src":"1871:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1870:22:19"},"returnParameters":{"id":35251,"nodeType":"ParameterList","parameters":[],"src":"1919:0:19"},"scope":35397,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":35284,"nodeType":"FunctionDefinition","src":"1980:235:19","nodes":[],"body":{"id":35283,"nodeType":"Block","src":"2062:153:19","nodes":[],"statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":35269,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":35264,"name":"initialOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35259,"src":"2076:12:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":35267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2100:1:19","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":35266,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2092:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":35265,"name":"address","nodeType":"ElementaryTypeName","src":"2092:7:19","typeDescriptions":{}}},"id":35268,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2092:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2076:26:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":35278,"nodeType":"IfStatement","src":"2072:95:19","trueBody":{"id":35277,"nodeType":"Block","src":"2104:63:19","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":35273,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2153:1:19","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":35272,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2145:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":35271,"name":"address","nodeType":"ElementaryTypeName","src":"2145:7:19","typeDescriptions":{}}},"id":35274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2145:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35270,"name":"OwnableInvalidOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35238,"src":"2125:19:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$__$","typeString":"function (address) pure"}},"id":35275,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2125:31:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35276,"nodeType":"RevertStatement","src":"2118:38:19"}]}},{"expression":{"arguments":[{"id":35280,"name":"initialOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35259,"src":"2195:12:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35279,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35396,"src":"2176:18:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":35281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2176:32:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35282,"nodeType":"ExpressionStatement","src":"2176:32:19"}]},"implemented":true,"kind":"function","modifiers":[{"id":35262,"kind":"modifierInvocation","modifierName":{"id":35261,"name":"onlyInitializing","nameLocations":["2045:16:19"],"nodeType":"IdentifierPath","referencedDeclaration":35560,"src":"2045:16:19"},"nodeType":"ModifierInvocation","src":"2045:16:19"}],"name":"__Ownable_init_unchained","nameLocation":"1989:24:19","parameters":{"id":35260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35259,"mutability":"mutable","name":"initialOwner","nameLocation":"2022:12:19","nodeType":"VariableDeclaration","scope":35284,"src":"2014:20:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35258,"name":"address","nodeType":"ElementaryTypeName","src":"2014:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2013:22:19"},"returnParameters":{"id":35263,"nodeType":"ParameterList","parameters":[],"src":"2062:0:19"},"scope":35397,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":35292,"nodeType":"ModifierDefinition","src":"2303:62:19","nodes":[],"body":{"id":35291,"nodeType":"Block","src":"2324:41:19","nodes":[],"statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":35287,"name":"_checkOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35325,"src":"2334:11:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":35288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2334:13:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35289,"nodeType":"ExpressionStatement","src":"2334:13:19"},{"id":35290,"nodeType":"PlaceholderStatement","src":"2357:1:19"}]},"documentation":{"id":35285,"nodeType":"StructuredDocumentation","src":"2221:77:19","text":" @dev Throws if called by any account other than the owner."},"name":"onlyOwner","nameLocation":"2312:9:19","parameters":{"id":35286,"nodeType":"ParameterList","parameters":[],"src":"2321:2:19"},"virtual":false,"visibility":"internal"},{"id":35308,"nodeType":"FunctionDefinition","src":"2441:144:19","nodes":[],"body":{"id":35307,"nodeType":"Block","src":"2496:89:19","nodes":[],"statements":[{"assignments":[35300],"declarations":[{"constant":false,"id":35300,"mutability":"mutable","name":"$","nameLocation":"2529:1:19","nodeType":"VariableDeclaration","scope":35307,"src":"2506:24:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"},"typeName":{"id":35299,"nodeType":"UserDefinedTypeName","pathNode":{"id":35298,"name":"OwnableStorage","nameLocations":["2506:14:19"],"nodeType":"IdentifierPath","referencedDeclaration":35217,"src":"2506:14:19"},"referencedDeclaration":35217,"src":"2506:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"}},"visibility":"internal"}],"id":35303,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":35301,"name":"_getOwnableStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35228,"src":"2533:18:19","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_OwnableStorage_$35217_storage_ptr_$","typeString":"function () pure returns (struct OwnableUpgradeable.OwnableStorage storage pointer)"}},"id":35302,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2533:20:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"2506:47:19"},{"expression":{"expression":{"id":35304,"name":"$","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35300,"src":"2570:1:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage storage pointer"}},"id":35305,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2572:6:19","memberName":"_owner","nodeType":"MemberAccess","referencedDeclaration":35216,"src":"2570:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":35297,"id":35306,"nodeType":"Return","src":"2563:15:19"}]},"documentation":{"id":35293,"nodeType":"StructuredDocumentation","src":"2371:65:19","text":" @dev Returns the address of the current owner."},"functionSelector":"8da5cb5b","implemented":true,"kind":"function","modifiers":[],"name":"owner","nameLocation":"2450:5:19","parameters":{"id":35294,"nodeType":"ParameterList","parameters":[],"src":"2455:2:19"},"returnParameters":{"id":35297,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35296,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":35308,"src":"2487:7:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35295,"name":"address","nodeType":"ElementaryTypeName","src":"2487:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2486:9:19"},"scope":35397,"stateMutability":"view","virtual":true,"visibility":"public"},{"id":35325,"nodeType":"FunctionDefinition","src":"2658:162:19","nodes":[],"body":{"id":35324,"nodeType":"Block","src":"2703:117:19","nodes":[],"statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":35316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":35312,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35308,"src":"2717:5:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":35313,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2717:7:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":35314,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35861,"src":"2728:10:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":35315,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2728:12:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2717:23:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":35323,"nodeType":"IfStatement","src":"2713:101:19","trueBody":{"id":35322,"nodeType":"Block","src":"2742:72:19","statements":[{"errorCall":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":35318,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35861,"src":"2790:10:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":35319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2790:12:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35317,"name":"OwnableUnauthorizedAccount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35233,"src":"2763:26:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$__$","typeString":"function (address) pure"}},"id":35320,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2763:40:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35321,"nodeType":"RevertStatement","src":"2756:47:19"}]}}]},"documentation":{"id":35309,"nodeType":"StructuredDocumentation","src":"2591:62:19","text":" @dev Throws if the sender is not the owner."},"implemented":true,"kind":"function","modifiers":[],"name":"_checkOwner","nameLocation":"2667:11:19","parameters":{"id":35310,"nodeType":"ParameterList","parameters":[],"src":"2678:2:19"},"returnParameters":{"id":35311,"nodeType":"ParameterList","parameters":[],"src":"2703:0:19"},"scope":35397,"stateMutability":"view","virtual":true,"visibility":"internal"},{"id":35339,"nodeType":"FunctionDefinition","src":"3155:101:19","nodes":[],"body":{"id":35338,"nodeType":"Block","src":"3209:47:19","nodes":[],"statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":35334,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3246:1:19","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":35333,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3238:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":35332,"name":"address","nodeType":"ElementaryTypeName","src":"3238:7:19","typeDescriptions":{}}},"id":35335,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3238:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35331,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35396,"src":"3219:18:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":35336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3219:30:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35337,"nodeType":"ExpressionStatement","src":"3219:30:19"}]},"documentation":{"id":35326,"nodeType":"StructuredDocumentation","src":"2826:324:19","text":" @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby disabling any functionality that is only available to the owner."},"functionSelector":"715018a6","implemented":true,"kind":"function","modifiers":[{"id":35329,"kind":"modifierInvocation","modifierName":{"id":35328,"name":"onlyOwner","nameLocations":["3199:9:19"],"nodeType":"IdentifierPath","referencedDeclaration":35292,"src":"3199:9:19"},"nodeType":"ModifierInvocation","src":"3199:9:19"}],"name":"renounceOwnership","nameLocation":"3164:17:19","parameters":{"id":35327,"nodeType":"ParameterList","parameters":[],"src":"3181:2:19"},"returnParameters":{"id":35330,"nodeType":"ParameterList","parameters":[],"src":"3209:0:19"},"scope":35397,"stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"id":35367,"nodeType":"FunctionDefinition","src":"3405:215:19","nodes":[],"body":{"id":35366,"nodeType":"Block","src":"3475:145:19","nodes":[],"statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":35352,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":35347,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35342,"src":"3489:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":35350,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3509:1:19","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":35349,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3501:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":35348,"name":"address","nodeType":"ElementaryTypeName","src":"3501:7:19","typeDescriptions":{}}},"id":35351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3501:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3489:22:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":35361,"nodeType":"IfStatement","src":"3485:91:19","trueBody":{"id":35360,"nodeType":"Block","src":"3513:63:19","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":35356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3562:1:19","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":35355,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3554:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":35354,"name":"address","nodeType":"ElementaryTypeName","src":"3554:7:19","typeDescriptions":{}}},"id":35357,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3554:10:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35353,"name":"OwnableInvalidOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35238,"src":"3534:19:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$__$","typeString":"function (address) pure"}},"id":35358,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3534:31:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35359,"nodeType":"RevertStatement","src":"3527:38:19"}]}},{"expression":{"arguments":[{"id":35363,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35342,"src":"3604:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":35362,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35396,"src":"3585:18:19","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":35364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3585:28:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35365,"nodeType":"ExpressionStatement","src":"3585:28:19"}]},"documentation":{"id":35340,"nodeType":"StructuredDocumentation","src":"3262:138:19","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner."},"functionSelector":"f2fde38b","implemented":true,"kind":"function","modifiers":[{"id":35345,"kind":"modifierInvocation","modifierName":{"id":35344,"name":"onlyOwner","nameLocations":["3465:9:19"],"nodeType":"IdentifierPath","referencedDeclaration":35292,"src":"3465:9:19"},"nodeType":"ModifierInvocation","src":"3465:9:19"}],"name":"transferOwnership","nameLocation":"3414:17:19","parameters":{"id":35343,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35342,"mutability":"mutable","name":"newOwner","nameLocation":"3440:8:19","nodeType":"VariableDeclaration","scope":35367,"src":"3432:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35341,"name":"address","nodeType":"ElementaryTypeName","src":"3432:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3431:18:19"},"returnParameters":{"id":35346,"nodeType":"ParameterList","parameters":[],"src":"3475:0:19"},"scope":35397,"stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"id":35396,"nodeType":"FunctionDefinition","src":"3774:248:19","nodes":[],"body":{"id":35395,"nodeType":"Block","src":"3837:185:19","nodes":[],"statements":[{"assignments":[35375],"declarations":[{"constant":false,"id":35375,"mutability":"mutable","name":"$","nameLocation":"3870:1:19","nodeType":"VariableDeclaration","scope":35395,"src":"3847:24:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"},"typeName":{"id":35374,"nodeType":"UserDefinedTypeName","pathNode":{"id":35373,"name":"OwnableStorage","nameLocations":["3847:14:19"],"nodeType":"IdentifierPath","referencedDeclaration":35217,"src":"3847:14:19"},"referencedDeclaration":35217,"src":"3847:14:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage"}},"visibility":"internal"}],"id":35378,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":35376,"name":"_getOwnableStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35228,"src":"3874:18:19","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_OwnableStorage_$35217_storage_ptr_$","typeString":"function () pure returns (struct OwnableUpgradeable.OwnableStorage storage pointer)"}},"id":35377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3874:20:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"3847:47:19"},{"assignments":[35380],"declarations":[{"constant":false,"id":35380,"mutability":"mutable","name":"oldOwner","nameLocation":"3912:8:19","nodeType":"VariableDeclaration","scope":35395,"src":"3904:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35379,"name":"address","nodeType":"ElementaryTypeName","src":"3904:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":35383,"initialValue":{"expression":{"id":35381,"name":"$","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35375,"src":"3923:1:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage storage pointer"}},"id":35382,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3925:6:19","memberName":"_owner","nodeType":"MemberAccess","referencedDeclaration":35216,"src":"3923:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3904:27:19"},{"expression":{"id":35388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":35384,"name":"$","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35375,"src":"3941:1:19","typeDescriptions":{"typeIdentifier":"t_struct$_OwnableStorage_$35217_storage_ptr","typeString":"struct OwnableUpgradeable.OwnableStorage storage pointer"}},"id":35386,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3943:6:19","memberName":"_owner","nodeType":"MemberAccess","referencedDeclaration":35216,"src":"3941:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":35387,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35370,"src":"3952:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3941:19:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":35389,"nodeType":"ExpressionStatement","src":"3941:19:19"},{"eventCall":{"arguments":[{"id":35391,"name":"oldOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35380,"src":"3996:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":35392,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35370,"src":"4006:8:19","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":35390,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":35244,"src":"3975:20:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":35393,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3975:40:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35394,"nodeType":"EmitStatement","src":"3970:45:19"}]},"documentation":{"id":35368,"nodeType":"StructuredDocumentation","src":"3626:143:19","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction."},"implemented":true,"kind":"function","modifiers":[],"name":"_transferOwnership","nameLocation":"3783:18:19","parameters":{"id":35371,"nodeType":"ParameterList","parameters":[{"constant":false,"id":35370,"mutability":"mutable","name":"newOwner","nameLocation":"3810:8:19","nodeType":"VariableDeclaration","scope":35396,"src":"3802:16:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":35369,"name":"address","nodeType":"ElementaryTypeName","src":"3802:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3801:18:19"},"returnParameters":{"id":35372,"nodeType":"ParameterList","parameters":[],"src":"3837:0:19"},"scope":35397,"stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"abstract":true,"baseContracts":[{"baseName":{"id":35210,"name":"Initializable","nameLocations":["789:13:19"],"nodeType":"IdentifierPath","referencedDeclaration":35651,"src":"789:13:19"},"id":35211,"nodeType":"InheritanceSpecifier","src":"789:13:19"},{"baseName":{"id":35212,"name":"ContextUpgradeable","nameLocations":["804:18:19"],"nodeType":"IdentifierPath","referencedDeclaration":35879,"src":"804:18:19"},"id":35213,"nodeType":"InheritanceSpecifier","src":"804:18:19"}],"canonicalName":"OwnableUpgradeable","contractDependencies":[],"contractKind":"contract","documentation":{"id":35209,"nodeType":"StructuredDocumentation","src":"261:487:19","text":" @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n The initial owner is set to the address provided by the deployer. This can\n later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner."},"fullyImplemented":true,"linearizedBaseContracts":[35397,35879,35651],"name":"OwnableUpgradeable","nameLocation":"767:18:19","scope":35398,"usedErrors":[35233,35238,35414,35417],"usedEvents":[35244,35422]}],"license":"MIT"},"id":19}