testing

package
v0.0.0-...-bef9688 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsumeGasABI = ConsumeGasMetaData.ABI

ConsumeGasABI is the input ABI used to generate the binding from. Deprecated: Use ConsumeGasMetaData.ABI instead.

View Source
var ConsumeGasBin = ConsumeGasMetaData.Bin

ConsumeGasBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ConsumeGasMetaData.Bin instead.

View Source
var ConsumeGasMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasUsed\",\"type\":\"uint256\"}],\"name\":\"GasConsumed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"targetGas\",\"type\":\"uint256\"}],\"name\":\"consumeGas\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561000f575f80fd5b506101cb8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063a329e8de1461002d575b5f80fd5b610047600480360381019061004291906100e2565b610049565b005b5f5a90505b818161005a919061013a565b5a1161004e575f5a8261006d919061013a565b90507f1a2dc18f5a2dabdf3809a83ec652290b81d97d915bf5561908090bad91deffc48160405161009e919061017c565b60405180910390a1505050565b5f80fd5b5f819050919050565b6100c1816100af565b81146100cb575f80fd5b50565b5f813590506100dc816100b8565b92915050565b5f602082840312156100f7576100f66100ab565b5b5f610104848285016100ce565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610144826100af565b915061014f836100af565b92508282039050818111156101675761016661010d565b5b92915050565b610176816100af565b82525050565b5f60208201905061018f5f83018461016d565b9291505056fea2646970667358221220f67b1e2080000da4e4637ebf3b18ed0fa5d02e2459d6918bb1b71f03b7dc3c5764736f6c63430008140033",
}

ConsumeGasMetaData contains all meta data concerning the ConsumeGas contract.

View Source
var DistributionWrapperABI = DistributionWrapperMetaData.ABI

DistributionWrapperABI is the input ABI used to generate the binding from. Deprecated: Use DistributionWrapperMetaData.ABI instead.

View Source
var DistributionWrapperBin = DistributionWrapperMetaData.Bin

DistributionWrapperBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DistributionWrapperMetaData.Bin instead.

View Source
var DistributionWrapperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_distributionprecompile\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakingprecompile\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validator\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distribution\",\"outputs\":[{\"internalType\":\"contractIDistributionModule\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_withdrawAddress\",\"type\":\"address\"}],\"name\":\"setWithdrawAddress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contractIStakingModule\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegatorAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_validatorAddress\",\"type\":\"address\"}],\"name\":\"withdrawRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561000f575f80fd5b50604051610bf8380380610bf8833981810160405281019061003191906101b2565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614801561009757505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b156100ce576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101f0565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61018182610158565b9050919050565b61019181610177565b811461019b575f80fd5b50565b5f815190506101ac81610188565b92915050565b5f80604083850312156101c8576101c7610154565b5b5f6101d58582860161019e565b92505060206101e68582860161019e565b9150509250929050565b6109fb806101fd5f395ff3fe608060405260043610610054575f3560e01c806339cc4c86146100585780633ab1a494146100825780634cf088d9146100be5780635c19a95c146100e85780635ee58efc14610104578063e20981ca1461012e575b5f80fd5b348015610063575f80fd5b5061006c610156565b604051610079919061042e565b60405180910390f35b34801561008d575f80fd5b506100a860048036038101906100a391906104b2565b6101e9565b6040516100b5919061042e565b60405180910390f35b3480156100c9575f80fd5b506100d261028a565b6040516100df9190610538565b60405180910390f35b61010260048036038101906100fd91906104b2565b6102af565b005b34801561010f575f80fd5b5061011861034f565b6040516101259190610571565b60405180910390f35b348015610139575f80fd5b50610154600480360381019061014f919061058a565b610372565b005b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339cc4c866040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101e491906105f2565b905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ab1a494836040518263ffffffff1660e01b8152600401610243919061062c565b6020604051808303815f875af115801561025f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028391906105f2565b9050919050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663026e402b82346040518363ffffffff1660e01b815260040161030b92919061065d565b6020604051808303815f875af1158015610327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061034b91906105f2565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663562c67a483836040518363ffffffff1660e01b81526004016103cc929190610684565b5f604051808303815f875af11580156103e7573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f8201168201806040525081019061040f919061097e565b505050565b5f8115159050919050565b61042881610414565b82525050565b5f6020820190506104415f83018461041f565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61048182610458565b9050919050565b61049181610477565b811461049b575f80fd5b50565b5f813590506104ac81610488565b92915050565b5f602082840312156104c7576104c6610450565b5b5f6104d48482850161049e565b91505092915050565b5f819050919050565b5f6105006104fb6104f684610458565b6104dd565b610458565b9050919050565b5f610511826104e6565b9050919050565b5f61052282610507565b9050919050565b61053281610518565b82525050565b5f60208201905061054b5f830184610529565b92915050565b5f61055b82610507565b9050919050565b61056b81610551565b82525050565b5f6020820190506105845f830184610562565b92915050565b5f80604083850312156105a05761059f610450565b5b5f6105ad8582860161049e565b92505060206105be8582860161049e565b9150509250929050565b6105d181610414565b81146105db575f80fd5b50565b5f815190506105ec816105c8565b92915050565b5f6020828403121561060757610606610450565b5b5f610614848285016105de565b91505092915050565b61062681610477565b82525050565b5f60208201905061063f5f83018461061d565b92915050565b5f819050919050565b61065781610645565b82525050565b5f6040820190506106705f83018561061d565b61067d602083018461064e565b9392505050565b5f6040820190506106975f83018561061d565b6106a4602083018461061d565b9392505050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6106f5826106af565b810181811067ffffffffffffffff82111715610714576107136106bf565b5b80604052505050565b5f610726610447565b905061073282826106ec565b919050565b5f67ffffffffffffffff821115610751576107506106bf565b5b602082029050602081019050919050565b5f80fd5b5f80fd5b5f80fd5b61077781610645565b8114610781575f80fd5b50565b5f815190506107928161076e565b92915050565b5f80fd5b5f67ffffffffffffffff8211156107b6576107b56106bf565b5b6107bf826106af565b9050602081019050919050565b5f5b838110156107e95780820151818401526020810190506107ce565b5f8484015250505050565b5f6108066108018461079c565b61071d565b90508281526020810184848401111561082257610821610798565b5b61082d8482856107cc565b509392505050565b5f82601f830112610849576108486106ab565b5b81516108598482602086016107f4565b91505092915050565b5f6040828403121561087757610876610766565b5b610881604061071d565b90505f61089084828501610784565b5f83015250602082015167ffffffffffffffff8111156108b3576108b261076a565b5b6108bf84828501610835565b60208301525092915050565b5f6108dd6108d884610737565b61071d565b90508083825260208201905060208402830185811115610900576108ff610762565b5b835b8181101561094757805167ffffffffffffffff811115610925576109246106ab565b5b8086016109328982610862565b85526020850194505050602081019050610902565b5050509392505050565b5f82601f830112610965576109646106ab565b5b81516109758482602086016108cb565b91505092915050565b5f6020828403121561099357610992610450565b5b5f82015167ffffffffffffffff8111156109b0576109af610454565b5b6109bc84828501610951565b9150509291505056fea264697066735822122019128271e776dfd67099e2fad5e2fd4f1e98e5dca56a003f39ccf8614a94384764736f6c63430008140033",
}

DistributionWrapperMetaData contains all meta data concerning the DistributionWrapper contract.

View Source
var LiquidStakingABI = LiquidStakingMetaData.ABI

LiquidStakingABI is the input ABI used to generate the binding from. Deprecated: Use LiquidStakingMetaData.ABI instead.

View Source
var LiquidStakingBin = LiquidStakingMetaData.Bin

LiquidStakingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LiquidStakingMetaData.Bin instead.

