[ { "inputs": [ { "internalType": "address", "name": "GuardAISafe", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "ECDSAInvalidSignatureLength", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "ECDSAInvalidSignatureS", "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" }, { "inputs": [ { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ERC2612ExpiredSignature", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC2612InvalidSigner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "currentNonce", "type": "uint256" } ], "name": "InvalidAccountNonce", "type": "error" }, { "inputs": [], "name": "InvalidShortString", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "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": "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": "_decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "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": [], "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": [ { "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": "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": "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" } ]
610160604052620000136012600a620004d4565b6200002390633b9aca00620004e8565b60085534801562000032575f80fd5b506040516200163f3803806200163f833981016040819052620000559162000502565b604051806040016040528060078152602001664775617264414960c81b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060078152602001664775617264414960c81b815250604051806040016040528060078152602001664775617264414960c81b8152508160039081620000e19190620005ca565b506004620000f08282620005ca565b506200010291508390506005620001de565b6101205262000113816006620001de565b61014052815160208084019190912060e052815190820120610100524660a052620001a060e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250600980546001600160a01b0319166001600160a01b038316908117909155600854620001d7919062000216565b5062000719565b5f602083511015620001fd57620001f58362000256565b905062000210565b816200020a8482620005ca565b5060ff90505b92915050565b6001600160a01b038216620002455760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620002525f838362000298565b5050565b5f80829050601f8151111562000283578260405163305a27a960e01b81526004016200023c919062000692565b80516200029082620006df565b179392505050565b6001600160a01b038316620002c6578060025f828254620002ba919062000703565b90915550620003389050565b6001600160a01b0383165f90815260208190526040902054818110156200031a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200023c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620003565760028054829003905562000374565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003ba91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200041b57815f1904821115620003ff57620003ff620003c7565b808516156200040d57918102915b93841c9390800290620003e0565b509250929050565b5f82620004335750600162000210565b816200044157505f62000210565b81600181146200045a5760028114620004655762000485565b600191505062000210565b60ff841115620004795762000479620003c7565b50506001821b62000210565b5060208310610133831016604e8410600b8410161715620004aa575081810a62000210565b620004b68383620003db565b805f1904821115620004cc57620004cc620003c7565b029392505050565b5f620004e1838362000423565b9392505050565b8082028115828204841417620002105762000210620003c7565b5f6020828403121562000513575f80fd5b81516001600160a01b0381168114620004e1575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200055357607f821691505b6020821081036200057257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620005c5575f81815260208120601f850160051c81016020861015620005a05750805b601f850160051c820191505b81811015620005c157828155600101620005ac565b5050505b505050565b81516001600160401b03811115620005e657620005e66200052a565b620005fe81620005f784546200053e565b8462000578565b602080601f83116001811462000634575f84156200061c5750858301515b5f19600386901b1c1916600185901b178555620005c1565b5f85815260208120601f198616915b82811015620006645788860151825594840194600190910190840162000643565b50858210156200068257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020808352835180828501525f5b81811015620006bf57858101830151858201604001528201620006a1565b505f604082860101526040601f19601f8301168501019250505092915050565b8051602080830151919081101562000572575f1960209190910360031b1b16919050565b80820180821115620002105762000210620003c7565b60805160a05160c05160e051610100516101205161014051610ed46200076b5f395f61070901525f6106dc01525f61068501525f61065d01525f6105b801525f6105e201525f61060c0152610ed45ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101ca578063a9059cbb146101d2578063d505accf146101e5578063dd62ed3e146101fa575f80fd5b806370a08231146101745780637ecebe001461019c57806384b0196e146101af575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f57806332424aa3146101645780633644e5151461016c575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610232565b6040516100fe9190610c53565b60405180910390f35b61011a610115366004610c87565b6102c2565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a366004610caf565b6102db565b60125b60405160ff90911681526020016100fe565b610152601281565b61012e6102fe565b61012e610182366004610ce8565b6001600160a01b03165f9081526020819052604090205490565b61012e6101aa366004610ce8565b61030c565b6101b7610329565b6040516100fe9796959493929190610d01565b6100f161036b565b61011a6101e0366004610c87565b61037a565b6101f86101f3366004610d95565b610387565b005b61012e610208366004610e02565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461024190610e33565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90610e33565b80156102b85780601f1061028f576101008083540402835291602001916102b8565b820191905f5260205f20905b81548152906001019060200180831161029b57829003601f168201915b5050505050905090565b5f336102cf8185856104c2565b60019150505b92915050565b5f336102e88582856104d4565b6102f385858561054f565b506001949350505050565b5f6103076105ac565b905090565b6001600160a01b0381165f908152600760205260408120546102d5565b5f6060805f805f606061033a6106d5565b610342610702565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461024190610e33565b5f336102cf81858561054f565b834211156103b05760405163313c898160e11b8152600481018590526024015b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886103fb8c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f6104558261072f565b90505f6104648287878761075b565b9050896001600160a01b0316816001600160a01b0316146104ab576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016103a7565b6104b68a8a8a6104c2565b50505050505050505050565b6104cf8383836001610787565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610549578181101561053b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103a7565b61054984848484035f610787565b50505050565b6001600160a01b03831661057857604051634b637e8f60e11b81525f60048201526024016103a7565b6001600160a01b0382166105a15760405163ec442f0560e01b81525f60048201526024016103a7565b6104cf838383610859565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561060457507f000000000000000000000000000000000000000000000000000000000000000046145b1561062e57507f000000000000000000000000000000000000000000000000000000000000000090565b610307604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60606103077f0000000000000000000000000000000000000000000000000000000000000000600561097f565b60606103077f0000000000000000000000000000000000000000000000000000000000000000600661097f565b5f6102d561073b6105ac565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061076b88888888610a28565b92509250925061077b8282610af0565b50909695505050505050565b6001600160a01b0384166107b05760405163e602df0560e01b81525f60048201526024016103a7565b6001600160a01b0383166107d957604051634a1406b160e11b81525f60048201526024016103a7565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561054957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161084b91815260200190565b60405180910390a350505050565b6001600160a01b038316610883578060025f8282546108789190610e6b565b909155506108f39050565b6001600160a01b0383165f90815260208190526040902054818110156108d55760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103a7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661090f5760028054829003905561092d565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161097291815260200190565b60405180910390a3505050565b606060ff83146109995761099283610bac565b90506102d5565b8180546109a590610e33565b80601f01602080910402602001604051908101604052809291908181526020018280546109d190610e33565b8015610a1c5780601f106109f357610100808354040283529160200191610a1c565b820191905f5260205f20905b8154815290600101906020018083116109ff57829003601f168201915b505050505090506102d5565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610a6157505f91506003905082610ae6565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610ab2573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116610add57505f925060019150829050610ae6565b92505f91508190505b9450945094915050565b5f826003811115610b0357610b03610e8a565b03610b0c575050565b6001826003811115610b2057610b20610e8a565b03610b3e5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610b5257610b52610e8a565b03610b735760405163fce698f760e01b8152600481018290526024016103a7565b6003826003811115610b8757610b87610e8a565b03610ba8576040516335e2f38360e21b8152600481018290526024016103a7565b5050565b60605f610bb883610be9565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156102d557604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015610c3457602081850181015186830182015201610c18565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610c656020830184610c10565b9392505050565b80356001600160a01b0381168114610c82575f80fd5b919050565b5f8060408385031215610c98575f80fd5b610ca183610c6c565b946020939093013593505050565b5f805f60608486031215610cc1575f80fd5b610cca84610c6c565b9250610cd860208501610c6c565b9150604084013590509250925092565b5f60208284031215610cf8575f80fd5b610c6582610c6c565b60ff60f81b881681525f602060e081840152610d2060e084018a610c10565b8381036040850152610d32818a610c10565b606085018990526001600160a01b038816608086015260a0850187905284810360c086015285518082528387019250908301905f5b81811015610d8357835183529284019291840191600101610d67565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a031215610dab575f80fd5b610db488610c6c565b9650610dc260208901610c6c565b95506040880135945060608801359350608088013560ff81168114610de5575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610e13575f80fd5b610e1c83610c6c565b9150610e2a60208401610c6c565b90509250929050565b600181811c90821680610e4757607f821691505b602082108103610e6557634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102d557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea264697066735822122060371383ae3acaa545783b33ed0e2755b4b168e204a46ee61493f1fd0a693aa064736f6c63430008140033000000000000000000000000dae4c39a1871b168ced96b40754846430bc46eff