[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_minter", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "address", "name": "_lzEndpoint", "type": "address" }, { "internalType": "uint256", "name": "_maxSupply", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidMaxSupply", "type": "error" }, { "inputs": [], "name": "InvalidShortString", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "type": "error" }, { "inputs": [], "name": "ZeroAddress", "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": [], "name": "EIP712DomainChanged", "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": 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": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAIN_ENDPOINT_ID", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "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": [], "name": "eip712Domain", "outputs": [ { "internalType": "bytes1", "name": "fields", "type": "bytes1" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "version", "type": "string" }, { "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "internalType": "address", "name": "verifyingContract", "type": "address" }, { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" } ], "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": "mainEid", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "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": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "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": "amount", "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" } ]
6101606040523480156200001257600080fd5b5060405162001c2638038062001c268339810160408190526200003591620004d2565b8585858585858380604051806040016040528060018152602001603160f81b815250868681600390816200006a91906200060b565b5060046200007982826200060b565b506200008b915083905060056200024e565b610120526200009c8160066200024e565b61014052815160208084019190912060e052815190820120610100524660a0526200012a60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506200013f3362000287565b6001600160a01b038516620001675760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0386166200018f5760405163d92e233d60e01b815260040160405180910390fd5b80600003620001b15760405163066f305360e21b815260040160405180910390fd5b620001bc8662000287565b6175e8826001600160a01b031663416ecebf6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002249190620006d7565b63ffffffff16036200023c576200023c8582620002d9565b50505050505050505050505062000782565b60006020835110156200026e576200026683620003a0565b905062000281565b816200027b84826200060b565b5060ff90505b92915050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003355760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000349919062000706565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080829050601f81511115620003ce578260405163305a27a960e01b81526004016200032c919062000728565b8051620003db826200075d565b179392505050565b505050565b80516001600160a01b03811681146200040057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004385781810151838201526020016200041e565b50506000910152565b600082601f8301126200045357600080fd5b81516001600160401b038082111562000470576200047062000405565b604051601f8301601f19908116603f011681019082821181831017156200049b576200049b62000405565b81604052838152866020858801011115620004b557600080fd5b620004c88460208301602089016200041b565b9695505050505050565b60008060008060008060c08789031215620004ec57600080fd5b620004f787620003e8565b95506200050760208801620003e8565b60408801519095506001600160401b03808211156200052557600080fd5b620005338a838b0162000441565b955060608901519150808211156200054a57600080fd5b506200055989828a0162000441565b9350506200056a60808801620003e8565b915060a087015190509295509295509295565b600181811c908216806200059257607f821691505b602082108103620005b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003e357600081815260208120601f850160051c81016020861015620005e25750805b601f850160051c820191505b818110156200060357828155600101620005ee565b505050505050565b81516001600160401b0381111562000627576200062762000405565b6200063f816200063884546200057d565b84620005b9565b602080601f8311600181146200067757600084156200065e5750858301515b600019600386901b1c1916600185901b17855562000603565b600085815260208120601f198616915b82811015620006a85788860151825594840194600190910190840162000687565b5085821015620006c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006ea57600080fd5b815163ffffffff81168114620006ff57600080fd5b9392505050565b808201808211156200028157634e487b7160e01b600052601160045260246000fd5b6020815260008251806020840152620007498160408501602087016200041b565b601f01601f19169190910160400192915050565b80516020808301519190811015620005b35760001960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051611449620007dd60003960006104830152600061045801526000610b9201526000610b6a01526000610ac501526000610aef01526000610b1901526114496000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637ecebe00116100b8578063a457c2d71161007c578063a457c2d71461028a578063a9059cbb1461029d578063b67d5433146102b0578063d505accf146102b8578063dd62ed3e146102cb578063f2fde38b146102de57600080fd5b80637ecebe001461023057806384b0196e146102435780638da5cb5b1461025e57806395d89b4114610279578063a370779c1461028157600080fd5b80633644e5151161010a5780633644e515146101bc57806339509351146101c457806342966c68146101d757806370a08231146101ec578063715018a61461021557806379cc67901461021d57600080fd5b806306fdde0314610147578063095ea7b31461016557806318160ddd1461018857806323b872dd1461019a578063313ce567146101ad575b600080fd5b61014f6102f1565b60405161015c919061119c565b60405180910390f35b6101786101733660046111d2565b610383565b604051901515815260200161015c565b6002545b60405190815260200161015c565b6101786101a83660046111fc565b61039d565b6040516012815260200161015c565b61018c6103c1565b6101786101d23660046111d2565b6103d0565b6101ea6101e5366004611238565b6103f2565b005b61018c6101fa366004611251565b6001600160a01b031660009081526020819052604090205490565b6101ea6103ff565b6101ea61022b3660046111d2565b610413565b61018c61023e366004611251565b61042c565b61024b61044a565b60405161015c979695949392919061126c565b6009546040516001600160a01b03909116815260200161015c565b61014f6104d3565b61018c6175e881565b6101786102983660046111d2565b6104e2565b6101786102ab3660046111d2565b610562565b6175e861018c565b6101ea6102c6366004611302565b610570565b61018c6102d9366004611375565b6106d4565b6101ea6102ec366004611251565b6106ff565b606060038054610300906113a8565b80601f016020809104026020016040519081016040528092919081815260200182805461032c906113a8565b80156103795780601f1061034e57610100808354040283529160200191610379565b820191906000526020600020905b81548152906001019060200180831161035c57829003601f168201915b5050505050905090565b600033610391818585610775565b60019150505b92915050565b6000336103ab85828561089a565b6103b6858585610914565b506001949350505050565b60006103cb610ab8565b905090565b6000336103918185856103e383836106d4565b6103ed91906113dc565b610775565b6103fc3382610be3565b50565b610407610d0d565b6104116000610d67565b565b61041e82338361089a565b6104288282610be3565b5050565b6001600160a01b038116600090815260076020526040812054610397565b60006060808280808361047e7f00000000000000000000000000000000000000000000000000000000000000006005610db9565b6104a97f00000000000000000000000000000000000000000000000000000000000000006006610db9565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b606060048054610300906113a8565b600033816104f082866106d4565b9050838110156105555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103b68286868403610775565b600033610391818585610914565b834211156105c05760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161054c565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886105ef8c610e64565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061064a82610e8c565b9050600061065a82878787610eb9565b9050896001600160a01b0316816001600160a01b0316146106bd5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161054c565b6106c88a8a8a610775565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610707610d0d565b6001600160a01b03811661076c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161054c565b6103fc81610d67565b6001600160a01b0383166107d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161054c565b6001600160a01b0382166108385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161054c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006108a684846106d4565b9050600019811461090e57818110156109015760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161054c565b61090e8484848403610775565b50505050565b6001600160a01b0383166109785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161054c565b6001600160a01b0382166109da5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161054c565b6001600160a01b03831660009081526020819052604090205481811015610a525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161054c565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361090e565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610b1157507f000000000000000000000000000000000000000000000000000000000000000046145b15610b3b57507f000000000000000000000000000000000000000000000000000000000000000090565b6103cb604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b038216610c435760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161054c565b6001600160a01b03821660009081526020819052604090205481811015610cb75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161054c565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161088d565b6009546001600160a01b031633146104115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161054c565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060ff8314610dd357610dcc83610ee1565b9050610397565b818054610ddf906113a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b906113a8565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b50505050509050610397565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b6000610397610e99610ab8565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000610eca87878787610f20565b91509150610ed781610fe4565b5095945050505050565b60606000610eee8361112e565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610f575750600090506003610fdb565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610fab573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610fd457600060019250925050610fdb565b9150600090505b94509492505050565b6000816004811115610ff857610ff86113fd565b036110005750565b6001816004811115611014576110146113fd565b036110615760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161054c565b6002816004811115611075576110756113fd565b036110c25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161054c565b60038160048111156110d6576110d66113fd565b036103fc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161054c565b600060ff8216601f81111561039757604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b8181101561117c57602081850181015186830182015201611160565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006111af6020830184611156565b9392505050565b80356001600160a01b03811681146111cd57600080fd5b919050565b600080604083850312156111e557600080fd5b6111ee836111b6565b946020939093013593505050565b60008060006060848603121561121157600080fd5b61121a846111b6565b9250611228602085016111b6565b9150604084013590509250925092565b60006020828403121561124a57600080fd5b5035919050565b60006020828403121561126357600080fd5b6111af826111b6565b60ff60f81b881681526000602060e08184015261128c60e084018a611156565b838103604085015261129e818a611156565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156112f0578351835292840192918401916001016112d4565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561131d57600080fd5b611326886111b6565b9650611334602089016111b6565b95506040880135945060608801359350608088013560ff8116811461135857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561138857600080fd5b611391836111b6565b915061139f602084016111b6565b90509250929050565b600181811c908216806113bc57607f821691505b602082108103610e8657634e487b7160e01b600052602260045260246000fd5b8082018082111561039757634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212202470b9b29d44021f5ec087995604590859269fb8790880a30f49a5190e43eb0e64736f6c63430008150033000000000000000000000000b8e3452e62b45e654a300a296061597e3cf3e039000000000000000000000000b8e3452e62b45e654a300a296061597e3cf3e03900000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000001a44076050125825900e736c501f859c50fe728c00000000000000000000000000000000000000054f529ca52576bc68920000000000000000000000000000000000000000000000000000000000000000000006574153535550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065741535355500000000000000000000000000000000000000000000000000000