View Source
var LiquidStakingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAmount\",\"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\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Data\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"name\":\"Success\",\"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\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"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\":\"\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveValidators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"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\":\"staking\",\"outputs\":[{\"internalType\":\"contractIStakingModule\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"name\":\"totalDelegated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x61010060405273d9a998cac66092748ffec7cfbd155aae1737c2ff73ffffffffffffffffffffffffffffffffffffffff1660e09073ffffffffffffffffffffffffffffffffffffffff1681525034801562000058575f80fd5b50604051620028583803806200285883398181016040528101906200007e9190620002f0565b81816012825f9081620000929190620005aa565b508160019081620000a49190620005aa565b508060ff1660808160ff16815250504660a08181525050620000cb620000dd60201b60201c565b60c08181525050505050505062000817565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f6040516200010f919062000736565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6463060405160200162000150959493929190620007bc565b60405160208183030381529060405280519060200120905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620001cc8262000184565b810181811067ffffffffffffffff82111715620001ee57620001ed62000194565b5b80604052505050565b5f620002026200016b565b9050620002108282620001c1565b919050565b5f67ffffffffffffffff82111562000232576200023162000194565b5b6200023d8262000184565b9050602081019050919050565b5f5b83811015620002695780820151818401526020810190506200024c565b5f8484015250505050565b5f6200028a620002848462000215565b620001f7565b905082815260208101848484011115620002a957620002a862000180565b5b620002b68482856200024a565b509392505050565b5f82601f830112620002d557620002d46200017c565b5b8151620002e784826020860162000274565b91505092915050565b5f806040838503121562000309576200030862000174565b5b5f83015167ffffffffffffffff81111562000329576200032862000178565b5b6200033785828601620002be565b925050602083015167ffffffffffffffff8111156200035b576200035a62000178565b5b6200036985828601620002be565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620003c257607f821691505b602082108103620003d857620003d76200037d565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200043c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003ff565b620004488683620003ff565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620004926200048c620004868462000460565b62000469565b62000460565b9050919050565b5f819050919050565b620004ad8362000472565b620004c5620004bc8262000499565b8484546200040b565b825550505050565b5f90565b620004db620004cd565b620004e8818484620004a2565b505050565b5b818110156200050f57620005035f82620004d1565b600181019050620004ee565b5050565b601f8211156200055e576200052881620003de565b6200053384620003f0565b8101602085101562000543578190505b6200055b6200055285620003f0565b830182620004ed565b50505b505050565b5f82821c905092915050565b5f620005805f198460080262000563565b1980831691505092915050565b5f6200059a83836200056f565b9150826002028217905092915050565b620005b58262000373565b67ffffffffffffffff811115620005d157620005d062000194565b5b620005dd8254620003aa565b620005ea82828562000513565b5f60209050601f83116001811462000620575f84156200060b578287015190505b6200061785826200058d565b86555062000686565b601f1984166200063086620003de565b5f5b82811015620006595784890151825560018201915060208501945060208101905062000632565b8683101562000679578489015162000675601f8916826200056f565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154620006b881620003aa565b620006c481866200068e565b9450600182165f8114620006e15760018114620006f7576200072d565b60ff19831686528115158202860193506200072d565b620007028562000698565b5f5b83811015620007255781548189015260018201915060208101905062000704565b838801955050505b50505092915050565b5f620007438284620006aa565b915081905092915050565b5f819050919050565b62000762816200074e565b82525050565b620007738162000460565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620007a48262000779565b9050919050565b620007b68162000798565b82525050565b5f60a082019050620007d15f83018862000757565b620007e0602083018762000757565b620007ef604083018662000757565b620007fe606083018562000768565b6200080d6080830184620007ab565b9695505050505050565b60805160a05160c05160e051611ff1620008675f395f8181610907015281816109e301528181610ab201528181610b5f015261106601525f6108e001525f6108ac01525f6108870152611ff15ff3fe608060405260043610610101575f3560e01c806370a08231116100945780639fa6dd35116100635780639fa6dd351461034a578063a9059cbb14610366578063d505accf146103a2578063dd62ed3e146103ca578063f639187e1461040657610108565b806370a082311461027e5780637ecebe00146102ba57806395d89b41146102f65780639de702581461032057610108565b80632e1a7d4d116100d05780632e1a7d4d146101d8578063313ce567146102005780633644e5151461022a5780634cf088d91461025457610108565b806306fdde031461010c578063095ea7b31461013657806318160ddd1461017257806323b872dd1461019c57610108565b3661010857005b5f80fd5b348015610117575f80fd5b50610120610442565b60405161012d91906113af565b60405180910390f35b348015610141575f80fd5b5061015c6004803603810190610157919061146d565b6104cd565b60405161016991906114c5565b60405180910390f35b34801561017d575f80fd5b506101866105ba565b60405161019391906114ed565b60405180910390f35b3480156101a7575f80fd5b506101c260048036038101906101bd9190611506565b6105c0565b6040516101cf91906114c5565b60405180910390f35b3480156101e3575f80fd5b506101fe60048036038101906101f99190611556565b6107fb565b005b34801561020b575f80fd5b50610214610885565b604051610221919061159c565b60405180910390f35b348015610235575f80fd5b5061023e6108a9565b60405161024b91906115cd565b60405180910390f35b34801561025f575f80fd5b50610268610905565b6040516102759190611641565b60405180910390f35b348015610289575f80fd5b506102a4600480360381019061029f919061165a565b610929565b6040516102b191906114ed565b60405180910390f35b3480156102c5575f80fd5b506102e060048036038101906102db919061165a565b61093e565b6040516102ed91906114ed565b60405180910390f35b348015610301575f80fd5b5061030a610953565b60405161031791906113af565b60405180910390f35b34801561032b575f80fd5b506103346109df565b604051610341919061173c565b60405180910390f35b610364600480360381019061035f9190611556565b610a76565b005b348015610371575f80fd5b5061038c6004803603810190610387919061146d565b610c49565b60405161039991906114c5565b60405180910390f35b3480156103ad575f80fd5b506103c860048036038101906103c391906117b0565b610d56565b005b3480156103d5575f80fd5b506103f060048036038101906103eb919061184d565b611043565b6040516103fd91906114ed565b60405180910390f35b348015610411575f80fd5b5061042c6004803603810190610427919061165a565b611063565b60405161043991906114ed565b60405180910390f35b5f805461044e906118b8565b80601f016020809104026020016040519081016040528092919081815260200182805461047a906118b8565b80156104c55780601f1061049c576101008083540402835291602001916104c5565b820191905f5260205f20905b8154815290600101906020018083116104a857829003601f168201915b505050505081565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105a891906114ed565b60405180910390a36001905092915050565b60025481565b5f8060045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106ed5782816106709190611915565b60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8260035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546107399190611915565b925050819055508260035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516107e791906114ed565b60405180910390a360019150509392505050565b5f8103610834576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61083e3382611105565b3373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610881573d5f803e3d5ffd5b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f7f000000000000000000000000000000000000000000000000000000000000000046146108de576108d96111d0565b610900565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6003602052805f5260405f205f915090505481565b6005602052805f5260405f205f915090505481565b60018054610960906118b8565b80601f016020809104026020016040519081016040528092919081815260200182805461098c906118b8565b80156109d75780601f106109ae576101008083540402835291602001916109d7565b820191905f5260205f20905b8154815290600101906020018083116109ba57829003601f168201915b505050505081565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639de702586040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a49573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190610a719190611a9c565b905090565b5f8103610aaf576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639de702586040518163ffffffff1660e01b81526004015f60405180830381865afa158015610b18573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190610b409190611a9c565b5f81518110610b5257610b51611ae3565b5b602002602001015190505f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663026e402b83856040518363ffffffff1660e01b8152600401610bb8929190611b1f565b6020604051808303815f875af1158015610bd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf89190611b70565b905080610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3190611be5565b60405180910390fd5b610c44338461125a565b505050565b5f8160035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610c969190611915565b925050819055508160035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4491906114ed565b60405180910390a36001905092915050565b42841015610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9090611c4d565b60405180910390fd5b5f6001610da46108a9565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98a8a8a60055f8f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050558b604051602001610e2996959493929190611c6b565b60405160208183030381529060405280519060200120604051602001610e50929190611d3e565b604051602081830303815290604052805190602001208585856040515f8152602001604052604051610e859493929190611d74565b6020604051602081039080840390855afa158015610ea5573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610f1857508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90611e01565b60405180910390fd5b8560045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161103291906114ed565b60405180910390a350505050505050565b6004602052815f5260405f20602052805f5260405f205f91509150505481565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166315049a5a30846040518363ffffffff1660e01b81526004016110bf929190611e1f565b602060405180830381865afa1580156110da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fe9190611e5a565b9050919050565b8060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546111519190611915565b925050819055508060025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516111c491906114ed565b60405180910390a35050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f6040516112009190611f21565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6463060405160200161123f959493929190611f37565b60405160208183030381529060405280519060200120905090565b8060025f82825461126b9190611f88565b925050819055508060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161131991906114ed565b60405180910390a35050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561135c578082015181840152602081019050611341565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61138182611325565b61138b818561132f565b935061139b81856020860161133f565b6113a481611367565b840191505092915050565b5f6020820190508181035f8301526113c78184611377565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611409826113e0565b9050919050565b611419816113ff565b8114611423575f80fd5b50565b5f8135905061143481611410565b92915050565b5f819050919050565b61144c8161143a565b8114611456575f80fd5b50565b5f8135905061146781611443565b92915050565b5f8060408385031215611483576114826113d8565b5b5f61149085828601611426565b92505060206114a185828601611459565b9150509250929050565b5f8115159050919050565b6114bf816114ab565b82525050565b5f6020820190506114d85f8301846114b6565b92915050565b6114e78161143a565b82525050565b5f6020820190506115005f8301846114de565b92915050565b5f805f6060848603121561151d5761151c6113d8565b5b5f61152a86828701611426565b935050602061153b86828701611426565b925050604061154c86828701611459565b9150509250925092565b5f6020828403121561156b5761156a6113d8565b5b5f61157884828501611459565b91505092915050565b5f60ff82169050919050565b61159681611581565b82525050565b5f6020820190506115af5f83018461158d565b92915050565b5f819050919050565b6115c7816115b5565b82525050565b5f6020820190506115e05f8301846115be565b92915050565b5f819050919050565b5f6116096116046115ff846113e0565b6115e6565b6113e0565b9050919050565b5f61161a826115ef565b9050919050565b5f61162b82611610565b9050919050565b61163b81611621565b82525050565b5f6020820190506116545f830184611632565b92915050565b5f6020828403121561166f5761166e6113d8565b5b5f61167c84828501611426565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6116b7816113ff565b82525050565b5f6116c883836116ae565b60208301905092915050565b5f602082019050919050565b5f6116ea82611685565b6116f4818561168f565b93506116ff8361169f565b805f5b8381101561172f57815161171688826116bd565b9750611721836116d4565b925050600181019050611702565b5085935050505092915050565b5f6020820190508181035f83015261175481846116e0565b905092915050565b61176581611581565b811461176f575f80fd5b50565b5f813590506117808161175c565b92915050565b61178f816115b5565b8114611799575f80fd5b50565b5f813590506117aa81611786565b92915050565b5f805f805f805f60e0888a0312156117cb576117ca6113d8565b5b5f6117d88a828b01611426565b97505060206117e98a828b01611426565b96505060406117fa8a828b01611459565b955050606061180b8a828b01611459565b945050608061181c8a828b01611772565b93505060a061182d8a828b0161179c565b92505060c061183e8a828b0161179c565b91505092959891949750929550565b5f8060408385031215611863576118626113d8565b5b5f61187085828601611426565b925050602061188185828601611426565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806118cf57607f821691505b6020821081036118e2576118e161188b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61191f8261143a565b915061192a8361143a565b9250828203905081811115611942576119416118e8565b5b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61198282611367565b810181811067ffffffffffffffff821117156119a1576119a061194c565b5b80604052505050565b5f6119b36113cf565b90506119bf8282611979565b919050565b5f67ffffffffffffffff8211156119de576119dd61194c565b5b602082029050602081019050919050565b5f80fd5b5f81519050611a0181611410565b92915050565b5f611a19611a14846119c4565b6119aa565b90508083825260208201905060208402830185811115611a3c57611a3b6119ef565b5b835b81811015611a655780611a5188826119f3565b845260208401935050602081019050611a3e565b5050509392505050565b5f82601f830112611a8357611a82611948565b5b8151611a93848260208601611a07565b91505092915050565b5f60208284031215611ab157611ab06113d8565b5b5f82015167ffffffffffffffff811115611ace57611acd6113dc565b5b611ada84828501611a6f565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b611b19816113ff565b82525050565b5f604082019050611b325f830185611b10565b611b3f60208301846114de565b9392505050565b611b4f816114ab565b8114611b59575f80fd5b50565b5f81519050611b6a81611b46565b92915050565b5f60208284031215611b8557611b846113d8565b5b5f611b9284828501611b5c565b91505092915050565b7f4661696c656420746f2064656c656761746500000000000000000000000000005f82015250565b5f611bcf60128361132f565b9150611bda82611b9b565b602082019050919050565b5f6020820190508181035f830152611bfc81611bc3565b9050919050565b7f5045524d49545f444541444c494e455f455850495245440000000000000000005f82015250565b5f611c3760178361132f565b9150611c4282611c03565b602082019050919050565b5f6020820190508181035f830152611c6481611c2b565b9050919050565b5f60c082019050611c7e5f8301896115be565b611c8b6020830188611b10565b611c986040830187611b10565b611ca560608301866114de565b611cb260808301856114de565b611cbf60a08301846114de565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f611d08600283611cca565b9150611d1382611cd4565b600282019050919050565b5f819050919050565b611d38611d33826115b5565b611d1e565b82525050565b5f611d4882611cfc565b9150611d548285611d27565b602082019150611d648284611d27565b6020820191508190509392505050565b5f608082019050611d875f8301876115be565b611d94602083018661158d565b611da160408301856115be565b611dae60608301846115be565b95945050505050565b7f494e56414c49445f5349474e45520000000000000000000000000000000000005f82015250565b5f611deb600e8361132f565b9150611df682611db7565b602082019050919050565b5f6020820190508181035f830152611e1881611ddf565b9050919050565b5f604082019050611e325f830185611b10565b611e3f6020830184611b10565b9392505050565b5f81519050611e5481611443565b92915050565b5f60208284031215611e6f57611e6e6113d8565b5b5f611e7c84828501611e46565b91505092915050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154611ead816118b8565b611eb78186611e85565b9450600182165f8114611ed15760018114611ee657611f18565b60ff1983168652811515820286019350611f18565b611eef85611e8f565b5f5b83811015611f1057815481890152600182019150602081019050611ef1565b838801955050505b50505092915050565b5f611f2c8284611ea1565b915081905092915050565b5f60a082019050611f4a5f8301886115be565b611f5760208301876115be565b611f6460408301866115be565b611f7160608301856114de565b611f7e6080830184611b10565b9695505050505050565b5f611f928261143a565b9150611f9d8361143a565b9250828201905080821115611fb557611fb46118e8565b5b9291505056fea26469706673582212200c69887876c1813308e0f77639c4071ba31b0e71da2e1b18f799606ec53df6a764736f6c63430008140033",
}

LiquidStakingMetaData contains all meta data concerning the LiquidStaking contract.

View Source
var MockPrecompileABI = MockPrecompileMetaData.ABI

MockPrecompileABI is the input ABI used to generate the binding from. Deprecated: Use MockPrecompileMetaData.ABI instead.

View Source
var MockPrecompileMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"contractFunc\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ans\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"contractFuncStr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"getOutput\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"creationHeight\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"timeStamp\",\"type\":\"string\"}],\"internalType\":\"structMockPrecompileInterface.Object[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOutputPartial\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"creationHeight\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"timeStamp\",\"type\":\"string\"}],\"internalType\":\"structMockPrecompileInterface.Object\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MockPrecompileMetaData contains all meta data concerning the MockPrecompile contract.

View Source
var PrecompileConstructorABI = PrecompileConstructorMetaData.ABI

PrecompileConstructorABI is the input ABI used to generate the binding from. Deprecated: Use PrecompileConstructorMetaData.ABI instead.

View Source
var PrecompileConstructorBin = PrecompileConstructorMetaData.Bin

PrecompileConstructorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PrecompileConstructorMetaData.Bin instead.

