[ { "inputs": [ { "internalType": "address", "name": "_creator", "type": "address" }, { "internalType": "contract IERC20Metadata", "name": "_underlying", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [], "name": "NotMinter", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "inputs": [], "name": "Unauthorized", "type": "error" }, { "inputs": [], "name": "UpdateMinterFailed", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "Burned", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "Minted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_minter", "type": "address" } ], "name": "MinterAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_minter", "type": "address" } ], "name": "MinterRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_timelock", "type": "address" } ], "name": "TimelockChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_newMinter", "type": "address" } ], "name": "addMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_burnAmount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_burnAddress", "type": "address" }, { "internalType": "uint256", "name": "_burnAmount", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMinters", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getUnderlying", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_address", "type": "address" } ], "name": "isMinter", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_mintAddress", "type": "address" }, { "internalType": "uint256", "name": "_mintAmount", "type": "uint256" } ], "name": "mintTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_oldMinter", "type": "address" } ], "name": "removeMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_newTimelock", "type": "address" } ], "name": "setTimelock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "timelock", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60a060405234801562000010575f80fd5b5060405162001aa138038062001aa1833981016040819052620000339162000232565b81816001600160a01b03166306fdde036040518163ffffffff1660e01b81526004015f60405180830381865afa15801562000070573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052620000999190810190620002a7565b604051602001620000ab91906200035a565b604051602081830303815290604052826001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015620000f6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526200011f9190810190620002a7565b604051602001620001319190620003a0565b60408051601f1981840301815291905260036200014f838262000457565b5060046200015e828262000457565b5050506001600160a01b0381166200018f57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6200019a81620001ae565b506001600160a01b03166080525062000523565b600680546001600160a01b0319169055620001c981620001cc565b50565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0381168114620001c9575f80fd5b5f806040838503121562000244575f80fd5b825162000251816200021d565b602084015190925062000264816200021d565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f5b838110156200029f57818101518382015260200162000285565b50505f910152565b5f60208284031215620002b8575f80fd5b81516001600160401b0380821115620002cf575f80fd5b818401915084601f830112620002e3575f80fd5b815181811115620002f857620002f86200026f565b604051601f8201601f19908116603f011681019083821181831017156200032357620003236200026f565b816040528281528760208487010111156200033c575f80fd5b6200034f83602083016020880162000283565b979650505050505050565b7f496e7465726e616c4163636f756e74696e67556e69745f00000000000000000081525f82516200039381601785016020870162000283565b9190910160170192915050565b634941555f60e01b81525f8251620003c081600485016020870162000283565b9190910160040192915050565b600181811c90821680620003e257607f821691505b6020821081036200040157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200045257805f5260205f20601f840160051c810160208510156200042e5750805b601f840160051c820191505b818110156200044f575f81556001016200043a565b50505b505050565b81516001600160401b038111156200047357620004736200026f565b6200048b81620004848454620003cd565b8462000407565b602080601f831160018114620004c1575f8415620004a95750858301515b5f19600386901b1c1916600185901b1785556200051b565b5f85815260208120601f198616915b82811015620004f157888601518255948401946001909101908401620004d0565b50858210156200050f57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b6080516115656200053c5f395f6102f901526115655ff3fe608060405234801561000f575f80fd5b506004361061018f575f3560e01c806379cc6790116100dd578063aa271e1a11610088578063dd62ed3e11610063578063dd62ed3e14610389578063e30c3978146103ce578063f2fde38b146103ec575f80fd5b8063aa271e1a14610343578063bdacb30314610356578063d33219b414610369575f80fd5b80639816f473116100b85780639816f473146102f7578063983b2d561461031d578063a9059cbb14610330575f80fd5b806379cc67901461029d5780638da5cb5b146102b057806395d89b41146102ef575f80fd5b806342966c681161013d57806370a082311161011857806370a0823114610258578063715018a61461028d57806379ba509714610295575f80fd5b806342966c681461021d578063449a52f8146102305780636b32810b14610243575f80fd5b806323b872dd1161016d57806323b872dd146101e65780633092afd5146101f9578063313ce5671461020e575f80fd5b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101d4575b5f80fd5b61019b6103ff565b6040516101a89190611284565b60405180910390f35b6101c46101bf366004611316565b61048f565b60405190151581526020016101a8565b6002545b6040519081526020016101a8565b6101c46101f436600461133e565b6104a8565b61020c610207366004611377565b6104cb565b005b604051601281526020016101a8565b61020c61022b366004611390565b610566565b61020c61023e366004611316565b6105eb565b61024b610688565b6040516101a891906113a7565b6101d8610266366004611377565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b61020c610699565b61020c6106ac565b61020c6102ab366004611316565b610728565b60055473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a8565b61019b6107bd565b7f00000000000000000000000000000000000000000000000000000000000000006102ca565b61020c61032b366004611377565b6107cc565b6101c461033e366004611316565b61085f565b6101c4610351366004611377565b61086c565b61020c610364366004611377565b610878565b6007546102ca9073ffffffffffffffffffffffffffffffffffffffff1681565b6101d8610397366004611400565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b60065473ffffffffffffffffffffffffffffffffffffffff166102ca565b61020c6103fa366004611377565b6108f9565b60606003805461040e90611431565b80601f016020809104026020016040519081016040528092919081815260200182805461043a90611431565b80156104855780601f1061045c57610100808354040283529160200191610485565b820191905f5260205f20905b81548152906001019060200180831161046857829003601f168201915b5050505050905090565b5f3361049c8185856109a9565b60019150505b92915050565b5f336104b58582856109bb565b6104c0858585610a88565b506001949350505050565b6104d3610b31565b5f6104df600883610bc0565b905080610518576040517fb17e90ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff831681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692906020015b60405180910390a15050565b610571600833610be8565b6105a7576040517ff8d2906c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105b13382610c16565b6040518181525f9033907f6ab368f832c266c8eb942b84fbcaa20aedc24a699d2a05fae2568028733b1d099060200160405180910390a350565b6105f6600833610be8565b61062c576040517ff8d2906c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106368282610c74565b60405181815273ffffffffffffffffffffffffffffffffffffffff8316905f907f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f0906020015b60405180910390a35050565b60606106946008610cce565b905090565b6106a1610b31565b6106aa5f610cda565b565b600654339073ffffffffffffffffffffffffffffffffffffffff16811461071c576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b61072581610cda565b50565b610733600833610be8565b610769576040517ff8d2906c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107738282610c16565b6040518181525f9073ffffffffffffffffffffffffffffffffffffffff8416907f6ab368f832c266c8eb942b84fbcaa20aedc24a699d2a05fae2568028733b1d099060200161067c565b60606004805461040e90611431565b6107d4610b31565b5f6107e0600883610d0b565b905080610819576040517fb17e90ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff831681527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f69060200161055a565b5f3361049c818585610a88565b5f6104a2600883610be8565b610880610b31565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527ff02fdf7b40fb25784d39342249bbb15cee2bc0288f75ded1cf8ad2e63d4d91aa9060200160405180910390a150565b610901610b31565b6006805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561096460055473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6109b68383836001610d2c565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a825781811015610a74576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610713565b610a8284848484035f610d2c565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ad7576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b73ffffffffffffffffffffffffffffffffffffffff8216610b26576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b6109b6838383610e71565b60055473ffffffffffffffffffffffffffffffffffffffff163314801590610b87575060075473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b156106aa576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610713565b5f610be18373ffffffffffffffffffffffffffffffffffffffff8416610edf565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526001830160205260408120541515610be1565b73ffffffffffffffffffffffffffffffffffffffff8216610c65576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b610c70825f83610e71565b5050565b73ffffffffffffffffffffffffffffffffffffffff8216610cc3576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b610c705f8383610e71565b60605f610be183610fc2565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556107258161101b565b5f610be18373ffffffffffffffffffffffffffffffffffffffff8416611091565b73ffffffffffffffffffffffffffffffffffffffff8416610d7b576040517fe602df050000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b73ffffffffffffffffffffffffffffffffffffffff8316610dca576040517f94280d620000000000000000000000000000000000000000000000000000000081525f6004820152602401610713565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526001602090815260408083209387168352929052208290558015610a82578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e6391815260200190565b60405180910390a350505050565b610e7c600884610be8565b80610e8d5750610e8d600883610be8565b80610e9e5750610e9e600833610be8565b610ed4576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109b68383836110dd565b5f8181526001830160205260408120548015610fb9575f610f016001836114af565b85549091505f90610f14906001906114af565b9050808214610f73575f865f018281548110610f3257610f326114c2565b905f5260205f200154905080875f018481548110610f5257610f526114c2565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080610f8457610f846114ef565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f9055600193505050506104a2565b5f9150506104a2565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561100f57602002820191905f5260205f20905b815481526020019060010190808311610ffb575b50505050509050919050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8181526001830160205260408120546110d657508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556104a2565b505f6104a2565b73ffffffffffffffffffffffffffffffffffffffff8316611114578060025f828254611109919061151c565b909155506111c49050565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604090205481811015611199576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610713565b73ffffffffffffffffffffffffffffffffffffffff84165f9081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff82166111ed57600280548290039055611218565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161127791815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156112b057858101830151858201604001528201611294565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611311575f80fd5b919050565b5f8060408385031215611327575f80fd5b611330836112ee565b946020939093013593505050565b5f805f60608486031215611350575f80fd5b611359846112ee565b9250611367602085016112ee565b9150604084013590509250925092565b5f60208284031215611387575f80fd5b610be1826112ee565b5f602082840312156113a0575f80fd5b5035919050565b602080825282518282018190525f9190848201906040850190845b818110156113f457835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016113c2565b50909695505050505050565b5f8060408385031215611411575f80fd5b61141a836112ee565b9150611428602084016112ee565b90509250929050565b600181811c9082168061144557607f821691505b60208210810361147c577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b818103818111156104a2576104a2611482565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b808201808211156104a2576104a261148256fea26469706673582212204426fc8c6e171f0ebeff754ba8948e31cd36d9ccc576d9da6dfcaf82f768674664736f6c634300081800330000000000000000000000008d0dee38eeca0c26d7c53fd4d47f93918a0c15f30000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
0x0000000000000000000000008d0dee38eeca0c26d7c53fd4d47f93918a0c15f30000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
----Decoded View------------Arg [0] : _creator (address): 0x8D0dee38eeCa0C26d7c53Fd4D47F93918a0c15F3Arg [1] : _underlying (address): 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
----Encoded View------------Arg [0] : 0x0000000000000000000000008d0dee38eeca0c26d7c53fd4d47f93918a0c15f3Arg [1] : 0x0000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca0