0 txs
12.3k calls
constructor
constructor()
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
burned
viewfunction burned() view returns (uint256)
cap
viewfunction cap() view returns (uint256)
decimals
viewfunction decimals() view returns (uint8)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
pairOracle
viewfunction pairOracle() view returns (address)
paused
viewfunction paused() view returns (bool)
pendingOwner
viewfunction pendingOwner() view returns (address)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
acceptOwnership
nonpayablefunction acceptOwnership()
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
burn
nonpayablefunction burn(uint256 amount)
burnFrom
nonpayablefunction burnFrom(address account, uint256 amount)
initialize
nonpayablefunction initialize(address owner_, address pairOracle_)
pause
nonpayablefunction pause()
renounceOwnership
nonpayablefunction renounceOwnership()
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
unpause
nonpayablefunction unpause()
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Initialized
event Initialized(uint64 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
OwnershipTransferStarted
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
Paused
event Paused(address account)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
Unpaused
event Unpaused(address account)
Upgraded
event Upgraded(address indexed implementation)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
EnforcedPause
error EnforcedPause()
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
ERC20ExceededCap
error ERC20ExceededCap(uint256 increasedSupply, uint256 cap)
ERC20InsufficientAllowance
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover
error ERC20InvalidApprover(address approver)
ERC20InvalidCap
error ERC20InvalidCap(uint256 cap)
ERC20InvalidReceiver
error ERC20InvalidReceiver(address receiver)
ERC20InvalidSender
error ERC20InvalidSender(address sender)
ERC20InvalidSpender
error ERC20InvalidSpender(address spender)
ExpectedPause
error ExpectedPause()
FailedInnerCall
error FailedInnerCall()
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051611ab16100fd60003960008181610c2401528181610c4d0152610d8e0152611ab16000f3fe6080604052600436106101815760003560e01c8063715018a6116100d157806395d89b411161008a578063b1b9a7c511610064578063b1b9a7c51461047e578063dd62ed3e1461049e578063e30c3978146104be578063f2fde38b146104d357600080fd5b806395d89b4114610418578063a9059cbb1461042d578063ad3cb1cc1461044d57600080fd5b8063715018a61461037657806373f425611461038b57806379ba5097146103a157806379cc6790146103b65780638456cb59146103d65780638da5cb5b146103eb57600080fd5b80633f4ba83a1161013e5780634f1ef286116101185780634f1ef286146102e657806352d1902d146102f95780635c975abb1461030e57806370a082311461033357600080fd5b80633f4ba83a1461028f57806342966c68146102a6578063485cc955146102c657600080fd5b806306fdde0314610186578063095ea7b3146101b157806318160ddd146101e157806323b872dd1461021f578063313ce5671461023f578063355274ea1461025b575b600080fd5b34801561019257600080fd5b5061019b6104f3565b6040516101a89190611667565b60405180910390f35b3480156101bd57600080fd5b506101d16101cc3660046116b6565b6105b6565b60405190151581526020016101a8565b3480156101ed57600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02545b6040519081526020016101a8565b34801561022b57600080fd5b506101d161023a3660046116e0565b6105d0565b34801561024b57600080fd5b50604051601281526020016101a8565b34801561026757600080fd5b507f0f070392f17d5f958cc1ac31867dabecfc5c9758b4a419a200803226d7155d0054610211565b34801561029b57600080fd5b506102a46105f6565b005b3480156102b257600080fd5b506102a46102c136600461171c565b610608565b3480156102d257600080fd5b506102a46102e1366004611735565b61062b565b6102a46102f436600461177e565b6107e1565b34801561030557600080fd5b50610211610800565b34801561031a57600080fd5b50600080516020611a5c8339815191525460ff166101d1565b34801561033f57600080fd5b5061021161034e366004611840565b6001600160a01b03166000908152600080516020611a1c833981519152602052604090205490565b34801561038257600080fd5b506102a461081d565b34801561039757600080fd5b5061021160005481565b3480156103ad57600080fd5b506102a461082f565b3480156103c257600080fd5b506102a46103d13660046116b6565b610879565b3480156103e257600080fd5b506102a461089a565b3480156103f757600080fd5b506104006108aa565b6040516001600160a01b0390911681526020016101a8565b34801561042457600080fd5b5061019b6108df565b34801561043957600080fd5b506101d16104483660046116b6565b61091e565b34801561045957600080fd5b5061019b604051806040016040528060058152602001640352e302e360dc1b81525081565b34801561048a57600080fd5b50600154610400906001600160a01b031681565b3480156104aa57600080fd5b506102116104b9366004611735565b61092c565b3480156104ca57600080fd5b50610400610976565b3480156104df57600080fd5b506102a46104ee366004611840565b61099f565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace038054606091600080516020611a1c833981519152916105329061185b565b80601f016020809104026020016040519081016040528092919081815260200182805461055e9061185b565b80156105ab5780601f10610580576101008083540402835291602001916105ab565b820191906000526020600020905b81548152906001019060200180831161058e57829003601f168201915b505050505091505090565b6000336105c4818585610a24565b60019150505b92915050565b6000336105de858285610a36565b6105e9858585610a9c565b60019150505b9392505050565b6105fe610afb565b610606610b2d565b565b806000808282546106199190611895565b90915550610628905081610b8d565b50565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156106715750825b905060008267ffffffffffffffff16600114801561068e5750303b155b90508115801561069c575080155b156106ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106e457845460ff60401b1916600160401b1785555b60006a108b2a2c28029094000000905061073a604051806040016040528060098152602001682d242a102a37b5b2b760b91b8152506040518060400160405280600381526020016216921560ea1b815250610b97565b61074381610ba9565b61074b610bba565b61075488610bc2565b61075c610bba565b610764610bd3565b61076c610bba565b6107763382610be3565b50600180546001600160a01b0319166001600160a01b03881617905583156107d857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6107e9610c19565b6107f282610cbe565b6107fc8282610cc6565b5050565b600061080a610d83565b50600080516020611a3c83398151915290565b610825610afb565b6106066000610dcc565b3380610839610976565b6001600160a01b0316146108705760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61062881610dcc565b8060008082825461088a9190611895565b909155506107fc90508282610e04565b6108a2610afb565b610606610e19565b6000807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace048054606091600080516020611a1c833981519152916105329061185b565b6000336105c4818585610a9c565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b6000807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006108cf565b6109a7610afb565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b03831690811782556109eb6108aa565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b610a318383836001610e62565b505050565b6000610a42848461092c565b90506000198114610a965781811015610a8757604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610867565b610a9684848484036000610e62565b50505050565b6001600160a01b038316610ac657604051634b637e8f60e11b815260006004820152602401610867565b6001600160a01b038216610af05760405163ec442f0560e01b815260006004820152602401610867565b610a31838383610f4a565b33610b046108aa565b6001600160a01b0316146106065760405163118cdaa760e01b8152336004820152602401610867565b610b3561104e565b600080516020611a5c833981519152805460ff191681557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a150565b610628338261107e565b610b9f6110b4565b6107fc82826110fd565b610bb16110b4565b6106288161114e565b6106066110b4565b610bca6110b4565b6106288161119f565b610bdb6110b4565b6106066111d1565b6001600160a01b038216610c0d5760405163ec442f0560e01b815260006004820152602401610867565b6107fc60008383610f4a565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610ca057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c94600080516020611a3c833981519152546001600160a01b031690565b6001600160a01b031614155b156106065760405163703e46dd60e11b815260040160405180910390fd5b610628610afb565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d20575060408051601f3d908101601f19168201909252610d1d918101906118b6565b60015b610d4857604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610867565b600080516020611a3c8339815191528114610d7957604051632a87526960e21b815260048101829052602401610867565b610a3183836111f2565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106065760405163703e46dd60e11b815260040160405180910390fd5b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b03191681556107fc82611248565b610e0f823383610a36565b6107fc828261107e565b610e216112b9565b600080516020611a5c833981519152805460ff191660011781557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610b6f565b600080516020611a1c8339815191526001600160a01b038516610e9b5760405163e602df0560e01b815260006004820152602401610867565b6001600160a01b038416610ec557604051634a1406b160e11b815260006004820152602401610867565b6001600160a01b03808616600090815260018301602090815260408083209388168352929052208390558115610f4357836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051610f3a91815260200190565b60405180910390a35b5050505050565b610f526112b9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166110435760015460405163cc1dd94f60e01b81526001600160a01b0385811660048301528481166024830152604482018490529091169063cc1dd94f90606401602060405180830381865afa158015610fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fff91906118cf565b6110435760405162461bcd60e51b81526020600482015260156024820152742d242a1d37b7363c9039bbb0b81036b0b730b3b2b960591b6044820152606401610867565b610a318383836112ea565b600080516020611a5c8339815191525460ff1661060657604051638dfc202b60e01b815260040160405180910390fd5b6001600160a01b0382166110a857604051634b637e8f60e11b815260006004820152602401610867565b6107fc82600083610f4a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661060657604051631afcd79f60e31b815260040160405180910390fd5b6111056110b4565b600080516020611a1c8339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0361113f848261193f565b5060048101610a96838261193f565b6111566110b4565b7f0f070392f17d5f958cc1ac31867dabecfc5c9758b4a419a200803226d7155d00600082900361119c5760405163392e1e2760e01b815260006004820152602401610867565b55565b6111a76110b4565b6001600160a01b03811661087057604051631e4fbdf760e01b815260006004820152602401610867565b6111d96110b4565b600080516020611a5c833981519152805460ff19169055565b6111fb82611386565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561124057610a3182826113eb565b6107fc611461565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b600080516020611a5c8339815191525460ff16156106065760405163d93c066560e01b815260040160405180910390fd5b6112f5838383611480565b6001600160a01b038316610a3157600061132d7f0f070392f17d5f958cc1ac31867dabecfc5c9758b4a419a200803226d7155d005490565b905060006113597f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b905081811115610f435760405163279e7e1560e21b81526004810182905260248101839052604401610867565b806001600160a01b03163b6000036113bc57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610867565b600080516020611a3c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161140891906119ff565b600060405180830381855af49150503d8060008114611443576040519150601f19603f3d011682016040523d82523d6000602084013e611448565b606091505b50915091506114588583836115be565b95945050505050565b34156106065760405163b398979f60e01b815260040160405180910390fd5b600080516020611a1c8339815191526001600160a01b0384166114bc57818160020160008282546114b19190611895565b9091555061152e9050565b6001600160a01b0384166000908152602082905260409020548281101561150f5760405163391434e360e21b81526001600160a01b03861660048201526024810182905260448101849052606401610867565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b03831661154c57600281018054839003905561156b565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115b091815260200190565b60405180910390a350505050565b6060826115d3576115ce8261161a565b6105ef565b81511580156115ea57506001600160a01b0384163b155b1561161357604051639996b31560e01b81526001600160a01b0385166004820152602401610867565b50806105ef565b80511561162a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b8381101561165e578181015183820152602001611646565b50506000910152565b6020815260008251806020840152611686816040850160208701611643565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116b157600080fd5b919050565b600080604083850312156116c957600080fd5b6116d28361169a565b946020939093013593505050565b6000806000606084860312156116f557600080fd5b6116fe8461169a565b925061170c6020850161169a565b9150604084013590509250925092565b60006020828403121561172e57600080fd5b5035919050565b6000806040838503121561174857600080fd5b6117518361169a565b915061175f6020840161169a565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561179157600080fd5b61179a8361169a565b9150602083013567ffffffffffffffff808211156117b757600080fd5b818501915085601f8301126117cb57600080fd5b8135818111156117dd576117dd611768565b604051601f8201601f19908116603f0116810190838211818310171561180557611805611768565b8160405282815288602084870101111561181e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561185257600080fd5b6105ef8261169a565b600181811c9082168061186f57607f821691505b60208210810361188f57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156105ca57634e487b7160e01b600052601160045260246000fd5b6000602082840312156118c857600080fd5b5051919050565b6000602082840312156118e157600080fd5b815180151581146105ef57600080fd5b601f821115610a3157600081815260208120601f850160051c810160208610156119185750805b601f850160051c820191505b8181101561193757828155600101611924565b505050505050565b815167ffffffffffffffff81111561195957611959611768565b61196d81611967845461185b565b846118f1565b602080601f8311600181146119a2576000841561198a5750858301515b600019600386901b1c1916600185901b178555611937565b600085815260208120601f198616915b828110156119d1578886015182559484019460019091019084016119b2565b50858210156119ef5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251611a11818460208701611643565b919091019291505056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300a2646970667358221220eb620f27f5093bf49b28e0d5a00f0b6874d20e862afb5988d60ff3ffea16faed64736f6c63430008140033