View Source
var PrecompileConstructorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"abera\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"denom\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"erc20Module\",\"outputs\":[{\"internalType\":\"contractIERC20Module\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a06040526269696973ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801562000046575f80fd5b505f60805173ffffffffffffffffffffffffffffffffffffffff1663096b4069333363075bcd156040518463ffffffff1660e01b81526004016200008d9392919062000416565b6020604051808303815f875af1158015620000aa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620000d09190620004b1565b90508062000115576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010c906200052f565b60405180910390fd5b60805173ffffffffffffffffffffffffffffffffffffffff1663a333e57c6040518163ffffffff1660e01b815260040162000150906200054f565b602060405180830381865afa1580156200016c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001929190620005b1565b5f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060805173ffffffffffffffffffffffffffffffffffffffff1663cd22a0185f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016200022c91906200063f565b5f60405180830381865afa15801562000247573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190620002719190620007ce565b6001908162000281919062000a42565b506040518060400160405280600581526020017f6162657261000000000000000000000000000000000000000000000000000000815250805190602001206001604051620002d0919062000bce565b6040518091039020146200031b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003129062000c34565b60405180910390fd5b5062000c54565b5f82825260208201905092915050565b7f61626572610000000000000000000000000000000000000000000000000000005f82015250565b5f6200036860058362000322565b9150620003758262000332565b602082019050919050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620003ab8262000380565b9050919050565b620003bd816200039f565b82525050565b5f819050919050565b5f819050919050565b5f819050919050565b5f620003fe620003f8620003f284620003c3565b620003d5565b620003cc565b9050919050565b6200041081620003de565b82525050565b5f6080820190508181035f8301526200042f816200035a565b9050620004406020830186620003b2565b6200044f6040830185620003b2565b6200045e606083018462000405565b949350505050565b5f604051905090565b5f80fd5b5f80fd5b5f8115159050919050565b6200048d8162000477565b811462000498575f80fd5b50565b5f81519050620004ab8162000482565b92915050565b5f60208284031215620004c957620004c86200046f565b5b5f620004d8848285016200049b565b91505092915050565b7f6661696c656420746f207472616e7366657220616265726100000000000000005f82015250565b5f6200051760188362000322565b91506200052482620004e1565b602082019050919050565b5f6020820190508181035f830152620005488162000509565b9050919050565b5f6020820190508181035f83015262000568816200035a565b9050919050565b5f6200057b826200039f565b9050919050565b6200058d816200056f565b811462000598575f80fd5b50565b5f81519050620005ab8162000582565b92915050565b5f60208284031215620005c957620005c86200046f565b5b5f620005d8848285016200059b565b91505092915050565b5f62000601620005fb620005f58462000380565b620003d5565b62000380565b9050919050565b5f6200061482620005e1565b9050919050565b5f620006278262000608565b9050919050565b62000639816200061b565b82525050565b5f602082019050620006545f8301846200062e565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620006aa8262000662565b810181811067ffffffffffffffff82111715620006cc57620006cb62000672565b5b80604052505050565b5f620006e062000466565b9050620006ee82826200069f565b919050565b5f67ffffffffffffffff82111562000710576200070f62000672565b5b6200071b8262000662565b9050602081019050919050565b5f5b83811015620007475780820151818401526020810190506200072a565b5f8484015250505050565b5f620007686200076284620006f3565b620006d5565b9050828152602081018484840111156200078757620007866200065e565b5b6200079484828562000728565b509392505050565b5f82601f830112620007b357620007b26200065a565b5b8151620007c584826020860162000752565b91505092915050565b5f60208284031215620007e657620007e56200046f565b5b5f82015167ffffffffffffffff81111562000806576200080562000473565b5b62000814848285016200079c565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200086c57607f821691505b60208210810362000882576200088162000827565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620008e67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620008a9565b620008f28683620008a9565b95508019841693508086168417925050509392505050565b5f6200092a620009246200091e84620003cc565b620003d5565b620003cc565b9050919050565b5f819050919050565b62000945836200090a565b6200095d620009548262000931565b848454620008b5565b825550505050565b5f90565b6200097362000965565b620009808184846200093a565b505050565b5b81811015620009a7576200099b5f8262000969565b60018101905062000986565b5050565b601f821115620009f657620009c08162000888565b620009cb846200089a565b81016020851015620009db578190505b620009f3620009ea856200089a565b83018262000985565b50505b505050565b5f82821c905092915050565b5f62000a185f1984600802620009fb565b1980831691505092915050565b5f62000a32838362000a07565b9150826002028217905092915050565b62000a4d826200081d565b67ffffffffffffffff81111562000a695762000a6862000672565b5b62000a75825462000854565b62000a82828285620009ab565b5f60209050601f83116001811462000ab8575f841562000aa3578287015190505b62000aaf858262000a25565b86555062000b1e565b601f19841662000ac88662000888565b5f5b8281101562000af15784890151825560018201915060208501945060208101905062000aca565b8683101562000b11578489015162000b0d601f89168262000a07565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f815462000b508162000854565b62000b5c818662000b26565b9450600182165f811462000b79576001811462000b8f5762000bc5565b60ff198316865281151582028601935062000bc5565b62000b9a8562000b30565b5f5b8381101562000bbd5781548189015260018201915060208101905062000b9c565b838801955050505b50505092915050565b5f62000bdb828462000b42565b915081905092915050565b7f72657475726e6564207468652077726f6e672064656e6f6d00000000000000005f82015250565b5f62000c1c60188362000322565b915062000c298262000be6565b602082019050919050565b5f6020820190508181035f83015262000c4d8162000c0e565b9050919050565b60805161037962000c6c5f395f60c201526103795ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c8063558f208414610043578063714ba40c14610061578063c370b0421461007f575b5f80fd5b61004b61009d565b60405161005891906101ea565b60405180910390f35b6100696100c0565b6040516100769190610223565b60405180910390f35b6100876100e4565b60405161009491906102c6565b60405180910390f35b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b600180546100f190610313565b80601f016020809104026020016040519081016040528092919081815260200182805461011d90610313565b80156101685780601f1061013f57610100808354040283529160200191610168565b820191905f5260205f20905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6101b26101ad6101a884610170565b61018f565b610170565b9050919050565b5f6101c382610198565b9050919050565b5f6101d4826101b9565b9050919050565b6101e4816101ca565b82525050565b5f6020820190506101fd5f8301846101db565b92915050565b5f61020d826101b9565b9050919050565b61021d81610203565b82525050565b5f6020820190506102365f830184610214565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610273578082015181840152602081019050610258565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6102988261023c565b6102a28185610246565b93506102b2818560208601610256565b6102bb8161027e565b840191505092915050565b5f6020820190508181035f8301526102de818461028e565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061032a57607f821691505b60208210810361033d5761033c6102e6565b5b5091905056fea26469706673582212200fc124bbf57f2ce34e97605f04ee8ac8201365fc555519c02d098b2e13571a9a64736f6c63430008140033",
}

PrecompileConstructorMetaData contains all meta data concerning the PrecompileConstructor contract.

View Source
var SolmateERC20ABI = SolmateERC20MetaData.ABI

SolmateERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SolmateERC20MetaData.ABI instead.

View Source
var SolmateERC20Bin = SolmateERC20MetaData.Bin

SolmateERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SolmateERC20MetaData.Bin instead.

View Source
var SolmateERC20MetaData = &bind.MetaData{
	ABI: "[{\"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\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"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\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"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\":\"\",\"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\":[{\"internalType\":\"address\",\"name\":\"to\",\"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\":\"address\",\"name\":\"\",\"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\":\"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\"}]",
	Bin: "0x60e060405234801562000010575f80fd5b506040518060400160405280600581526020017f546f6b656e0000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f544b0000000000000000000000000000000000000000000000000000000000008152506012825f90816200008f9190620003ca565b508160019081620000a19190620003ca565b508060ff1660808160ff16815250504660a08181525050620000c8620000d860201b60201c565b60c0818152505050505062000637565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f6040516200010a919062000556565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016200014b959493929190620005dc565b60405160208183030381529060405280519060200120905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620001e257607f821691505b602082108103620001f857620001f76200019d565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200025c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200021f565b6200026886836200021f565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620002b2620002ac620002a68462000280565b62000289565b62000280565b9050919050565b5f819050919050565b620002cd8362000292565b620002e5620002dc82620002b9565b8484546200022b565b825550505050565b5f90565b620002fb620002ed565b62000308818484620002c2565b505050565b5b818110156200032f57620003235f82620002f1565b6001810190506200030e565b5050565b601f8211156200037e576200034881620001fe565b620003538462000210565b8101602085101562000363578190505b6200037b620003728562000210565b8301826200030d565b50505b505050565b5f82821c905092915050565b5f620003a05f198460080262000383565b1980831691505092915050565b5f620003ba83836200038f565b9150826002028217905092915050565b620003d58262000166565b67ffffffffffffffff811115620003f157620003f062000170565b5b620003fd8254620001ca565b6200040a82828562000333565b5f60209050601f83116001811462000440575f84156200042b578287015190505b620004378582620003ad565b865550620004a6565b601f1984166200045086620001fe565b5f5b82811015620004795784890151825560018201915060208501945060208101905062000452565b8683101562000499578489015162000495601f8916826200038f565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154620004d881620001ca565b620004e48186620004ae565b9450600182165f811462000501576001811462000517576200054d565b60ff19831686528115158202860193506200054d565b6200052285620004b8565b5f5b83811015620005455781548189015260018201915060208101905062000524565b838801955050505b50505092915050565b5f620005638284620004ca565b915081905092915050565b5f819050919050565b62000582816200056e565b82525050565b620005938162000280565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620005c48262000599565b9050919050565b620005d681620005b8565b82525050565b5f60a082019050620005f15f83018862000577565b62000600602083018762000577565b6200060f604083018662000577565b6200061e606083018562000588565b6200062d6080830184620005cb565b9695505050505050565b60805160a05160c0516115b0620006625f395f6106d301525f61069f01525f61067a01526115b05ff3fe608060405234801561000f575f80fd5b50600436106100cd575f3560e01c806340c10f191161008a57806395d89b411161006457806395d89b4114610225578063a9059cbb14610243578063d505accf14610273578063dd62ed3e1461028f576100cd565b806340c10f19146101a957806370a08231146101c55780637ecebe00146101f5576100cd565b806306fdde03146100d1578063095ea7b3146100ef57806318160ddd1461011f57806323b872dd1461013d578063313ce5671461016d5780633644e5151461018b575b5f80fd5b6100d96102bf565b6040516100e69190610e03565b60405180910390f35b61010960048036038101906101049190610eb4565b61034a565b6040516101169190610f0c565b60405180910390f35b610127610437565b6040516101349190610f34565b60405180910390f35b61015760048036038101906101529190610f4d565b61043d565b6040516101649190610f0c565b60405180910390f35b610175610678565b6040516101829190610fb8565b60405180910390f35b61019361069c565b6040516101a09190610fe9565b60405180910390f35b6101c360048036038101906101be9190610eb4565b6106f8565b005b6101df60048036038101906101da9190611002565b610754565b6040516101ec9190610f34565b60405180910390f35b61020f600480360381019061020a9190611002565b610769565b60405161021c9190610f34565b60405180910390f35b61022d61077e565b60405161023a9190610e03565b60405180910390f35b61025d60048036038101906102589190610eb4565b61080a565b60405161026a9190610f0c565b60405180910390f35b61028d60048036038101906102889190611081565b610917565b005b6102a960048036038101906102a4919061111e565b610c04565b6040516102b69190610f34565b60405180910390f35b5f80546102cb90611189565b80601f01602080910402602001604051908101604052809291908181526020018280546102f790611189565b80156103425780601f1061031957610100808354040283529160200191610342565b820191905f5260205f20905b81548152906001019060200180831161032557829003601f168201915b505050505081565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104259190610f34565b60405180910390a36001905092915050565b60025481565b5f8060045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461056a5782816104ed91906111e6565b60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8260035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105b691906111e6565b925050819055508260035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516106649190610f34565b60405180910390a360019150509392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f7f000000000000000000000000000000000000000000000000000000000000000046146106d1576106cc610c24565b6106f3565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b6107028282610cae565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516107489190610f34565b60405180910390a25050565b6003602052805f5260405f205f915090505481565b6005602052805f5260405f205f915090505481565b6001805461078b90611189565b80601f01602080910402602001604051908101604052809291908181526020018280546107b790611189565b80156108025780601f106107d957610100808354040283529160200191610802565b820191905f5260205f20905b8154815290600101906020018083116107e557829003601f168201915b505050505081565b5f8160035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461085791906111e6565b925050819055508160035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109059190610f34565b60405180910390a36001905092915050565b4284101561095a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095190611263565b60405180910390fd5b5f600161096561069c565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98a8a8a60055f8f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050558b6040516020016109ea96959493929190611290565b60405160208183030381529060405280519060200120604051602001610a11929190611363565b604051602081830303815290604052805190602001208585856040515f8152602001604052604051610a469493929190611399565b6020604051602081039080840390855afa158015610a66573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610ad957508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0f90611426565b60405180910390fd5b8560045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610bf39190610f34565b60405180910390a350505050505050565b6004602052815f5260405f20602052805f5260405f205f91509150505481565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f604051610c5491906114e0565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001610c939594939291906114f6565b60405160208183030381529060405280519060200120905090565b8060025f828254610cbf9190611547565b925050819055508060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610d6d9190610f34565b60405180910390a35050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610db0578082015181840152602081019050610d95565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610dd582610d79565b610ddf8185610d83565b9350610def818560208601610d93565b610df881610dbb565b840191505092915050565b5f6020820190508181035f830152610e1b8184610dcb565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610e5082610e27565b9050919050565b610e6081610e46565b8114610e6a575f80fd5b50565b5f81359050610e7b81610e57565b92915050565b5f819050919050565b610e9381610e81565b8114610e9d575f80fd5b50565b5f81359050610eae81610e8a565b92915050565b5f8060408385031215610eca57610ec9610e23565b5b5f610ed785828601610e6d565b9250506020610ee885828601610ea0565b9150509250929050565b5f8115159050919050565b610f0681610ef2565b82525050565b5f602082019050610f1f5f830184610efd565b92915050565b610f2e81610e81565b82525050565b5f602082019050610f475f830184610f25565b92915050565b5f805f60608486031215610f6457610f63610e23565b5b5f610f7186828701610e6d565b9350506020610f8286828701610e6d565b9250506040610f9386828701610ea0565b9150509250925092565b5f60ff82169050919050565b610fb281610f9d565b82525050565b5f602082019050610fcb5f830184610fa9565b92915050565b5f819050919050565b610fe381610fd1565b82525050565b5f602082019050610ffc5f830184610fda565b92915050565b5f6020828403121561101757611016610e23565b5b5f61102484828501610e6d565b91505092915050565b61103681610f9d565b8114611040575f80fd5b50565b5f813590506110518161102d565b92915050565b61106081610fd1565b811461106a575f80fd5b50565b5f8135905061107b81611057565b92915050565b5f805f805f805f60e0888a03121561109c5761109b610e23565b5b5f6110a98a828b01610e6d565b97505060206110ba8a828b01610e6d565b96505060406110cb8a828b01610ea0565b95505060606110dc8a828b01610ea0565b94505060806110ed8a828b01611043565b93505060a06110fe8a828b0161106d565b92505060c061110f8a828b0161106d565b91505092959891949750929550565b5f806040838503121561113457611133610e23565b5b5f61114185828601610e6d565b925050602061115285828601610e6d565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806111a057607f821691505b6020821081036111b3576111b261115c565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6111f082610e81565b91506111fb83610e81565b9250828203905081811115611213576112126111b9565b5b92915050565b7f5045524d49545f444541444c494e455f455850495245440000000000000000005f82015250565b5f61124d601783610d83565b915061125882611219565b602082019050919050565b5f6020820190508181035f83015261127a81611241565b9050919050565b61128a81610e46565b82525050565b5f60c0820190506112a35f830189610fda565b6112b06020830188611281565b6112bd6040830187611281565b6112ca6060830186610f25565b6112d76080830185610f25565b6112e460a0830184610f25565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f61132d6002836112ef565b9150611338826112f9565b600282019050919050565b5f819050919050565b61135d61135882610fd1565b611343565b82525050565b5f61136d82611321565b9150611379828561134c565b602082019150611389828461134c565b6020820191508190509392505050565b5f6080820190506113ac5f830187610fda565b6113b96020830186610fa9565b6113c66040830185610fda565b6113d36060830184610fda565b95945050505050565b7f494e56414c49445f5349474e45520000000000000000000000000000000000005f82015250565b5f611410600e83610d83565b915061141b826113dc565b602082019050919050565b5f6020820190508181035f83015261143d81611404565b9050919050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f815461146c81611189565b6114768186611444565b9450600182165f811461149057600181146114a5576114d7565b60ff19831686528115158202860193506114d7565b6114ae8561144e565b5f5b838110156114cf578154818901526001820191506020810190506114b0565b838801955050505b50505092915050565b5f6114eb8284611460565b915081905092915050565b5f60a0820190506115095f830188610fda565b6115166020830187610fda565b6115236040830186610fda565b6115306060830185610f25565b61153d6080830184611281565b9695505050505050565b5f61155182610e81565b915061155c83610e81565b9250828201905080821115611574576115736111b9565b5b9291505056fea2646970667358221220f7488c39eaef215879c19bbe58edf49b2c243f9278b22fdd8d7177baa0ec5eed64736f6c63430008140033",
}

