[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint8", "name": "_tokenDecimals", "type": "uint8" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" } ], "name": "AccessControlUnauthorizedAccount", "type": "error" }, { "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" }, { "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": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "AGENT_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "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": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "callerConfirmation", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenDecimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "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" } ]
608060405234801561000f575f80fd5b5060405161119338038061119383398101604081905261002e916101e6565b8282600461003c83826102e7565b50600561004982826102e7565b5061005891505f9050336100a0565b506100837fcab5a0bfe0b79d2c4b1c2e02599fa044d115b7511f9659307cb4276950967709336100a0565b506006805460ff191660ff92909216919091179055506103a19050565b5f828152602081815260408083206001600160a01b038516845290915281205460ff16610140575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556100f83390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610143565b505f5b92915050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261016c575f80fd5b81516001600160401b0381111561018557610185610149565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b3576101b3610149565b6040528181528382016020018510156101ca575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f805f606084860312156101f8575f80fd5b83516001600160401b0381111561020d575f80fd5b6102198682870161015d565b602086015190945090506001600160401b03811115610236575f80fd5b6102428682870161015d565b925050604084015160ff81168114610258575f80fd5b809150509250925092565b600181811c9082168061027757607f821691505b60208210810361029557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102e257805f5260205f20601f840160051c810160208510156102c05750805b601f840160051c820191505b818110156102df575f81556001016102cc565b50505b505050565b81516001600160401b0381111561030057610300610149565b6103148161030e8454610263565b8461029b565b6020601f821160018114610346575f831561032f5750848201515b5f19600385901b1c1916600184901b1784556102df565b5f84815260208120601f198516915b828110156103755787850151825560209485019460019092019101610355565b508482101561039257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b610de5806103ae5f395ff3fe608060405234801561000f575f80fd5b5060043610610163575f3560e01c80633b97e856116100c757806395d89b411161007d578063a9059cbb11610063578063a9059cbb14610306578063d547741f14610319578063dd62ed3e1461032c575f80fd5b806395d89b41146102f7578063a217fddf146102ff575f80fd5b806342966c68116100ad57806342966c681461028657806370a082311461029957806391d14854146102c1575f80fd5b80633b97e8561461026657806340c10f1914610273575f80fd5b806323b872dd1161011c5780632f2ff15d116101025780632f2ff15d14610225578063313ce5671461023a57806336568abe14610253575f80fd5b806323b872dd146101f0578063248a9ca314610203575f80fd5b8063095ea7b31161014c578063095ea7b3146101a457806318160ddd146101b757806322459e18146101c9575f80fd5b806301ffc9a71461016757806306fdde031461018f575b5f80fd5b61017a610175366004610b8e565b610364565b60405190151581526020015b60405180910390f35b6101976103fc565b6040516101869190610bd4565b61017a6101b2366004610c42565b61048c565b6003545b604051908152602001610186565b6101bb7fcab5a0bfe0b79d2c4b1c2e02599fa044d115b7511f9659307cb427695096770981565b61017a6101fe366004610c6a565b6104a3565b6101bb610211366004610ca4565b5f9081526020819052604090206001015490565b610238610233366004610cbb565b6104c6565b005b60065460ff165b60405160ff9091168152602001610186565b610238610261366004610cbb565b6104f0565b6006546102419060ff1681565b610238610281366004610c42565b610541565b610238610294366004610ca4565b610575565b6101bb6102a7366004610ce5565b6001600160a01b03165f9081526001602052604090205490565b61017a6102cf366004610cbb565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610197610582565b6101bb5f81565b61017a610314366004610c42565b610591565b610238610327366004610cbb565b61059e565b6101bb61033a366004610cfe565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806103f657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606004805461040b90610d26565b80601f016020809104026020016040519081016040528092919081815260200182805461043790610d26565b80156104825780601f1061045957610100808354040283529160200191610482565b820191905f5260205f20905b81548152906001019060200180831161046557829003601f168201915b5050505050905090565b5f336104998185856105c2565b5060019392505050565b5f336104b08582856105cf565b6104bb858585610681565b506001949350505050565b5f828152602081905260409020600101546104e081610710565b6104ea838361071a565b50505050565b6001600160a01b0381163314610532576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61053c82826107c1565b505050565b7fcab5a0bfe0b79d2c4b1c2e02599fa044d115b7511f9659307cb427695096770961056b81610710565b61053c8383610842565b61057f3382610893565b50565b60606005805461040b90610d26565b5f33610499818585610681565b5f828152602081905260409020600101546105b881610710565b6104ea83836107c1565b61053c83838360016108e0565b6001600160a01b038381165f908152600260209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146104ea5781811015610673576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6104ea84848484035f6108e0565b6001600160a01b0383166106c3576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b6001600160a01b038216610705576040517fec442f050000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b61053c8383836109e4565b61057f8133610b23565b5f828152602081815260408083206001600160a01b038516845290915281205460ff166107ba575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556107723390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103f6565b505f6103f6565b5f828152602081815260408083206001600160a01b038516845290915281205460ff16156107ba575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103f6565b6001600160a01b038216610884576040517fec442f050000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b61088f5f83836109e4565b5050565b6001600160a01b0382166108d5576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b61088f825f836109e4565b6001600160a01b038416610922576040517fe602df050000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b6001600160a01b038316610964576040517f94280d620000000000000000000000000000000000000000000000000000000081525f600482015260240161066a565b6001600160a01b038085165f90815260026020908152604080832093871683529290522082905580156104ea57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109d691815260200190565b60405180910390a350505050565b6001600160a01b038316610a0e578060035f828254610a039190610d77565b90915550610a979050565b6001600160a01b0383165f9081526001602052604090205481811015610a79576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602481018290526044810183905260640161066a565b6001600160a01b0384165f9081526001602052604090209082900390555b6001600160a01b038216610ab357600380548290039055610ad1565b6001600160a01b0382165f9081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b1691815260200190565b60405180910390a3505050565b5f828152602081815260408083206001600160a01b038516845290915290205460ff1661088f576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024810183905260440161066a565b5f60208284031215610b9e575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610bcd575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b80356001600160a01b0381168114610c3d575f80fd5b919050565b5f8060408385031215610c53575f80fd5b610c5c83610c27565b946020939093013593505050565b5f805f60608486031215610c7c575f80fd5b610c8584610c27565b9250610c9360208501610c27565b929592945050506040919091013590565b5f60208284031215610cb4575f80fd5b5035919050565b5f8060408385031215610ccc575f80fd5b82359150610cdc60208401610c27565b90509250929050565b5f60208284031215610cf5575f80fd5b610bcd82610c27565b5f8060408385031215610d0f575f80fd5b610d1883610c27565b9150610cdc60208401610c27565b600181811c90821680610d3a57607f821691505b602082108103610d71577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b808201808211156103f6577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffdfea264697066735822122081874712055ec27e3059abeb3bdfd5d480708c5f659cd1d0ea9757ac1e07f0c764736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a444f47e280a2474fe280a2544fe280a2544845e280a24d4f4f4e0000000000000000000000000000000000000000000000000000000000000000000000000003444f470000000000000000000000000000000000000000000000000000000000