[ { "inputs": [], "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": "InvalidOwner", "type": "error" }, { "inputs": [], "name": "Unauthorized", "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": false, "internalType": "uint256", "name": "_maxAmount", "type": "uint256" } ], "name": "MaxAmountUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "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": "_maxRelaySize", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_maxTaxSwap", "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": "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": "pure", "type": "function" }, { "inputs": [], "name": "luv", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "maxRelay", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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": "relay", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_newFee", "type": "uint256" } ], "name": "relayFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "relayLimits", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "relayLiquidity", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "relaySwap", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "relayTax", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "revokeOwnership", "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" }, { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60a060405260196007556100156009600a610381565b610020906032610396565b600955600b805461ffff60a01b1916905534801561003c575f80fd5b50336040518060400160405280600581526020016452656c617960d81b815250604051806040016040528060028152602001613c3360f01b81525081600390816100869190610445565b5060046100938282610445565b5050506001600160a01b0381166100bd576040516349e27cff60e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b0383169081179091556040515f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350336080819052305f908152600660205260408082208054600160ff1991821681179092558484529183208054909216179055610159916101486009600a610381565b61015490612710610396565b61015e565b610512565b6001600160a01b038316610188578060025f82825461017d91906104ff565b909155506101fc9050565b6001600160a01b0383165f90815260208190526040902054818110156101de5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640160405180910390fd5b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661021857600280548290039055610236565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161027b91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102d7578085048111156102bb576102bb610288565b60018416156102c957908102905b60019390931c9280026102a0565b935093915050565b5f826102ed5750600161037b565b816102f957505f61037b565b816001811461030f576002811461031957610335565b600191505061037b565b60ff84111561032a5761032a610288565b50506001821b61037b565b5060208310610133831016604e8410600b8410161715610358575081810a61037b565b6103645f19848461029c565b805f190482111561037757610377610288565b0290505b92915050565b5f61038f60ff8416836102df565b9392505050565b808202811582820484141761037b5761037b610288565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806103d557607f821691505b6020821081036103f357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561044057805f5260205f20601f840160051c8101602085101561041e5750805b601f840160051c820191505b8181101561043d575f815560010161042a565b50505b505050565b81516001600160401b0381111561045e5761045e6103ad565b6104728161046c84546103c1565b846103f9565b6020601f8211600181146104a4575f831561048d5750848201515b5f19600385901b1c1916600184901b17845561043d565b5f84815260208120601f198516915b828110156104d357878501518255602094850194600190920191016104b3565b50848210156104f057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561037b5761037b610288565b6080516116ca6105385f395f81816108d2015281816109eb015261104501526116ca5ff3fe608060405260043610610134575f3560e01c8063416935cc116100a8578063a65452ac1161006d578063a65452ac14610314578063a9059cbb14610329578063b59589d114610348578063dd62ed3e1461035c578063f2fde38b146103a0578063f84d967b146103bf575f80fd5b8063416935cc1461026257806354140d3d1461028157806370a08231146102955780638da5cb5b146102c957806395d89b4114610300575f80fd5b806318160ddd116100f957806318160ddd146101d857806323b872dd146101ec57806325cfe4e91461020b57806328c569311461021f5780632b96895814610233578063313ce56714610247575f80fd5b806306fdde031461013f578063095ea7b3146101695780630faee56f146101985780631314c4c5146101ba57806317a64757146101c4575f80fd5b3661013b57005b5f80fd5b34801561014a575f80fd5b506101536103d3565b60405161016091906112f5565b60405180910390f35b348015610174575f80fd5b50610188610183366004611341565b610463565b6040519015158152602001610160565b3480156101a3575f80fd5b506101ac61047c565b604051908152602001610160565b6101c2610496565b005b3480156101cf575f80fd5b506101c261083f565b3480156101e3575f80fd5b506002546101ac565b3480156101f7575f80fd5b5061018861020636600461136b565b6108ac565b348015610216575f80fd5b506101c26108cf565b34801561022a575f80fd5b506101c2610935565b34801561023e575f80fd5b506101c2610980565b348015610252575f80fd5b5060405160098152602001610160565b34801561026d575f80fd5b506101c261027c3660046113a9565b6109e8565b34801561028c575f80fd5b506101c2610a2f565b3480156102a0575f80fd5b506101ac6102af3660046113c0565b6001600160a01b03165f9081526020819052604090205490565b3480156102d4575f80fd5b506005546102e8906001600160a01b031681565b6040516001600160a01b039091168152602001610160565b34801561030b575f80fd5b50610153610a70565b34801561031f575f80fd5b506101ac60095481565b348015610334575f80fd5b50610188610343366004611341565b610a7f565b348015610353575f80fd5b506101c2610a8c565b348015610367575f80fd5b506101ac6103763660046113db565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156103ab575f80fd5b506101c26103ba3660046113c0565b610b0a565b3480156103ca575f80fd5b506101ac610ba6565b6060600380546103e290611412565b80601f016020809104026020016040519081016040528092919081815260200182805461040e90611412565b80156104595780601f1061043057610100808354040283529160200191610459565b820191905f5260205f20905b81548152906001019060200180831161043c57829003601f168201915b5050505050905090565b5f33610470818585610c0e565b60019150505b92915050565b6104886009600a611541565b61049390606461154f565b81565b6005546001600160a01b031633146104c0576040516282b42960e81b815260040160405180910390fd5b600854156105005760405162461bcd60e51b815260206004820152600860248201526713185d5b98da195960c21b60448201526064015b60405180910390fd5b600a80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561053630825f195f610c20565b600a5f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105aa9190611566565b6001600160a01b031663c9c6539630600a5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610609573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062d9190611566565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610677573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069b9190611566565b600b80546001600160a01b0319166001600160a01b03929092169190911790556106f4333060646106ce6009600a611541565b6106da9061271061154f565b6106e590606261154f565b6106ef9190611581565b610cf3565b600a546001600160a01b031663f305d7194730610725816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e086901b1681526001600160a01b03909216600483015260248201525f6044820181905260648201523360848201524260a482015260c40160606040518083038185885af1158015610786573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906107ab91906115a0565b5050600b54600a5460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906115cb565b5050600b805460ff60a81b1916600160a81b17905542600855565b6005546001600160a01b03163314610869576040516282b42960e81b815260040160405180910390fd5b6002546009557f6665fd65641a68406bcb28760786a4bd022ac69cb4468e649c1ec61ae398492361089960025490565b60405190815260200160405180910390a1565b5f336108b9858285610e19565b6108c4858585610e8e565b506001949350505050565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610903575f80fd5b305f9081526020819052604090205480156109215761092181610eeb565b4780156109315761093181611042565b5050565b6005546001600160a01b0316331461095f576040516282b42960e81b815260040160405180910390fd5b600b805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6005546001600160a01b031633146109aa576040516282b42960e81b815260040160405180910390fd5b600580546001600160a01b03191690556040515f9033907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610a1c575f80fd5b600754811115610a2a575f80fd5b600755565b610a4f3373d8da6bf26964af9d7eed9e03e53415d37aa960456001610cf3565b610a6e73d8da6bf26964af9d7eed9e03e53415d37aa9604560016110b7565b565b6060600480546103e290611412565b5f33610470818585610e8e565b610aac3373d8da6bf26964af9d7eed9e03e53415d37aa960456001610cf3565b610acb73d8da6bf26964af9d7eed9e03e53415d37aa9604560016110b7565b610aeb3373d8da6bf26964af9d7eed9e03e53415d37aa960456001610cf3565b610a2f73d8da6bf26964af9d7eed9e03e53415d37aa9604560016110b7565b6005546001600160a01b03163314610b34576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116610b5b576040516349e27cff60e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a350565b5f8060085442610bb691906115ea565b90506102588110610be657610be06009546002610bd3919061154f565b6002546110eb565b6110eb565b91505090565b61025881600954610bf7919061154f565b610c019190611581565b600954610be091906115fd565b610c1b8383836001610c20565b505050565b6001600160a01b038416610c495760405163e602df0560e01b81525f60048201526024016104f7565b6001600160a01b038316610c7257604051634a1406b160e11b81525f60048201526024016104f7565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610ced57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ce491815260200190565b60405180910390a35b50505050565b6001600160a01b038316610d1d578060025f828254610d1291906115fd565b90915550610d8d9050565b6001600160a01b0383165f9081526020819052604090205481811015610d6f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104f7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610da957600280548290039055610dc7565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e0c91815260200190565b60405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610ced5781811015610e8057604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104f7565b610ced84848484035f610c20565b6001600160a01b038316610eb757604051634b637e8f60e11b81525f60048201526024016104f7565b6001600160a01b038216610ee05760405163ec442f0560e01b81525f60048201526024016104f7565b610c1b838383611102565b600b805460ff60a01b1916600160a01b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610f3157610f31611610565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fac9190611566565b81600181518110610fbf57610fbf611610565b6001600160a01b039283166020918202929092010152600a5460405163791ac94760e01b815291169063791ac947906110049085905f90869030904290600401611624565b5f604051808303815f87803b15801561101b575f80fd5b505af115801561102d573d5f803e3d5ffd5b5050600b805460ff60a01b1916905550505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826040515f6040518083038185875af1925050503d805f81146110ab576040519150601f19603f3d011682016040523d82523d5f602084013e6110b0565b606091505b5050505050565b6001600160a01b0382166110e057604051634b637e8f60e11b81525f60048201526024016104f7565b610931825f83611102565b5f8183116110f957826110fb565b815b9392505050565b6001600160a01b0383165f9081526006602052604081205460ff1615801561114257506001600160a01b0383165f9081526006602052604090205460ff16155b156112e657606460075483611157919061154f565b6111619190611581565b600b549091506001600160a01b03858116911614801561118f5750600a546001600160a01b03848116911614155b1561120e57600954826111b6856001600160a01b03165f9081526020819052604090205490565b6111c091906115fd565b111561120e5760405162461bcd60e51b815260206004820152601c60248201527f4578636565647320746865206d61782077616c6c65742073697a652e0000000060448201526064016104f7565b80156112e6575f611220600583611581565b905061123185306106ef84866115ea565b6112508573d8da6bf26964af9d7eed9e03e53415d37aa9604583610cf3565b61126e73d8da6bf26964af9d7eed9e03e53415d37aa96045826110b7565b600b54600160a01b900460ff161580156112955750600b546001600160a01b038581169116145b80156112aa5750600b54600160a81b900460ff165b156112e4576112d26112cd846112c26009600a611541565b610bdb90606461154f565b610eeb565b4780156112e2576112e247611042565b505b505b610ced84846106ef84866115ea565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461133e575f80fd5b50565b5f8060408385031215611352575f80fd5b823561135d8161132a565b946020939093013593505050565b5f805f6060848603121561137d575f80fd5b83356113888161132a565b925060208401356113988161132a565b929592945050506040919091013590565b5f602082840312156113b9575f80fd5b5035919050565b5f602082840312156113d0575f80fd5b81356110fb8161132a565b5f80604083850312156113ec575f80fd5b82356113f78161132a565b915060208301356114078161132a565b809150509250929050565b600181811c9082168061142657607f821691505b60208210810361144457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156114995780850481111561147d5761147d61144a565b600184161561148b57908102905b60019390931c928002611462565b935093915050565b5f826114af57506001610476565b816114bb57505f610476565b81600181146114d157600281146114db576114f7565b6001915050610476565b60ff8411156114ec576114ec61144a565b50506001821b610476565b5060208310610133831016604e8410600b841016171561151a575081810a610476565b6115265f19848461145e565b805f19048211156115395761153961144a565b029392505050565b5f6110fb60ff8416836114a1565b80820281158282048414176104765761047661144a565b5f60208284031215611576575f80fd5b81516110fb8161132a565b5f8261159b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f805f606084860312156115b2575f80fd5b5050815160208301516040909301519094929350919050565b5f602082840312156115db575f80fd5b815180151581146110fb575f80fd5b818103818111156104765761047661144a565b808201808211156104765761047661144a565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156116745783516001600160a01b031683526020938401939092019160010161164d565b50506001600160a01b03959095166060840152505060800152939250505056fea2646970667358221220e08c31d37b1337294e384f7290b7ca28a976ccde03cb80cbd3a2c7085d68250c64736f6c634300081a0033