SolmateERC20MetaData contains all meta data concerning the SolmateERC20 contract.

View Source
var SwapperABI = SwapperMetaData.ABI

SwapperABI is the input ABI used to generate the binding from. Deprecated: Use SwapperMetaData.ABI instead.

View Source
var SwapperBin = SwapperMetaData.Bin

SwapperBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SwapperMetaData.Bin instead.

View Source
var SwapperMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"erc20Module\",\"outputs\":[{\"internalType\":\"contractIERC20Module\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getPolarisERC20\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040526269696973ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff16815250348015610045575f80fd5b50608051610b116100735f395f81816101c2015281816101e7015281816102d101526103b80152610b115ff3fe608060405234801561000f575f80fd5b5060043610610055575f3560e01c806347e7ef2414610059578063714ba40c146100755780639d456b6214610093578063d004f0f7146100af578063d6ece467146100cb575b5f80fd5b610073600480360381019061006e91906104ed565b6100fb565b005b61007d6101c0565b60405161008a9190610586565b60405180910390f35b6100ad60048036038101906100a89190610600565b6101e4565b005b6100c960048036038101906100c49190610698565b6102ce565b005b6100e560048036038101906100e091906106d6565b6103b5565b6040516100f29190610741565b60405180910390f35b5f8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161013993929190610778565b6020604051808303815f875af1158015610155573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061017991906107e2565b9050806101bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b290610867565b60405180910390fd5b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663096b406985853333876040518663ffffffff1660e01b81526004016102469594939291906108cf565b6020604051808303815f875af1158015610262573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028691906107e2565b9050806102c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102bf9061098b565b60405180910390fd5b50505050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b96d8bec843333866040518563ffffffff1660e01b815260040161032e94939291906109a9565b6020604051808303815f875af115801561034a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036e91906107e2565b9050806103b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a790610a5c565b60405180910390fd5b505050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a333e57c84846040518363ffffffff1660e01b8152600401610411929190610a7a565b602060405180830381865afa15801561042c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104509190610ab0565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61048982610460565b9050919050565b6104998161047f565b81146104a3575f80fd5b50565b5f813590506104b481610490565b92915050565b5f819050919050565b6104cc816104ba565b81146104d6575f80fd5b50565b5f813590506104e7816104c3565b92915050565b5f806040838503121561050357610502610458565b5b5f610510858286016104a6565b9250506020610521858286016104d9565b9150509250929050565b5f819050919050565b5f61054e61054961054484610460565b61052b565b610460565b9050919050565b5f61055f82610534565b9050919050565b5f61057082610555565b9050919050565b61058081610566565b82525050565b5f6020820190506105995f830184610577565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126105c0576105bf61059f565b5b8235905067ffffffffffffffff8111156105dd576105dc6105a3565b5b6020830191508360018202830111156105f9576105f86105a7565b5b9250929050565b5f805f6040848603121561061757610616610458565b5b5f84013567ffffffffffffffff8111156106345761063361045c565b5b610640868287016105ab565b93509350506020610653868287016104d9565b9150509250925092565b5f6106678261047f565b9050919050565b6106778161065d565b8114610681575f80fd5b50565b5f813590506106928161066e565b92915050565b5f80604083850312156106ae576106ad610458565b5b5f6106bb85828601610684565b92505060206106cc858286016104d9565b9150509250929050565b5f80602083850312156106ec576106eb610458565b5b5f83013567ffffffffffffffff8111156107095761070861045c565b5b610715858286016105ab565b92509250509250929050565b5f61072b82610555565b9050919050565b61073b81610721565b82525050565b5f6020820190506107545f830184610732565b92915050565b6107638161047f565b82525050565b610772816104ba565b82525050565b5f60608201905061078b5f83018661075a565b610798602083018561075a565b6107a56040830184610769565b949350505050565b5f8115159050919050565b6107c1816107ad565b81146107cb575f80fd5b50565b5f815190506107dc816107b8565b92915050565b5f602082840312156107f7576107f6610458565b5b5f610804848285016107ce565b91505092915050565b5f82825260208201905092915050565b7f537761707065723a207472616e7366657246726f6d206661696c6564000000005f82015250565b5f610851601c8361080d565b915061085c8261081d565b602082019050919050565b5f6020820190508181035f83015261087e81610845565b9050919050565b828183375f83830152505050565b5f601f19601f8301169050919050565b5f6108ae838561080d565b93506108bb838584610885565b6108c483610893565b840190509392505050565b5f6080820190508181035f8301526108e88187896108a3565b90506108f7602083018661075a565b610904604083018561075a565b6109116060830184610769565b9695505050505050565b7f537761707065723a207472616e73666572436f696e546f4552433230206661695f8201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b5f61097560238361080d565b91506109808261091b565b604082019050919050565b5f6020820190508181035f8301526109a281610969565b9050919050565b5f6080820190506109bc5f830187610732565b6109c9602083018661075a565b6109d6604083018561075a565b6109e36060830184610769565b95945050505050565b7f537761707065723a207472616e736665724552433230546f436f696e206661695f8201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b5f610a4660238361080d565b9150610a51826109ec565b604082019050919050565b5f6020820190508181035f830152610a7381610a3a565b9050919050565b5f6020820190508181035f830152610a938184866108a3565b90509392505050565b5f81519050610aaa8161066e565b92915050565b5f60208284031215610ac557610ac4610458565b5b5f610ad284828501610a9c565b9150509291505056fea2646970667358221220c9a8d8e575a2f0105d843f3afdac2822fae24239f6599c6f2297575f783c22cf64736f6c63430008140033",
}

SwapperMetaData contains all meta data concerning the Swapper contract.

Functions

This section is empty.

Types

type ConsumeGas

type ConsumeGas struct {
	ConsumeGasCaller     // Read-only binding to the contract
	ConsumeGasTransactor // Write-only binding to the contract
	ConsumeGasFilterer   // Log filterer for contract events
}

ConsumeGas is an auto generated Go binding around an Ethereum contract.

func DeployConsumeGas

func DeployConsumeGas(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ConsumeGas, error)

DeployConsumeGas deploys a new Ethereum contract, binding an instance of ConsumeGas to it.

func NewConsumeGas

func NewConsumeGas(address common.Address, backend bind.ContractBackend) (*ConsumeGas, error)

NewConsumeGas creates a new instance of ConsumeGas, bound to a specific deployed contract.

type ConsumeGasCaller

type ConsumeGasCaller struct {
	// contains filtered or unexported fields
}

ConsumeGasCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewConsumeGasCaller

func NewConsumeGasCaller(address common.Address, caller bind.ContractCaller) (*ConsumeGasCaller, error)

NewConsumeGasCaller creates a new read-only instance of ConsumeGas, bound to a specific deployed contract.

type ConsumeGasCallerRaw

type ConsumeGasCallerRaw struct {
	Contract *ConsumeGasCaller // Generic read-only contract binding to access the raw methods on
}

ConsumeGasCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ConsumeGasCallerRaw) Call

