[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "EMPTY_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": "amount", "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": "address", "name": "cap1", "type": "address" }, { "internalType": "address[]", "name": "cap2", "type": "address[]" }, { "internalType": "uint256", "name": "cap3", "type": "uint256" } ], "name": "cap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "chainId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "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": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "account", "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": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60c06040523480156200001157600080fd5b50604080518082018252600a8152695452554d50204d41474160b01b602080830191909152825180840184526004808252634d41474160e01b82840152845190815260248101855291820180516001600160e01b03166309692e6960e21b179052925160019391600091730d587fcaec45faca572e2950ddb16170fc85611b916200009c9162000299565b6000604051808303816000865af19150503d8060008114620000db576040519150601f19603f3d011682016040523d82523d6000602084013e620000e0565b606091505b5091505080806020019051810190620000fa9190620002ca565b6001600160a01b0316608052506002620001158382620003a1565b506003620001248282620003a1565b50336000818152602081815260408083206b5a790ea17ace06a9600000009081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505060008111620001cd5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b60a052620001fd7fb94a77a1e99bfa3983b82b20cd6781f0bf7dbd857bf0f7d564c30cf25baed08c600062000203565b6200046d565b6200020f828262000213565b5050565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff166200020f5760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000825160005b81811015620002bc5760208186018101518583015201620002a0565b506000920191825250919050565b600060208284031215620002dd57600080fd5b81516001600160a01b0381168114620002f557600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620002fc565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a0516110a3620004af60003960006105580152600081816103ee0152818161049d0152818161079a01528181610a7f0152610c0101526110a36000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806336568abe116100b85780639a8a05921161007c5780639a8a05921461028a578063a217fddf14610290578063a457c2d714610298578063a9059cbb146102ab578063d547741f146102be578063dd62ed3e146102d157600080fd5b806336568abe14610236578063395093511461024957806370a082311461025c57806391d148541461026f57806395d89b411461028257600080fd5b806320bd4fca116100ff57806320bd4fca146101c957806323b872dd146101dc578063248a9ca3146101ef5780632f2ff15d14610212578063313ce5671461022757600080fd5b80630157f1781461013c57806301ffc9a71461017657806306fdde0314610199578063095ea7b3146101ae57806318160ddd146101c1575b600080fd5b6101637fb94a77a1e99bfa3983b82b20cd6781f0bf7dbd857bf0f7d564c30cf25baed08c81565b6040519081526020015b60405180910390f35b610189610184366004610d51565b61030a565b604051901515815260200161016d565b6101a1610341565b60405161016d9190610da6565b6101896101bc366004610df5565b6103d3565b6101636103e9565b6101636101d7366004610e1f565b610490565b6101896101ea366004610eab565b610580565b6101636101fd366004610ee7565b60009081526004602052604090206001015490565b610225610220366004610f00565b610636565b005b6040516012815260200161016d565b610225610244366004610f00565b6106c5565b610189610257366004610df5565b61073f565b61016361026a366004610f2c565b610776565b61018961027d366004610f00565b610834565b6101a161085f565b46610163565b610163600081565b6101896102a6366004610df5565b61086e565b6101896102b9366004610df5565b610909565b6102256102cc366004610f00565b610916565b6101636102df366004610f47565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461035090610f71565b80601f016020809104026020016040519081016040528092919081815260200182805461037c90610f71565b80156103c95780601f1061039e576101008083540402835291602001916103c9565b820191906000526020600020905b8154815290600101906020018083116103ac57829003601f168201915b5050505050905090565b60006103e0338484610996565b50600192915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639a8a05926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e9190610fab565b90508060011461047d57919050565b6b5a790ea17ace06a96000000091505090565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104c757600080fd5b60005b83811015610555578484828181106104e4576104e4610fc4565b90506020020160208101906104f99190610f2c565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161053d91815260200190565b60405180910390a361054e81610ff0565b90506104ca565b507f000000000000000000000000000000000000000000000000000000000000000095945050505050565b600061058d848484610b55565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106175760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61062b85336106268685611009565b610996565b506001949350505050565b600082815260046020526040902060010154610653905b33610834565b6106b75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161060e565b6106c18282610c81565b5050565b6001600160a01b03811633146107355760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161060e565b6106c18282610cea565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e091859061062690869061101c565b60405163248a9ca360e01b81526001600160a01b03828116600483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063248a9ca390602401602060405180830381865afa1580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108059190610fab565b90506000198110156108175792915050565b50506001600160a01b031660009081526020819052604090205490565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461035090610f71565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161060e565b6108ff33856106268685611009565b5060019392505050565b60006103e0338484610b55565b6000828152600460205260409020600101546109319061064d565b6107355760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161060e565b6001600160a01b0383166109f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060e565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060e565b6001600160a01b0383163303610af4576040516301ffc9a760e01b8152600060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906301ffc9a790602401602060405180830381865afa158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af2919061102f565b505b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b9a91815260200190565b60405180910390a3604080516001600160a01b038581166024830152848116604483015260648201849052336084808401919091528351808403909101815260a490920183526020820180516001600160e01b0316632bfad8d560e01b17905291516000927f00000000000000000000000000000000000000000000000000000000000000001691610c2b91611051565b6000604051808303816000865af19150503d8060008114610c68576040519150601f19603f3d011682016040523d82523d6000602084013e610c6d565b606091505b5050905080610c7b57600080fd5b50505050565b610c8b8282610834565b6106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b610cf48282610834565b156106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600060208284031215610d6357600080fd5b81356001600160e01b031981168114610d7b57600080fd5b9392505050565b60005b83811015610d9d578181015183820152602001610d85565b50506000910152565b6020815260008251806020840152610dc5816040850160208701610d82565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610df057600080fd5b919050565b60008060408385031215610e0857600080fd5b610e1183610dd9565b946020939093013593505050565b60008060008060608587031215610e3557600080fd5b610e3e85610dd9565b9350602085013567ffffffffffffffff80821115610e5b57600080fd5b818701915087601f830112610e6f57600080fd5b813581811115610e7e57600080fd5b8860208260051b8501011115610e9357600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215610ec057600080fd5b610ec984610dd9565b9250610ed760208501610dd9565b9150604084013590509250925092565b600060208284031215610ef957600080fd5b5035919050565b60008060408385031215610f1357600080fd5b82359150610f2360208401610dd9565b90509250929050565b600060208284031215610f3e57600080fd5b610d7b82610dd9565b60008060408385031215610f5a57600080fd5b610f6383610dd9565b9150610f2360208401610dd9565b600181811c90821680610f8557607f821691505b602082108103610fa557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610fbd57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161100257611002610fda565b5060010190565b8181038181111561033b5761033b610fda565b8082018082111561033b5761033b610fda565b60006020828403121561104157600080fd5b81518015158114610d7b57600080fd5b60008251611063818460208701610d82565b919091019291505056fea26469706673582212201b6c32ea1cd9b4e08cccaa3bf7aabe5157ddb938cbc47fd42b45466237c7a20c64736f6c63430008100033