func (_ConsumeGas *ConsumeGasCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ConsumeGasCallerSession

type ConsumeGasCallerSession struct {
	Contract *ConsumeGasCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

ConsumeGasCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ConsumeGasFilterer

type ConsumeGasFilterer struct {
	// contains filtered or unexported fields
}

ConsumeGasFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewConsumeGasFilterer

func NewConsumeGasFilterer(address common.Address, filterer bind.ContractFilterer) (*ConsumeGasFilterer, error)

NewConsumeGasFilterer creates a new log filterer instance of ConsumeGas, bound to a specific deployed contract.

func (*ConsumeGasFilterer) FilterGasConsumed

func (_ConsumeGas *ConsumeGasFilterer) FilterGasConsumed(opts *bind.FilterOpts) (*ConsumeGasGasConsumedIterator, error)

FilterGasConsumed is a free log retrieval operation binding the contract event 0x1a2dc18f5a2dabdf3809a83ec652290b81d97d915bf5561908090bad91deffc4.

Solidity: event GasConsumed(uint256 gasUsed)

func (*ConsumeGasFilterer) ParseGasConsumed

func (_ConsumeGas *ConsumeGasFilterer) ParseGasConsumed(log types.Log) (*ConsumeGasGasConsumed, error)

ParseGasConsumed is a log parse operation binding the contract event 0x1a2dc18f5a2dabdf3809a83ec652290b81d97d915bf5561908090bad91deffc4.

Solidity: event GasConsumed(uint256 gasUsed)

func (*ConsumeGasFilterer) WatchGasConsumed

func (_ConsumeGas *ConsumeGasFilterer) WatchGasConsumed(opts *bind.WatchOpts, sink chan<- *ConsumeGasGasConsumed) (event.Subscription, error)

WatchGasConsumed is a free log subscription operation binding the contract event 0x1a2dc18f5a2dabdf3809a83ec652290b81d97d915bf5561908090bad91deffc4.

Solidity: event GasConsumed(uint256 gasUsed)

type ConsumeGasGasConsumed

type ConsumeGasGasConsumed struct {
	GasUsed *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ConsumeGasGasConsumed represents a GasConsumed event raised by the ConsumeGas contract.

type ConsumeGasGasConsumedIterator

type ConsumeGasGasConsumedIterator struct {
	Event *ConsumeGasGasConsumed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ConsumeGasGasConsumedIterator is returned from FilterGasConsumed and is used to iterate over the raw logs and unpacked data for GasConsumed events raised by the ConsumeGas contract.

func (*ConsumeGasGasConsumedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ConsumeGasGasConsumedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConsumeGasGasConsumedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ConsumeGasRaw

type ConsumeGasRaw struct {
	Contract *ConsumeGas // Generic contract binding to access the raw methods on
}

ConsumeGasRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ConsumeGasRaw) Call

func (_ConsumeGas *ConsumeGasRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ConsumeGasRaw) Transact

func (_ConsumeGas *ConsumeGasRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ConsumeGasRaw) Transfer

func (_ConsumeGas *ConsumeGasRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ConsumeGasSession

type ConsumeGasSession struct {
	Contract     *ConsumeGas       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ConsumeGasSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ConsumeGasSession) ConsumeGas

func (_ConsumeGas *ConsumeGasSession) ConsumeGas(targetGas *big.Int) (*types.Transaction, error)

ConsumeGas is a paid mutator transaction binding the contract method 0xa329e8de.

Solidity: function consumeGas(uint256 targetGas) returns()

type ConsumeGasTransactor

type ConsumeGasTransactor struct {
	// contains filtered or unexported fields
}

ConsumeGasTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewConsumeGasTransactor

func NewConsumeGasTransactor(address common.Address, transactor bind.ContractTransactor) (*ConsumeGasTransactor, error)

NewConsumeGasTransactor creates a new write-only instance of ConsumeGas, bound to a specific deployed contract.

func (*ConsumeGasTransactor) ConsumeGas

func (_ConsumeGas *ConsumeGasTransactor) ConsumeGas(opts *bind.TransactOpts, targetGas *big.Int) (*types.Transaction, error)

ConsumeGas is a paid mutator transaction binding the contract method 0xa329e8de.

Solidity: function consumeGas(uint256 targetGas) returns()

type ConsumeGasTransactorRaw

type ConsumeGasTransactorRaw struct {
	Contract *ConsumeGasTransactor // Generic write-only contract binding to access the raw methods on
}

ConsumeGasTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ConsumeGasTransactorRaw) Transact

func (_ConsumeGas *ConsumeGasTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ConsumeGasTransactorRaw) Transfer

func (_ConsumeGas *ConsumeGasTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ConsumeGasTransactorSession

type ConsumeGasTransactorSession struct {
	Contract     *ConsumeGasTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

ConsumeGasTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ConsumeGasTransactorSession) ConsumeGas

func (_ConsumeGas *ConsumeGasTransactorSession) ConsumeGas(targetGas *big.Int) (*types.Transaction, error)

ConsumeGas is a paid mutator transaction binding the contract method 0xa329e8de.

Solidity: function consumeGas(uint256 targetGas) returns()

type DistributionWrapper

type DistributionWrapper struct {
	DistributionWrapperCaller     // Read-only binding to the contract
	DistributionWrapperTransactor // Write-only binding to the contract
	DistributionWrapperFilterer   // Log filterer for contract events
}

DistributionWrapper is an auto generated Go binding around an Ethereum contract.

func DeployDistributionWrapper

func DeployDistributionWrapper(auth *bind.TransactOpts, backend bind.ContractBackend, _distributionprecompile common.Address, _stakingprecompile common.Address) (common.Address, *types.Transaction, *DistributionWrapper, error)

DeployDistributionWrapper deploys a new Ethereum contract, binding an instance of DistributionWrapper to it.

func NewDistributionWrapper

func NewDistributionWrapper(address common.Address, backend bind.ContractBackend) (*DistributionWrapper, error)

NewDistributionWrapper creates a new instance of DistributionWrapper, bound to a specific deployed contract.

type DistributionWrapperCaller

type DistributionWrapperCaller struct {
	// contains filtered or unexported fields
}

DistributionWrapperCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewDistributionWrapperCaller

func NewDistributionWrapperCaller(address common.Address, caller bind.ContractCaller) (*DistributionWrapperCaller, error)

NewDistributionWrapperCaller creates a new read-only instance of DistributionWrapper, bound to a specific deployed contract.

func (*DistributionWrapperCaller) Distribution

func (_DistributionWrapper *DistributionWrapperCaller) Distribution(opts *bind.CallOpts) (common.Address, error)

Distribution is a free data retrieval call binding the contract method 0x5ee58efc.

Solidity: function distribution() view returns(address)

func (*DistributionWrapperCaller) GetWithdrawEnabled

func (_DistributionWrapper *DistributionWrapperCaller) GetWithdrawEnabled(opts *bind.CallOpts) (bool, error)

GetWithdrawEnabled is a free data retrieval call binding the contract method 0x39cc4c86.

Solidity: function getWithdrawEnabled() view returns(bool)

func (*DistributionWrapperCaller) Staking

func (_DistributionWrapper *DistributionWrapperCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type DistributionWrapperCallerRaw

type DistributionWrapperCallerRaw struct {
	Contract *DistributionWrapperCaller // Generic read-only contract binding to access the raw methods on
}

DistributionWrapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*DistributionWrapperCallerRaw) Call

func (_DistributionWrapper *DistributionWrapperCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type DistributionWrapperCallerSession

type DistributionWrapperCallerSession struct {
	Contract *DistributionWrapperCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

DistributionWrapperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*DistributionWrapperCallerSession) Distribution

func (_DistributionWrapper *DistributionWrapperCallerSession) Distribution() (common.Address, error)

Distribution is a free data retrieval call binding the contract method 0x5ee58efc.

Solidity: function distribution() view returns(address)

func (*DistributionWrapperCallerSession) GetWithdrawEnabled

func (_DistributionWrapper *DistributionWrapperCallerSession) GetWithdrawEnabled() (bool, error)

GetWithdrawEnabled is a free data retrieval call binding the contract method 0x39cc4c86.

Solidity: function getWithdrawEnabled() view returns(bool)

func (*DistributionWrapperCallerSession) Staking

func (_DistributionWrapper *DistributionWrapperCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type DistributionWrapperFilterer

type DistributionWrapperFilterer struct {
	// contains filtered or unexported fields
}

DistributionWrapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewDistributionWrapperFilterer

func NewDistributionWrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*DistributionWrapperFilterer, error)

NewDistributionWrapperFilterer creates a new log filterer instance of DistributionWrapper, bound to a specific deployed contract.

type DistributionWrapperRaw

type DistributionWrapperRaw struct {
	Contract *DistributionWrapper // Generic contract binding to access the raw methods on
}

DistributionWrapperRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*DistributionWrapperRaw) Call

func (_DistributionWrapper *DistributionWrapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*DistributionWrapperRaw) Transact

func (_DistributionWrapper *DistributionWrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DistributionWrapperRaw) Transfer

func (_DistributionWrapper *DistributionWrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DistributionWrapperSession

type DistributionWrapperSession struct {
	Contract     *DistributionWrapper // Generic contract binding to set the session for
	CallOpts     bind.CallOpts        // Call options to use throughout this session
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

DistributionWrapperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*DistributionWrapperSession) Delegate

func (_DistributionWrapper *DistributionWrapperSession) Delegate(_validator common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address _validator) payable returns()

func (*DistributionWrapperSession) Distribution

func (_DistributionWrapper *DistributionWrapperSession) Distribution() (common.Address, error)

Distribution is a free data retrieval call binding the contract method 0x5ee58efc.

Solidity: function distribution() view returns(address)

func (*DistributionWrapperSession) GetWithdrawEnabled

func (_DistributionWrapper *DistributionWrapperSession) GetWithdrawEnabled() (bool, error)

GetWithdrawEnabled is a free data retrieval call binding the contract method 0x39cc4c86.

Solidity: function getWithdrawEnabled() view returns(bool)

func (*DistributionWrapperSession) SetWithdrawAddress

func (_DistributionWrapper *DistributionWrapperSession) SetWithdrawAddress(_withdrawAddress common.Address) (*types.Transaction, error)

SetWithdrawAddress is a paid mutator transaction binding the contract method 0x3ab1a494.

Solidity: function setWithdrawAddress(address _withdrawAddress) returns(bool)

func (*DistributionWrapperSession) Staking

func (_DistributionWrapper *DistributionWrapperSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*DistributionWrapperSession) WithdrawRewards

func (_DistributionWrapper *DistributionWrapperSession) WithdrawRewards(_delegatorAddress common.Address, _validatorAddress common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xe20981ca.

Solidity: function withdrawRewards(address _delegatorAddress, address _validatorAddress) returns()

type DistributionWrapperTransactor

type DistributionWrapperTransactor struct {
	// contains filtered or unexported fields
}

DistributionWrapperTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewDistributionWrapperTransactor

func NewDistributionWrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*DistributionWrapperTransactor, error)

NewDistributionWrapperTransactor creates a new write-only instance of DistributionWrapper, bound to a specific deployed contract.

func (*DistributionWrapperTransactor) Delegate

func (_DistributionWrapper *DistributionWrapperTransactor) Delegate(opts *bind.TransactOpts, _validator common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address _validator) payable returns()

func (*DistributionWrapperTransactor) SetWithdrawAddress

func (_DistributionWrapper *DistributionWrapperTransactor) SetWithdrawAddress(opts *bind.TransactOpts, _withdrawAddress common.Address) (*types.Transaction, error)

SetWithdrawAddress is a paid mutator transaction binding the contract method 0x3ab1a494.

Solidity: function setWithdrawAddress(address _withdrawAddress) returns(bool)

func (*DistributionWrapperTransactor) WithdrawRewards

func (_DistributionWrapper *DistributionWrapperTransactor) WithdrawRewards(opts *bind.TransactOpts, _delegatorAddress common.Address, _validatorAddress common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xe20981ca.

Solidity: function withdrawRewards(address _delegatorAddress, address _validatorAddress) returns()

type DistributionWrapperTransactorRaw

type DistributionWrapperTransactorRaw struct {
	Contract *DistributionWrapperTransactor // Generic write-only contract binding to access the raw methods on
}

DistributionWrapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*DistributionWrapperTransactorRaw) Transact

func (_DistributionWrapper *DistributionWrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DistributionWrapperTransactorRaw) Transfer

func (_DistributionWrapper *DistributionWrapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DistributionWrapperTransactorSession

type DistributionWrapperTransactorSession struct {
	Contract     *DistributionWrapperTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

DistributionWrapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*DistributionWrapperTransactorSession) Delegate

func (_DistributionWrapper *DistributionWrapperTransactorSession) Delegate(_validator common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address _validator) payable returns()

func (*DistributionWrapperTransactorSession) SetWithdrawAddress

func (_DistributionWrapper *DistributionWrapperTransactorSession) SetWithdrawAddress(_withdrawAddress common.Address) (*types.Transaction, error)

SetWithdrawAddress is a paid mutator transaction binding the contract method 0x3ab1a494.

Solidity: function setWithdrawAddress(address _withdrawAddress) returns(bool)

func (*DistributionWrapperTransactorSession) WithdrawRewards

func (_DistributionWrapper *DistributionWrapperTransactorSession) WithdrawRewards(_delegatorAddress common.Address, _validatorAddress common.Address) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xe20981ca.

Solidity: function withdrawRewards(address _delegatorAddress, address _validatorAddress) returns()

type LiquidStaking

type LiquidStaking struct {
	LiquidStakingCaller     // Read-only binding to the contract
	LiquidStakingTransactor // Write-only binding to the contract
	LiquidStakingFilterer   // Log filterer for contract events
}

LiquidStaking is an auto generated Go binding around an Ethereum contract.

func DeployLiquidStaking

func DeployLiquidStaking(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string) (common.Address, *types.Transaction, *LiquidStaking, error)

DeployLiquidStaking deploys a new Ethereum contract, binding an instance of LiquidStaking to it.

func NewLiquidStaking

func NewLiquidStaking(address common.Address, backend bind.ContractBackend) (*LiquidStaking, error)

NewLiquidStaking creates a new instance of LiquidStaking, bound to a specific deployed contract.

type LiquidStakingApproval

type LiquidStakingApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LiquidStakingApproval represents a Approval event raised by the LiquidStaking contract.

type LiquidStakingApprovalIterator

type LiquidStakingApprovalIterator struct {
	Event *LiquidStakingApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LiquidStakingApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LiquidStaking contract.

func (*LiquidStakingApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LiquidStakingApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LiquidStakingApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LiquidStakingCaller

type LiquidStakingCaller struct {
	// contains filtered or unexported fields
}

LiquidStakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewLiquidStakingCaller

func NewLiquidStakingCaller(address common.Address, caller bind.ContractCaller) (*LiquidStakingCaller, error)

NewLiquidStakingCaller creates a new read-only instance of LiquidStaking, bound to a specific deployed contract.

func (*LiquidStakingCaller) Allowance

func (_LiquidStaking *LiquidStakingCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*LiquidStakingCaller) BalanceOf

func (_LiquidStaking *LiquidStakingCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*LiquidStakingCaller) DOMAINSEPARATOR

func (_LiquidStaking *LiquidStakingCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*LiquidStakingCaller) Decimals

func (_LiquidStaking *LiquidStakingCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LiquidStakingCaller) GetActiveValidators

func (_LiquidStaking *LiquidStakingCaller) GetActiveValidators(opts *bind.CallOpts) ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*LiquidStakingCaller) Name

func (_LiquidStaking *LiquidStakingCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LiquidStakingCaller) Nonces

func (_LiquidStaking *LiquidStakingCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*LiquidStakingCaller) Staking

func (_LiquidStaking *LiquidStakingCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*LiquidStakingCaller) Symbol

func (_LiquidStaking *LiquidStakingCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LiquidStakingCaller) TotalDelegated

func (_LiquidStaking *LiquidStakingCaller) TotalDelegated(opts *bind.CallOpts, validatorAddress common.Address) (*big.Int, error)

TotalDelegated is a free data retrieval call binding the contract method 0xf639187e.

Solidity: function totalDelegated(address validatorAddress) view returns(uint256 amount)

func (*LiquidStakingCaller) TotalSupply

func (_LiquidStaking *LiquidStakingCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LiquidStakingCallerRaw

type LiquidStakingCallerRaw struct {
	Contract *LiquidStakingCaller // Generic read-only contract binding to access the raw methods on
}

LiquidStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*LiquidStakingCallerRaw) Call

func (_LiquidStaking *LiquidStakingCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type LiquidStakingCallerSession

type LiquidStakingCallerSession struct {
	Contract *LiquidStakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

LiquidStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*LiquidStakingCallerSession) Allowance

func (_LiquidStaking *LiquidStakingCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*LiquidStakingCallerSession) BalanceOf

func (_LiquidStaking *LiquidStakingCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*LiquidStakingCallerSession) DOMAINSEPARATOR

func (_LiquidStaking *LiquidStakingCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*LiquidStakingCallerSession) Decimals

func (_LiquidStaking *LiquidStakingCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LiquidStakingCallerSession) GetActiveValidators

func (_LiquidStaking *LiquidStakingCallerSession) GetActiveValidators() ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*LiquidStakingCallerSession) Name

func (_LiquidStaking *LiquidStakingCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LiquidStakingCallerSession) Nonces

func (_LiquidStaking *LiquidStakingCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*LiquidStakingCallerSession) Staking

func (_LiquidStaking *LiquidStakingCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*LiquidStakingCallerSession) Symbol

func (_LiquidStaking *LiquidStakingCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LiquidStakingCallerSession) TotalDelegated

func (_LiquidStaking *LiquidStakingCallerSession) TotalDelegated(validatorAddress common.Address) (*big.Int, error)

TotalDelegated is a free data retrieval call binding the contract method 0xf639187e.

Solidity: function totalDelegated(address validatorAddress) view returns(uint256 amount)

func (*LiquidStakingCallerSession) TotalSupply

func (_LiquidStaking *LiquidStakingCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LiquidStakingData

type LiquidStakingData struct {
	Data []byte
	Raw  types.Log // Blockchain specific contextual infos
}

LiquidStakingData represents a Data event raised by the LiquidStaking contract.

type LiquidStakingDataIterator

type LiquidStakingDataIterator struct {
	Event *LiquidStakingData // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LiquidStakingDataIterator is returned from FilterData and is used to iterate over the raw logs and unpacked data for Data events raised by the LiquidStaking contract.

func (*LiquidStakingDataIterator) Close

func (it *LiquidStakingDataIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LiquidStakingDataIterator) Error

func (it *LiquidStakingDataIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LiquidStakingDataIterator) Next

func (it *LiquidStakingDataIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LiquidStakingFilterer

type LiquidStakingFilterer struct {
	// contains filtered or unexported fields
}

LiquidStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLiquidStakingFilterer

func NewLiquidStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*LiquidStakingFilterer, error)

NewLiquidStakingFilterer creates a new log filterer instance of LiquidStaking, bound to a specific deployed contract.

func (*LiquidStakingFilterer) FilterApproval

func (_LiquidStaking *LiquidStakingFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LiquidStakingApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LiquidStakingFilterer) FilterData

func (_LiquidStaking *LiquidStakingFilterer) FilterData(opts *bind.FilterOpts) (*LiquidStakingDataIterator, error)

FilterData is a free log retrieval operation binding the contract event 0x0b76c48be4e2908f4c9d4eabaf7538e91577fd9ae26db46693fa8d861c6a42fb.

Solidity: event Data(bytes data)

func (*LiquidStakingFilterer) FilterSuccess

func (_LiquidStaking *LiquidStakingFilterer) FilterSuccess(opts *bind.FilterOpts, success []bool) (*LiquidStakingSuccessIterator, error)

FilterSuccess is a free log retrieval operation binding the contract event 0x3b0a8ddef325df2bfdfa6b430ae4c8421841cd135bfa8fb5e432f200787520bb.

Solidity: event Success(bool indexed success)

func (*LiquidStakingFilterer) FilterTransfer

func (_LiquidStaking *LiquidStakingFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LiquidStakingTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LiquidStakingFilterer) ParseApproval

func (_LiquidStaking *LiquidStakingFilterer) ParseApproval(log types.Log) (*LiquidStakingApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LiquidStakingFilterer) ParseData

func (_LiquidStaking *LiquidStakingFilterer) ParseData(log types.Log) (*LiquidStakingData, error)

ParseData is a log parse operation binding the contract event 0x0b76c48be4e2908f4c9d4eabaf7538e91577fd9ae26db46693fa8d861c6a42fb.

Solidity: event Data(bytes data)

func (*LiquidStakingFilterer) ParseSuccess

func (_LiquidStaking *LiquidStakingFilterer) ParseSuccess(log types.Log) (*LiquidStakingSuccess, error)

ParseSuccess is a log parse operation binding the contract event 0x3b0a8ddef325df2bfdfa6b430ae4c8421841cd135bfa8fb5e432f200787520bb.

Solidity: event Success(bool indexed success)

func (*LiquidStakingFilterer) ParseTransfer

func (_LiquidStaking *LiquidStakingFilterer) ParseTransfer(log types.Log) (*LiquidStakingTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LiquidStakingFilterer) WatchApproval

func (_LiquidStaking *LiquidStakingFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LiquidStakingApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LiquidStakingFilterer) WatchData

func (_LiquidStaking *LiquidStakingFilterer) WatchData(opts *bind.WatchOpts, sink chan<- *LiquidStakingData) (event.Subscription, error)

WatchData is a free log subscription operation binding the contract event 0x0b76c48be4e2908f4c9d4eabaf7538e91577fd9ae26db46693fa8d861c6a42fb.

Solidity: event Data(bytes data)

func (*LiquidStakingFilterer) WatchSuccess

func (_LiquidStaking *LiquidStakingFilterer) WatchSuccess(opts *bind.WatchOpts, sink chan<- *LiquidStakingSuccess, success []bool) (event.Subscription, error)

WatchSuccess is a free log subscription operation binding the contract event 0x3b0a8ddef325df2bfdfa6b430ae4c8421841cd135bfa8fb5e432f200787520bb.

Solidity: event Success(bool indexed success)

func (*LiquidStakingFilterer) WatchTransfer

func (_LiquidStaking *LiquidStakingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LiquidStakingTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type LiquidStakingRaw

type LiquidStakingRaw struct {
	Contract *LiquidStaking // Generic contract binding to access the raw methods on
}

LiquidStakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*LiquidStakingRaw) Call

func (_LiquidStaking *LiquidStakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*LiquidStakingRaw) Transact

func (_LiquidStaking *LiquidStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LiquidStakingRaw) Transfer

func (_LiquidStaking *LiquidStakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LiquidStakingSession

type LiquidStakingSession struct {
	Contract     *LiquidStaking    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LiquidStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*LiquidStakingSession) Allowance

func (_LiquidStaking *LiquidStakingSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*LiquidStakingSession) Approve

func (_LiquidStaking *LiquidStakingSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LiquidStakingSession) BalanceOf

func (_LiquidStaking *LiquidStakingSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*LiquidStakingSession) DOMAINSEPARATOR

func (_LiquidStaking *LiquidStakingSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*LiquidStakingSession) Decimals

func (_LiquidStaking *LiquidStakingSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LiquidStakingSession) Delegate

func (_LiquidStaking *LiquidStakingSession) Delegate(amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 amount) payable returns()

func (*LiquidStakingSession) GetActiveValidators

func (_LiquidStaking *LiquidStakingSession) GetActiveValidators() ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*LiquidStakingSession) Name

func (_LiquidStaking *LiquidStakingSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LiquidStakingSession) Nonces

func (_LiquidStaking *LiquidStakingSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*LiquidStakingSession) Permit

func (_LiquidStaking *LiquidStakingSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LiquidStakingSession) Receive

func (_LiquidStaking *LiquidStakingSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LiquidStakingSession) Staking

func (_LiquidStaking *LiquidStakingSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*LiquidStakingSession) Symbol

func (_LiquidStaking *LiquidStakingSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LiquidStakingSession) TotalDelegated

func (_LiquidStaking *LiquidStakingSession) TotalDelegated(validatorAddress common.Address) (*big.Int, error)

TotalDelegated is a free data retrieval call binding the contract method 0xf639187e.

Solidity: function totalDelegated(address validatorAddress) view returns(uint256 amount)

func (*LiquidStakingSession) TotalSupply

func (_LiquidStaking *LiquidStakingSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*LiquidStakingSession) Transfer

func (_LiquidStaking *LiquidStakingSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LiquidStakingSession) TransferFrom

func (_LiquidStaking *LiquidStakingSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*LiquidStakingSession) Withdraw

func (_LiquidStaking *LiquidStakingSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type LiquidStakingSuccess

type LiquidStakingSuccess struct {
	Success bool
	Raw     types.Log // Blockchain specific contextual infos
}

LiquidStakingSuccess represents a Success event raised by the LiquidStaking contract.

type LiquidStakingSuccessIterator

type LiquidStakingSuccessIterator struct {
	Event *LiquidStakingSuccess // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LiquidStakingSuccessIterator is returned from FilterSuccess and is used to iterate over the raw logs and unpacked data for Success events raised by the LiquidStaking contract.

func (*LiquidStakingSuccessIterator) Close

func (it *LiquidStakingSuccessIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LiquidStakingSuccessIterator) Error

func (it *LiquidStakingSuccessIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LiquidStakingSuccessIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LiquidStakingTransactor

type LiquidStakingTransactor struct {
	// contains filtered or unexported fields
}

LiquidStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewLiquidStakingTransactor

func NewLiquidStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*LiquidStakingTransactor, error)

NewLiquidStakingTransactor creates a new write-only instance of LiquidStaking, bound to a specific deployed contract.

func (*LiquidStakingTransactor) Approve

func (_LiquidStaking *LiquidStakingTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LiquidStakingTransactor) Delegate

func (_LiquidStaking *LiquidStakingTransactor) Delegate(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 amount) payable returns()

func (*LiquidStakingTransactor) Permit

func (_LiquidStaking *LiquidStakingTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LiquidStakingTransactor) Receive

func (_LiquidStaking *LiquidStakingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LiquidStakingTransactor) Transfer

func (_LiquidStaking *LiquidStakingTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LiquidStakingTransactor) TransferFrom

func (_LiquidStaking *LiquidStakingTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*LiquidStakingTransactor) Withdraw

func (_LiquidStaking *LiquidStakingTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type LiquidStakingTransactorRaw

type LiquidStakingTransactorRaw struct {
	Contract *LiquidStakingTransactor // Generic write-only contract binding to access the raw methods on
}

LiquidStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*LiquidStakingTransactorRaw) Transact

func (_LiquidStaking *LiquidStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LiquidStakingTransactorRaw) Transfer

func (_LiquidStaking *LiquidStakingTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LiquidStakingTransactorSession

type LiquidStakingTransactorSession struct {
	Contract     *LiquidStakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

LiquidStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*LiquidStakingTransactorSession) Approve

func (_LiquidStaking *LiquidStakingTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LiquidStakingTransactorSession) Delegate

func (_LiquidStaking *LiquidStakingTransactorSession) Delegate(amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 amount) payable returns()

func (*LiquidStakingTransactorSession) Permit

func (_LiquidStaking *LiquidStakingTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LiquidStakingTransactorSession) Receive

func (_LiquidStaking *LiquidStakingTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*LiquidStakingTransactorSession) Transfer

func (_LiquidStaking *LiquidStakingTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LiquidStakingTransactorSession) TransferFrom

func (_LiquidStaking *LiquidStakingTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*LiquidStakingTransactorSession) Withdraw

func (_LiquidStaking *LiquidStakingTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type LiquidStakingTransfer

type LiquidStakingTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

LiquidStakingTransfer represents a Transfer event raised by the LiquidStaking contract.

type LiquidStakingTransferIterator

type LiquidStakingTransferIterator struct {
	Event *LiquidStakingTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LiquidStakingTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LiquidStaking contract.

func (*LiquidStakingTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LiquidStakingTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LiquidStakingTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MockPrecompile

type MockPrecompile struct {
	MockPrecompileCaller     // Read-only binding to the contract
	MockPrecompileTransactor // Write-only binding to the contract
	MockPrecompileFilterer   // Log filterer for contract events
}

MockPrecompile is an auto generated Go binding around an Ethereum contract.

func NewMockPrecompile

func NewMockPrecompile(address common.Address, backend bind.ContractBackend) (*MockPrecompile, error)

NewMockPrecompile creates a new instance of MockPrecompile, bound to a specific deployed contract.

type MockPrecompileCaller

type MockPrecompileCaller struct {
	// contains filtered or unexported fields
}

MockPrecompileCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMockPrecompileCaller

func NewMockPrecompileCaller(address common.Address, caller bind.ContractCaller) (*MockPrecompileCaller, error)

NewMockPrecompileCaller creates a new read-only instance of MockPrecompile, bound to a specific deployed contract.

type MockPrecompileCallerRaw

type MockPrecompileCallerRaw struct {
	Contract *MockPrecompileCaller // Generic read-only contract binding to access the raw methods on
}

MockPrecompileCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MockPrecompileCallerRaw) Call

func (_MockPrecompile *MockPrecompileCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type MockPrecompileCallerSession

type MockPrecompileCallerSession struct {
	Contract *MockPrecompileCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

MockPrecompileCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type MockPrecompileFilterer

type MockPrecompileFilterer struct {
	// contains filtered or unexported fields
}

MockPrecompileFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMockPrecompileFilterer

func NewMockPrecompileFilterer(address common.Address, filterer bind.ContractFilterer) (*MockPrecompileFilterer, error)

NewMockPrecompileFilterer creates a new log filterer instance of MockPrecompile, bound to a specific deployed contract.

type MockPrecompileInterfaceObject

type MockPrecompileInterfaceObject struct {
	CreationHeight *big.Int
	TimeStamp      string
}

MockPrecompileInterfaceObject is an auto generated low-level Go binding around an user-defined struct.

type MockPrecompileRaw

type MockPrecompileRaw struct {
	Contract *MockPrecompile // Generic contract binding to access the raw methods on
}

MockPrecompileRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MockPrecompileRaw) Call

func (_MockPrecompile *MockPrecompileRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*MockPrecompileRaw) Transact

func (_MockPrecompile *MockPrecompileRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MockPrecompileRaw) Transfer

func (_MockPrecompile *MockPrecompileRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MockPrecompileSession

type MockPrecompileSession struct {
	Contract     *MockPrecompile   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MockPrecompileSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MockPrecompileSession) ContractFunc

func (_MockPrecompile *MockPrecompileSession) ContractFunc(addr common.Address) (*types.Transaction, error)

ContractFunc is a paid mutator transaction binding the contract method 0xc7dda0b9.

Solidity: function contractFunc(address addr) returns(uint256 ans)

func (*MockPrecompileSession) ContractFuncStr

func (_MockPrecompile *MockPrecompileSession) ContractFuncStr(str string) (*types.Transaction, error)

ContractFuncStr is a paid mutator transaction binding the contract method 0x04bb5393.

Solidity: function contractFuncStr(string str) returns()

func (*MockPrecompileSession) GetOutput

func (_MockPrecompile *MockPrecompileSession) GetOutput(str string) (*types.Transaction, error)

GetOutput is a paid mutator transaction binding the contract method 0xb5c11fc2.

Solidity: function getOutput(string str) returns((uint256,string)[])

func (*MockPrecompileSession) GetOutputPartial

func (_MockPrecompile *MockPrecompileSession) GetOutputPartial() (*types.Transaction, error)

GetOutputPartial is a paid mutator transaction binding the contract method 0x7acaaeb9.

Solidity: function getOutputPartial() returns((uint256,string))

type MockPrecompileTransactor

type MockPrecompileTransactor struct {
	// contains filtered or unexported fields
}

MockPrecompileTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMockPrecompileTransactor

func NewMockPrecompileTransactor(address common.Address, transactor bind.ContractTransactor) (*MockPrecompileTransactor, error)

NewMockPrecompileTransactor creates a new write-only instance of MockPrecompile, bound to a specific deployed contract.

func (*MockPrecompileTransactor) ContractFunc

func (_MockPrecompile *MockPrecompileTransactor) ContractFunc(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

ContractFunc is a paid mutator transaction binding the contract method 0xc7dda0b9.

Solidity: function contractFunc(address addr) returns(uint256 ans)

func (*MockPrecompileTransactor) ContractFuncStr

func (_MockPrecompile *MockPrecompileTransactor) ContractFuncStr(opts *bind.TransactOpts, str string) (*types.Transaction, error)

ContractFuncStr is a paid mutator transaction binding the contract method 0x04bb5393.

Solidity: function contractFuncStr(string str) returns()

func (*MockPrecompileTransactor) GetOutput

func (_MockPrecompile *MockPrecompileTransactor) GetOutput(opts *bind.TransactOpts, str string) (*types.Transaction, error)

GetOutput is a paid mutator transaction binding the contract method 0xb5c11fc2.

Solidity: function getOutput(string str) returns((uint256,string)[])

func (*MockPrecompileTransactor) GetOutputPartial

func (_MockPrecompile *MockPrecompileTransactor) GetOutputPartial(opts *bind.TransactOpts) (*types.Transaction, error)

GetOutputPartial is a paid mutator transaction binding the contract method 0x7acaaeb9.

Solidity: function getOutputPartial() returns((uint256,string))

type MockPrecompileTransactorRaw

type MockPrecompileTransactorRaw struct {
	Contract *MockPrecompileTransactor // Generic write-only contract binding to access the raw methods on
}

MockPrecompileTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MockPrecompileTransactorRaw) Transact

func (_MockPrecompile *MockPrecompileTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MockPrecompileTransactorRaw) Transfer

func (_MockPrecompile *MockPrecompileTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MockPrecompileTransactorSession

type MockPrecompileTransactorSession struct {
	Contract     *MockPrecompileTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

MockPrecompileTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MockPrecompileTransactorSession) ContractFunc

func (_MockPrecompile *MockPrecompileTransactorSession) ContractFunc(addr common.Address) (*types.Transaction, error)

ContractFunc is a paid mutator transaction binding the contract method 0xc7dda0b9.

Solidity: function contractFunc(address addr) returns(uint256 ans)

func (*MockPrecompileTransactorSession) ContractFuncStr

func (_MockPrecompile *MockPrecompileTransactorSession) ContractFuncStr(str string) (*types.Transaction, error)

ContractFuncStr is a paid mutator transaction binding the contract method 0x04bb5393.

Solidity: function contractFuncStr(string str) returns()

func (*MockPrecompileTransactorSession) GetOutput

func (_MockPrecompile *MockPrecompileTransactorSession) GetOutput(str string) (*types.Transaction, error)

GetOutput is a paid mutator transaction binding the contract method 0xb5c11fc2.

Solidity: function getOutput(string str) returns((uint256,string)[])

func (*MockPrecompileTransactorSession) GetOutputPartial

func (_MockPrecompile *MockPrecompileTransactorSession) GetOutputPartial() (*types.Transaction, error)

GetOutputPartial is a paid mutator transaction binding the contract method 0x7acaaeb9.

Solidity: function getOutputPartial() returns((uint256,string))

type PrecompileConstructor

type PrecompileConstructor struct {
	PrecompileConstructorCaller     // Read-only binding to the contract
	PrecompileConstructorTransactor // Write-only binding to the contract
	PrecompileConstructorFilterer   // Log filterer for contract events
}

PrecompileConstructor is an auto generated Go binding around an Ethereum contract.

func DeployPrecompileConstructor

func DeployPrecompileConstructor(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PrecompileConstructor, error)

DeployPrecompileConstructor deploys a new Ethereum contract, binding an instance of PrecompileConstructor to it.

func NewPrecompileConstructor

func NewPrecompileConstructor(address common.Address, backend bind.ContractBackend) (*PrecompileConstructor, error)

NewPrecompileConstructor creates a new instance of PrecompileConstructor, bound to a specific deployed contract.

type PrecompileConstructorCaller

type PrecompileConstructorCaller struct {
	// contains filtered or unexported fields
}

PrecompileConstructorCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPrecompileConstructorCaller

func NewPrecompileConstructorCaller(address common.Address, caller bind.ContractCaller) (*PrecompileConstructorCaller, error)

NewPrecompileConstructorCaller creates a new read-only instance of PrecompileConstructor, bound to a specific deployed contract.

func (*PrecompileConstructorCaller) Abera

func (_PrecompileConstructor *PrecompileConstructorCaller) Abera(opts *bind.CallOpts) (common.Address, error)

Abera is a free data retrieval call binding the contract method 0x558f2084.

Solidity: function abera() view returns(address)

func (*PrecompileConstructorCaller) Denom

func (_PrecompileConstructor *PrecompileConstructorCaller) Denom(opts *bind.CallOpts) (string, error)

Denom is a free data retrieval call binding the contract method 0xc370b042.

Solidity: function denom() view returns(string)

func (*PrecompileConstructorCaller) Erc20Module

func (_PrecompileConstructor *PrecompileConstructorCaller) Erc20Module(opts *bind.CallOpts) (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

type PrecompileConstructorCallerRaw

type PrecompileConstructorCallerRaw struct {
	Contract *PrecompileConstructorCaller // Generic read-only contract binding to access the raw methods on
}

PrecompileConstructorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PrecompileConstructorCallerRaw) Call

func (_PrecompileConstructor *PrecompileConstructorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type PrecompileConstructorCallerSession

type PrecompileConstructorCallerSession struct {
	Contract *PrecompileConstructorCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                // Call options to use throughout this session
}

PrecompileConstructorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PrecompileConstructorCallerSession) Abera

func (_PrecompileConstructor *PrecompileConstructorCallerSession) Abera() (common.Address, error)

Abera is a free data retrieval call binding the contract method 0x558f2084.

Solidity: function abera() view returns(address)

func (*PrecompileConstructorCallerSession) Denom

func (_PrecompileConstructor *PrecompileConstructorCallerSession) Denom() (string, error)

Denom is a free data retrieval call binding the contract method 0xc370b042.

Solidity: function denom() view returns(string)

func (*PrecompileConstructorCallerSession) Erc20Module

func (_PrecompileConstructor *PrecompileConstructorCallerSession) Erc20Module() (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

type PrecompileConstructorFilterer

type PrecompileConstructorFilterer struct {
	// contains filtered or unexported fields
}

PrecompileConstructorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPrecompileConstructorFilterer

func NewPrecompileConstructorFilterer(address common.Address, filterer bind.ContractFilterer) (*PrecompileConstructorFilterer, error)

NewPrecompileConstructorFilterer creates a new log filterer instance of PrecompileConstructor, bound to a specific deployed contract.

type PrecompileConstructorRaw

type PrecompileConstructorRaw struct {
	Contract *PrecompileConstructor // Generic contract binding to access the raw methods on
}

PrecompileConstructorRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PrecompileConstructorRaw) Call

func (_PrecompileConstructor *PrecompileConstructorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*PrecompileConstructorRaw) Transact

func (_PrecompileConstructor *PrecompileConstructorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PrecompileConstructorRaw) Transfer

func (_PrecompileConstructor *PrecompileConstructorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PrecompileConstructorSession

type PrecompileConstructorSession struct {
	Contract     *PrecompileConstructor // Generic contract binding to set the session for
	CallOpts     bind.CallOpts          // Call options to use throughout this session
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

PrecompileConstructorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PrecompileConstructorSession) Abera

func (_PrecompileConstructor *PrecompileConstructorSession) Abera() (common.Address, error)

Abera is a free data retrieval call binding the contract method 0x558f2084.

Solidity: function abera() view returns(address)

func (*PrecompileConstructorSession) Denom

func (_PrecompileConstructor *PrecompileConstructorSession) Denom() (string, error)

Denom is a free data retrieval call binding the contract method 0xc370b042.

Solidity: function denom() view returns(string)

func (*PrecompileConstructorSession) Erc20Module

func (_PrecompileConstructor *PrecompileConstructorSession) Erc20Module() (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

type PrecompileConstructorTransactor

type PrecompileConstructorTransactor struct {
	// contains filtered or unexported fields
}

PrecompileConstructorTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPrecompileConstructorTransactor

func NewPrecompileConstructorTransactor(address common.Address, transactor bind.ContractTransactor) (*PrecompileConstructorTransactor, error)

NewPrecompileConstructorTransactor creates a new write-only instance of PrecompileConstructor, bound to a specific deployed contract.

type PrecompileConstructorTransactorRaw

type PrecompileConstructorTransactorRaw struct {
	Contract *PrecompileConstructorTransactor // Generic write-only contract binding to access the raw methods on
}

PrecompileConstructorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PrecompileConstructorTransactorRaw) Transact

func (_PrecompileConstructor *PrecompileConstructorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PrecompileConstructorTransactorRaw) Transfer

func (_PrecompileConstructor *PrecompileConstructorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PrecompileConstructorTransactorSession

type PrecompileConstructorTransactorSession struct {
	Contract     *PrecompileConstructorTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                // Transaction auth options to use throughout this session
}

PrecompileConstructorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type SolmateERC20

type SolmateERC20 struct {
	SolmateERC20Caller     // Read-only binding to the contract
	SolmateERC20Transactor // Write-only binding to the contract
	SolmateERC20Filterer   // Log filterer for contract events
}

SolmateERC20 is an auto generated Go binding around an Ethereum contract.

func DeploySolmateERC20

func DeploySolmateERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SolmateERC20, error)

DeploySolmateERC20 deploys a new Ethereum contract, binding an instance of SolmateERC20 to it.

func NewSolmateERC20

func NewSolmateERC20(address common.Address, backend bind.ContractBackend) (*SolmateERC20, error)

NewSolmateERC20 creates a new instance of SolmateERC20, bound to a specific deployed contract.

type SolmateERC20Approval

type SolmateERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SolmateERC20Approval represents a Approval event raised by the SolmateERC20 contract.

type SolmateERC20ApprovalIterator

type SolmateERC20ApprovalIterator struct {
	Event *SolmateERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SolmateERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SolmateERC20 contract.

func (*SolmateERC20ApprovalIterator) Close

func (it *SolmateERC20ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SolmateERC20ApprovalIterator) Error

func (it *SolmateERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SolmateERC20ApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SolmateERC20Caller

type SolmateERC20Caller struct {
	// contains filtered or unexported fields
}

SolmateERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewSolmateERC20Caller

func NewSolmateERC20Caller(address common.Address, caller bind.ContractCaller) (*SolmateERC20Caller, error)

NewSolmateERC20Caller creates a new read-only instance of SolmateERC20, bound to a specific deployed contract.

func (*SolmateERC20Caller) Allowance

func (_SolmateERC20 *SolmateERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SolmateERC20Caller) BalanceOf

func (_SolmateERC20 *SolmateERC20Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SolmateERC20Caller) DOMAINSEPARATOR

func (_SolmateERC20 *SolmateERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SolmateERC20Caller) Decimals

func (_SolmateERC20 *SolmateERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SolmateERC20Caller) Name

func (_SolmateERC20 *SolmateERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SolmateERC20Caller) Nonces

func (_SolmateERC20 *SolmateERC20Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SolmateERC20Caller) Symbol

func (_SolmateERC20 *SolmateERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SolmateERC20Caller) TotalSupply

func (_SolmateERC20 *SolmateERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type SolmateERC20CallerRaw

type SolmateERC20CallerRaw struct {
	Contract *SolmateERC20Caller // Generic read-only contract binding to access the raw methods on
}

SolmateERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SolmateERC20CallerRaw) Call

func (_SolmateERC20 *SolmateERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SolmateERC20CallerSession

type SolmateERC20CallerSession struct {
	Contract *SolmateERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

SolmateERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SolmateERC20CallerSession) Allowance

func (_SolmateERC20 *SolmateERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SolmateERC20CallerSession) BalanceOf

func (_SolmateERC20 *SolmateERC20CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SolmateERC20CallerSession) DOMAINSEPARATOR

func (_SolmateERC20 *SolmateERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SolmateERC20CallerSession) Decimals

func (_SolmateERC20 *SolmateERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SolmateERC20CallerSession) Name

func (_SolmateERC20 *SolmateERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SolmateERC20CallerSession) Nonces

func (_SolmateERC20 *SolmateERC20CallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SolmateERC20CallerSession) Symbol

func (_SolmateERC20 *SolmateERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SolmateERC20CallerSession) TotalSupply

func (_SolmateERC20 *SolmateERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type SolmateERC20Filterer

type SolmateERC20Filterer struct {
	// contains filtered or unexported fields
}

SolmateERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSolmateERC20Filterer

func NewSolmateERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SolmateERC20Filterer, error)

NewSolmateERC20Filterer creates a new log filterer instance of SolmateERC20, bound to a specific deployed contract.

func (*SolmateERC20Filterer) FilterApproval

func (_SolmateERC20 *SolmateERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SolmateERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SolmateERC20Filterer) FilterMint

func (_SolmateERC20 *SolmateERC20Filterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*SolmateERC20MintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*SolmateERC20Filterer) FilterTransfer

func (_SolmateERC20 *SolmateERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SolmateERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*SolmateERC20Filterer) ParseApproval

func (_SolmateERC20 *SolmateERC20Filterer) ParseApproval(log types.Log) (*SolmateERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SolmateERC20Filterer) ParseMint

func (_SolmateERC20 *SolmateERC20Filterer) ParseMint(log types.Log) (*SolmateERC20Mint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*SolmateERC20Filterer) ParseTransfer

func (_SolmateERC20 *SolmateERC20Filterer) ParseTransfer(log types.Log) (*SolmateERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*SolmateERC20Filterer) WatchApproval

func (_SolmateERC20 *SolmateERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SolmateERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SolmateERC20Filterer) WatchMint

func (_SolmateERC20 *SolmateERC20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *SolmateERC20Mint, to []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*SolmateERC20Filterer) WatchTransfer

func (_SolmateERC20 *SolmateERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SolmateERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type SolmateERC20Mint

type SolmateERC20Mint struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SolmateERC20Mint represents a Mint event raised by the SolmateERC20 contract.

type SolmateERC20MintIterator

type SolmateERC20MintIterator struct {
	Event *SolmateERC20Mint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SolmateERC20MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the SolmateERC20 contract.

func (*SolmateERC20MintIterator) Close

func (it *SolmateERC20MintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SolmateERC20MintIterator) Error

func (it *SolmateERC20MintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SolmateERC20MintIterator) Next

func (it *SolmateERC20MintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SolmateERC20Raw

type SolmateERC20Raw struct {
	Contract *SolmateERC20 // Generic contract binding to access the raw methods on
}

SolmateERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*SolmateERC20Raw) Call

func (_SolmateERC20 *SolmateERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SolmateERC20Raw) Transact

func (_SolmateERC20 *SolmateERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SolmateERC20Raw) Transfer

func (_SolmateERC20 *SolmateERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SolmateERC20Session

type SolmateERC20Session struct {
	Contract     *SolmateERC20     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SolmateERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SolmateERC20Session) Allowance

func (_SolmateERC20 *SolmateERC20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SolmateERC20Session) Approve

func (_SolmateERC20 *SolmateERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SolmateERC20Session) BalanceOf

func (_SolmateERC20 *SolmateERC20Session) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SolmateERC20Session) DOMAINSEPARATOR

func (_SolmateERC20 *SolmateERC20Session) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SolmateERC20Session) Decimals

func (_SolmateERC20 *SolmateERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SolmateERC20Session) Mint

func (_SolmateERC20 *SolmateERC20Session) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*SolmateERC20Session) Name

func (_SolmateERC20 *SolmateERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SolmateERC20Session) Nonces

func (_SolmateERC20 *SolmateERC20Session) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SolmateERC20Session) Permit

func (_SolmateERC20 *SolmateERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SolmateERC20Session) Symbol

func (_SolmateERC20 *SolmateERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SolmateERC20Session) TotalSupply

func (_SolmateERC20 *SolmateERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*SolmateERC20Session) Transfer

func (_SolmateERC20 *SolmateERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*SolmateERC20Session) TransferFrom

func (_SolmateERC20 *SolmateERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type SolmateERC20Transactor

type SolmateERC20Transactor struct {
	// contains filtered or unexported fields
}

SolmateERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSolmateERC20Transactor

func NewSolmateERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SolmateERC20Transactor, error)

NewSolmateERC20Transactor creates a new write-only instance of SolmateERC20, bound to a specific deployed contract.

func (*SolmateERC20Transactor) Approve

func (_SolmateERC20 *SolmateERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SolmateERC20Transactor) Mint

func (_SolmateERC20 *SolmateERC20Transactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*SolmateERC20Transactor) Permit

func (_SolmateERC20 *SolmateERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SolmateERC20Transactor) Transfer

func (_SolmateERC20 *SolmateERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*SolmateERC20Transactor) TransferFrom

func (_SolmateERC20 *SolmateERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type SolmateERC20TransactorRaw

type SolmateERC20TransactorRaw struct {
	Contract *SolmateERC20Transactor // Generic write-only contract binding to access the raw methods on
}

SolmateERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SolmateERC20TransactorRaw) Transact

func (_SolmateERC20 *SolmateERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SolmateERC20TransactorRaw) Transfer

func (_SolmateERC20 *SolmateERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SolmateERC20TransactorSession

type SolmateERC20TransactorSession struct {
	Contract     *SolmateERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

SolmateERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SolmateERC20TransactorSession) Approve

func (_SolmateERC20 *SolmateERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*SolmateERC20TransactorSession) Mint

func (_SolmateERC20 *SolmateERC20TransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*SolmateERC20TransactorSession) Permit

func (_SolmateERC20 *SolmateERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SolmateERC20TransactorSession) Transfer

func (_SolmateERC20 *SolmateERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*SolmateERC20TransactorSession) TransferFrom

func (_SolmateERC20 *SolmateERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type SolmateERC20Transfer

type SolmateERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SolmateERC20Transfer represents a Transfer event raised by the SolmateERC20 contract.

type SolmateERC20TransferIterator

type SolmateERC20TransferIterator struct {
	Event *SolmateERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SolmateERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SolmateERC20 contract.

func (*SolmateERC20TransferIterator) Close

func (it *SolmateERC20TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SolmateERC20TransferIterator) Error

func (it *SolmateERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SolmateERC20TransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Swapper

type Swapper struct {
	SwapperCaller     // Read-only binding to the contract
	SwapperTransactor // Write-only binding to the contract
	SwapperFilterer   // Log filterer for contract events
}

Swapper is an auto generated Go binding around an Ethereum contract.

func DeploySwapper

func DeploySwapper(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Swapper, error)

DeploySwapper deploys a new Ethereum contract, binding an instance of Swapper to it.

func NewSwapper

func NewSwapper(address common.Address, backend bind.ContractBackend) (*Swapper, error)

NewSwapper creates a new instance of Swapper, bound to a specific deployed contract.

type SwapperCaller

type SwapperCaller struct {
	// contains filtered or unexported fields
}

SwapperCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSwapperCaller

func NewSwapperCaller(address common.Address, caller bind.ContractCaller) (*SwapperCaller, error)

NewSwapperCaller creates a new read-only instance of Swapper, bound to a specific deployed contract.

func (*SwapperCaller) Erc20Module

func (_Swapper *SwapperCaller) Erc20Module(opts *bind.CallOpts) (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

func (*SwapperCaller) GetPolarisERC20

func (_Swapper *SwapperCaller) GetPolarisERC20(opts *bind.CallOpts, denom string) (common.Address, error)

GetPolarisERC20 is a free data retrieval call binding the contract method 0xd6ece467.

Solidity: function getPolarisERC20(string denom) view returns(address)

type SwapperCallerRaw

type SwapperCallerRaw struct {
	Contract *SwapperCaller // Generic read-only contract binding to access the raw methods on
}

SwapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SwapperCallerRaw) Call

func (_Swapper *SwapperCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SwapperCallerSession

type SwapperCallerSession struct {
	Contract *SwapperCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

SwapperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SwapperCallerSession) Erc20Module

func (_Swapper *SwapperCallerSession) Erc20Module() (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

func (*SwapperCallerSession) GetPolarisERC20

func (_Swapper *SwapperCallerSession) GetPolarisERC20(denom string) (common.Address, error)

GetPolarisERC20 is a free data retrieval call binding the contract method 0xd6ece467.

Solidity: function getPolarisERC20(string denom) view returns(address)

type SwapperFilterer

type SwapperFilterer struct {
	// contains filtered or unexported fields
}

SwapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSwapperFilterer

func NewSwapperFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapperFilterer, error)

NewSwapperFilterer creates a new log filterer instance of Swapper, bound to a specific deployed contract.

type SwapperRaw

type SwapperRaw struct {
	Contract *Swapper // Generic contract binding to access the raw methods on
}

SwapperRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SwapperRaw) Call

func (_Swapper *SwapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SwapperRaw) Transact

func (_Swapper *SwapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SwapperRaw) Transfer

func (_Swapper *SwapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SwapperSession

type SwapperSession struct {
	Contract     *Swapper          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SwapperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SwapperSession) Deposit

func (_Swapper *SwapperSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*SwapperSession) Erc20Module

func (_Swapper *SwapperSession) Erc20Module() (common.Address, error)

Erc20Module is a free data retrieval call binding the contract method 0x714ba40c.

Solidity: function erc20Module() view returns(address)

func (*SwapperSession) GetPolarisERC20

func (_Swapper *SwapperSession) GetPolarisERC20(denom string) (common.Address, error)

GetPolarisERC20 is a free data retrieval call binding the contract method 0xd6ece467.

Solidity: function getPolarisERC20(string denom) view returns(address)

func (*SwapperSession) Swap

func (_Swapper *SwapperSession) Swap(denom string, amount *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x9d456b62.

Solidity: function swap(string denom, uint256 amount) returns()

func (*SwapperSession) Swap0

func (_Swapper *SwapperSession) Swap0(token common.Address, amount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xd004f0f7.

Solidity: function swap(address token, uint256 amount) returns()

type SwapperTransactor

type SwapperTransactor struct {
	// contains filtered or unexported fields
}

SwapperTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSwapperTransactor

func NewSwapperTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapperTransactor, error)

NewSwapperTransactor creates a new write-only instance of Swapper, bound to a specific deployed contract.

func (*SwapperTransactor) Deposit

func (_Swapper *SwapperTransactor) Deposit(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*SwapperTransactor) Swap

func (_Swapper *SwapperTransactor) Swap(opts *bind.TransactOpts, denom string, amount *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x9d456b62.

Solidity: function swap(string denom, uint256 amount) returns()

func (*SwapperTransactor) Swap0

func (_Swapper *SwapperTransactor) Swap0(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xd004f0f7.

Solidity: function swap(address token, uint256 amount) returns()

type SwapperTransactorRaw

type SwapperTransactorRaw struct {
	Contract *SwapperTransactor // Generic write-only contract binding to access the raw methods on
}

SwapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SwapperTransactorRaw) Transact

func (_Swapper *SwapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SwapperTransactorRaw) Transfer

func (_Swapper *SwapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SwapperTransactorSession

type SwapperTransactorSession struct {
	Contract     *SwapperTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

SwapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SwapperTransactorSession) Deposit

func (_Swapper *SwapperTransactorSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*SwapperTransactorSession) Swap

func (_Swapper *SwapperTransactorSession) Swap(denom string, amount *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x9d456b62.

Solidity: function swap(string denom, uint256 amount) returns()

func (*SwapperTransactorSession) Swap0

func (_Swapper *SwapperTransactorSession) Swap0(token common.Address, amount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xd004f0f7.

Solidity: function swap(address token, uint256 amount) returns()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL