testing

package
v0.0.0-...-f79a0de Latest Latest
Warning

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

Go to latest
Published: May 15, 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: "0x608060405234801561001057600080fd5b506101db806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a329e8de14610030575b600080fd5b61004a600480360381019061004591906100eb565b61004c565b005b60005a90505b818161005e9190610147565b5a116100525760005a826100729190610147565b90507f1a2dc18f5a2dabdf3809a83ec652290b81d97d915bf5561908090bad91deffc4816040516100a3919061018a565b60405180910390a1505050565b600080fd5b6000819050919050565b6100c8816100b5565b81146100d357600080fd5b50565b6000813590506100e5816100bf565b92915050565b600060208284031215610101576101006100b0565b5b600061010f848285016100d6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610152826100b5565b915061015d836100b5565b925082820390508181111561017557610174610118565b5b92915050565b610184816100b5565b82525050565b600060208201905061019f600083018461017b565b9291505056fea2646970667358221220c80e505e33c2723518aa118f0158bfd3959cf701b519bdabd1344fa221f7feb964736f6c63430008130033",
}

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: "0x608060405234801561001057600080fd5b50604051610c5b380380610c5b833981810160405281019061003291906101bc565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614801561009a5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b156100d1576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101fc565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101898261015e565b9050919050565b6101998161017e565b81146101a457600080fd5b50565b6000815190506101b681610190565b92915050565b600080604083850312156101d3576101d2610159565b5b60006101e1858286016101a7565b92505060206101f2858286016101a7565b9150509250929050565b610a508061020b6000396000f3fe6080604052600436106100555760003560e01c806339cc4c861461005a5780633ab1a494146100855780634cf088d9146100c25780635c19a95c146100ed5780635ee58efc14610109578063e20981ca14610134575b600080fd5b34801561006657600080fd5b5061006f61015d565b60405161007c919061044a565b60405180910390f35b34801561009157600080fd5b506100ac60048036038101906100a791906104d7565b6101f4565b6040516100b9919061044a565b60405180910390f35b3480156100ce57600080fd5b506100d7610299565b6040516100e49190610563565b60405180910390f35b610107600480360381019061010291906104d7565b6102bf565b005b34801561011557600080fd5b5061011e610363565b60405161012b919061059f565b60405180910390f35b34801561014057600080fd5b5061015b600480360381019061015691906105ba565b610387565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339cc4c866040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ef9190610626565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ab1a494836040518263ffffffff1660e01b81526004016102509190610662565b6020604051808303816000875af115801561026f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102939190610626565b50919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663026e402b82346040518363ffffffff1660e01b815260040161031c929190610696565b6020604051808303816000875af115801561033b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035f9190610626565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663562c67a483836040518363ffffffff1660e01b81526004016103e29291906106bf565b6000604051808303816000875af1158015610401573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061042a91906109d1565b505050565b60008115159050919050565b6104448161042f565b82525050565b600060208201905061045f600083018461043b565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006104a482610479565b9050919050565b6104b481610499565b81146104bf57600080fd5b50565b6000813590506104d1816104ab565b92915050565b6000602082840312156104ed576104ec61046f565b5b60006104fb848285016104c2565b91505092915050565b6000819050919050565b600061052961052461051f84610479565b610504565b610479565b9050919050565b600061053b8261050e565b9050919050565b600061054d82610530565b9050919050565b61055d81610542565b82525050565b60006020820190506105786000830184610554565b92915050565b600061058982610530565b9050919050565b6105998161057e565b82525050565b60006020820190506105b46000830184610590565b92915050565b600080604083850312156105d1576105d061046f565b5b60006105df858286016104c2565b92505060206105f0858286016104c2565b9150509250929050565b6106038161042f565b811461060e57600080fd5b50565b600081519050610620816105fa565b92915050565b60006020828403121561063c5761063b61046f565b5b600061064a84828501610611565b91505092915050565b61065c81610499565b82525050565b60006020820190506106776000830184610653565b92915050565b6000819050919050565b6106908161067d565b82525050565b60006040820190506106ab6000830185610653565b6106b86020830184610687565b9392505050565b60006040820190506106d46000830185610653565b6106e16020830184610653565b9392505050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610736826106ed565b810181811067ffffffffffffffff82111715610755576107546106fe565b5b80604052505050565b6000610768610465565b9050610774828261072d565b919050565b600067ffffffffffffffff821115610794576107936106fe565b5b602082029050602081019050919050565b600080fd5b600080fd5b600080fd5b6107bd8161067d565b81146107c857600080fd5b50565b6000815190506107da816107b4565b92915050565b600080fd5b600067ffffffffffffffff821115610800576107ff6106fe565b5b610809826106ed565b9050602081019050919050565b60005b83811015610834578082015181840152602081019050610819565b60008484015250505050565b600061085361084e846107e5565b61075e565b90508281526020810184848401111561086f5761086e6107e0565b5b61087a848285610816565b509392505050565b600082601f830112610897576108966106e8565b5b81516108a7848260208601610840565b91505092915050565b6000604082840312156108c6576108c56107aa565b5b6108d0604061075e565b905060006108e0848285016107cb565b600083015250602082015167ffffffffffffffff811115610904576109036107af565b5b61091084828501610882565b60208301525092915050565b600061092f61092a84610779565b61075e565b90508083825260208201905060208402830185811115610952576109516107a5565b5b835b8181101561099957805167ffffffffffffffff811115610977576109766106e8565b5b80860161098489826108b0565b85526020850194505050602081019050610954565b5050509392505050565b600082601f8301126109b8576109b76106e8565b5b81516109c884826020860161091c565b91505092915050565b6000602082840312156109e7576109e661046f565b5b600082015167ffffffffffffffff811115610a0557610a04610474565b5b610a11848285016109a3565b9150509291505056fea2646970667358221220e08dcef6e97019b1fc11d4b8b9d702e27c2572cbd31c9e3ce342ebf7acbdf67c64736f6c63430008130033",
}

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: "0x61010060405273d9a998cac66092748ffec7cfbd155aae1737c2ff73ffffffffffffffffffffffffffffffffffffffff1660e09073ffffffffffffffffffffffffffffffffffffffff168152503480156200005957600080fd5b50604051620029803803806200298083398181016040528101906200007f919062000302565b818160128260009081620000949190620005d2565b508160019081620000a69190620005d2565b508060ff1660808160ff16815250504660a08181525050620000cd620000df60201b60201c565b60c0818152505050505050506200084f565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405162000113919062000768565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6463060405160200162000154959493929190620007f2565b60405160208183030381529060405280519060200120905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620001d8826200018d565b810181811067ffffffffffffffff82111715620001fa57620001f96200019e565b5b80604052505050565b60006200020f6200016f565b90506200021d8282620001cd565b919050565b600067ffffffffffffffff82111562000240576200023f6200019e565b5b6200024b826200018d565b9050602081019050919050565b60005b83811015620002785780820151818401526020810190506200025b565b60008484015250505050565b60006200029b620002958462000222565b62000203565b905082815260208101848484011115620002ba57620002b962000188565b5b620002c784828562000258565b509392505050565b600082601f830112620002e757620002e662000183565b5b8151620002f984826020860162000284565b91505092915050565b600080604083850312156200031c576200031b62000179565b5b600083015167ffffffffffffffff8111156200033d576200033c6200017e565b5b6200034b85828601620002cf565b925050602083015167ffffffffffffffff8111156200036f576200036e6200017e565b5b6200037d85828601620002cf565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003da57607f821691505b602082108103620003f057620003ef62000392565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200045a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200041b565b6200046686836200041b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004b3620004ad620004a7846200047e565b62000488565b6200047e565b9050919050565b6000819050919050565b620004cf8362000492565b620004e7620004de82620004ba565b84845462000428565b825550505050565b600090565b620004fe620004ef565b6200050b818484620004c4565b505050565b5b81811015620005335762000527600082620004f4565b60018101905062000511565b5050565b601f82111562000582576200054c81620003f6565b62000557846200040b565b8101602085101562000567578190505b6200057f62000576856200040b565b83018262000510565b50505b505050565b600082821c905092915050565b6000620005a76000198460080262000587565b1980831691505092915050565b6000620005c2838362000594565b9150826002028217905092915050565b620005dd8262000387565b67ffffffffffffffff811115620005f957620005f86200019e565b5b620006058254620003c1565b6200061282828562000537565b600060209050601f8311600181146200064a576000841562000635578287015190505b620006418582620005b4565b865550620006b1565b601f1984166200065a86620003f6565b60005b8281101562000684578489015182556001820191506020850194506020810190506200065d565b86831015620006a45784890151620006a0601f89168262000594565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60008190508160005260206000209050919050565b60008154620006e881620003c1565b620006f48186620006b9565b9450600182166000811462000712576001811462000728576200075f565b60ff19831686528115158202860193506200075f565b6200073385620006c4565b60005b83811015620007575781548189015260018201915060208101905062000736565b838801955050505b50505092915050565b6000620007768284620006d9565b915081905092915050565b6000819050919050565b620007968162000781565b82525050565b620007a7816200047e565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007da82620007ad565b9050919050565b620007ec81620007cd565b82525050565b600060a0820190506200080960008301886200078b565b6200081860208301876200078b565b6200082760408301866200078b565b6200083660608301856200079c565b620008456080830184620007e1565b9695505050505050565b60805160a05160c05160e0516120db620008a56000396000818161093501528181610a1901528181610aee01528181610ba101526110c40152600061090e015260006108da015260006108b401526120db6000f3fe6080604052600436106101025760003560e01c806370a08231116100955780639fa6dd35116100645780639fa6dd3514610358578063a9059cbb14610374578063d505accf146103b1578063dd62ed3e146103da578063f639187e1461041757610109565b806370a08231146102885780637ecebe00146102c557806395d89b41146103025780639de702581461032d57610109565b80632e1a7d4d116100d15780632e1a7d4d146101de578063313ce567146102075780633644e515146102325780634cf088d91461025d57610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a157610109565b3661010957005b600080fd5b34801561011a57600080fd5b50610123610454565b6040516101309190611421565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b91906114eb565b6104e2565b60405161016d9190611546565b60405180910390f35b34801561018257600080fd5b5061018b6105d4565b6040516101989190611570565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c3919061158b565b6105da565b6040516101d59190611546565b60405180910390f35b3480156101ea57600080fd5b50610205600480360381019061020091906115de565b610824565b005b34801561021357600080fd5b5061021c6108b2565b6040516102299190611627565b60405180910390f35b34801561023e57600080fd5b506102476108d6565b604051610254919061165b565b60405180910390f35b34801561026957600080fd5b50610272610933565b60405161027f91906116d5565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa91906116f0565b610957565b6040516102bc9190611570565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e791906116f0565b61096f565b6040516102f99190611570565b60405180910390f35b34801561030e57600080fd5b50610317610987565b6040516103249190611421565b60405180910390f35b34801561033957600080fd5b50610342610a15565b60405161034f91906117db565b60405180910390f35b610372600480360381019061036d91906115de565b610ab0565b005b34801561038057600080fd5b5061039b600480360381019061039691906114eb565b610c8e565b6040516103a89190611546565b60405180910390f35b3480156103bd57600080fd5b506103d860048036038101906103d39190611855565b610da2565b005b3480156103e657600080fd5b5061040160048036038101906103fc91906118f7565b61109b565b60405161040e9190611570565b60405180910390f35b34801561042357600080fd5b5061043e600480360381019061043991906116f0565b6110c0565b60405161044b9190611570565b60405180910390f35b6000805461046190611966565b80601f016020809104026020016040519081016040528092919081815260200182805461048d90611966565b80156104da5780601f106104af576101008083540402835291602001916104da565b820191906000526020600020905b8154815290600101906020018083116104bd57829003601f168201915b505050505081565b600081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105c29190611570565b60405180910390a36001905092915050565b60025481565b600080600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461071057828161068f91906119c6565b600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b82600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461075f91906119c6565b9250508190555082600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516108109190611570565b60405180910390a360019150509392505050565b6000810361085e576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108683382611165565b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108ae573d6000803e3d6000fd5b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f0000000000000000000000000000000000000000000000000000000000000000461461090c57610907611235565b61092e565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60036020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b6001805461099490611966565b80601f01602080910402602001604051908101604052809291908181526020018280546109c090611966565b8015610a0d5780601f106109e257610100808354040283529160200191610a0d565b820191906000526020600020905b8154815290600101906020018083116109f057829003601f168201915b505050505081565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639de702586040518163ffffffff1660e01b8152600401600060405180830381865afa158015610a82573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610aab9190611b57565b905090565b60008103610aea576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639de702586040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b57573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610b809190611b57565b600081518110610b9357610b92611ba0565b5b6020026020010151905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663026e402b83856040518363ffffffff1660e01b8152600401610bfa929190611bde565b6020604051808303816000875af1158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190611c33565b905080610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690611cac565b60405180910390fd5b610c8933846112c1565b505050565b600081600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cdf91906119c6565b9250508190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d909190611570565b60405180910390a36001905092915050565b42841015610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc90611d18565b60405180910390fd5b60006001610df16108d6565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98a8a8a600560008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050558b604051602001610e7996959493929190611d38565b60405160208183030381529060405280519060200120604051602001610ea0929190611e11565b6040516020818303038152906040528051906020012085858560405160008152602001604052604051610ed69493929190611e48565b6020604051602081039080840390855afa158015610ef8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610f6c57508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290611ed9565b60405180910390fd5b85600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161108a9190611570565b60405180910390a350505050505050565b6004602052816000526040600020602052806000526040600020600091509150505481565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166315049a5a30846040518363ffffffff1660e01b815260040161111d929190611ef9565b602060405180830381865afa15801561113a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115e9190611f37565b9050919050565b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111b491906119c6565b9250508190555080600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112299190611570565b60405180910390a35050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516112679190612007565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016112a695949392919061201e565b60405160208183030381529060405280519060200120905090565b80600260008282546112d39190612071565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516113859190611570565b60405180910390a35050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113cb5780820151818401526020810190506113b0565b60008484015250505050565b6000601f19601f8301169050919050565b60006113f382611391565b6113fd818561139c565b935061140d8185602086016113ad565b611416816113d7565b840191505092915050565b6000602082019050818103600083015261143b81846113e8565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061148282611457565b9050919050565b61149281611477565b811461149d57600080fd5b50565b6000813590506114af81611489565b92915050565b6000819050919050565b6114c8816114b5565b81146114d357600080fd5b50565b6000813590506114e5816114bf565b92915050565b600080604083850312156115025761150161144d565b5b6000611510858286016114a0565b9250506020611521858286016114d6565b9150509250929050565b60008115159050919050565b6115408161152b565b82525050565b600060208201905061155b6000830184611537565b92915050565b61156a816114b5565b82525050565b60006020820190506115856000830184611561565b92915050565b6000806000606084860312156115a4576115a361144d565b5b60006115b2868287016114a0565b93505060206115c3868287016114a0565b92505060406115d4868287016114d6565b9150509250925092565b6000602082840312156115f4576115f361144d565b5b6000611602848285016114d6565b91505092915050565b600060ff82169050919050565b6116218161160b565b82525050565b600060208201905061163c6000830184611618565b92915050565b6000819050919050565b61165581611642565b82525050565b6000602082019050611670600083018461164c565b92915050565b6000819050919050565b600061169b61169661169184611457565b611676565b611457565b9050919050565b60006116ad82611680565b9050919050565b60006116bf826116a2565b9050919050565b6116cf816116b4565b82525050565b60006020820190506116ea60008301846116c6565b92915050565b6000602082840312156117065761170561144d565b5b6000611714848285016114a0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61175281611477565b82525050565b60006117648383611749565b60208301905092915050565b6000602082019050919050565b60006117888261171d565b6117928185611728565b935061179d83611739565b8060005b838110156117ce5781516117b58882611758565b97506117c083611770565b9250506001810190506117a1565b5085935050505092915050565b600060208201905081810360008301526117f5818461177d565b905092915050565b6118068161160b565b811461181157600080fd5b50565b600081359050611823816117fd565b92915050565b61183281611642565b811461183d57600080fd5b50565b60008135905061184f81611829565b92915050565b600080600080600080600060e0888a0312156118745761187361144d565b5b60006118828a828b016114a0565b97505060206118938a828b016114a0565b96505060406118a48a828b016114d6565b95505060606118b58a828b016114d6565b94505060806118c68a828b01611814565b93505060a06118d78a828b01611840565b92505060c06118e88a828b01611840565b91505092959891949750929550565b6000806040838503121561190e5761190d61144d565b5b600061191c858286016114a0565b925050602061192d858286016114a0565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061197e57607f821691505b60208210810361199157611990611937565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006119d1826114b5565b91506119dc836114b5565b92508282039050818111156119f4576119f3611997565b5b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a37826113d7565b810181811067ffffffffffffffff82111715611a5657611a556119ff565b5b80604052505050565b6000611a69611443565b9050611a758282611a2e565b919050565b600067ffffffffffffffff821115611a9557611a946119ff565b5b602082029050602081019050919050565b600080fd5b600081519050611aba81611489565b92915050565b6000611ad3611ace84611a7a565b611a5f565b90508083825260208201905060208402830185811115611af657611af5611aa6565b5b835b81811015611b1f5780611b0b8882611aab565b845260208401935050602081019050611af8565b5050509392505050565b600082601f830112611b3e57611b3d6119fa565b5b8151611b4e848260208601611ac0565b91505092915050565b600060208284031215611b6d57611b6c61144d565b5b600082015167ffffffffffffffff811115611b8b57611b8a611452565b5b611b9784828501611b29565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b611bd881611477565b82525050565b6000604082019050611bf36000830185611bcf565b611c006020830184611561565b9392505050565b611c108161152b565b8114611c1b57600080fd5b50565b600081519050611c2d81611c07565b92915050565b600060208284031215611c4957611c4861144d565b5b6000611c5784828501611c1e565b91505092915050565b7f4661696c656420746f2064656c65676174650000000000000000000000000000600082015250565b6000611c9660128361139c565b9150611ca182611c60565b602082019050919050565b60006020820190508181036000830152611cc581611c89565b9050919050565b7f5045524d49545f444541444c494e455f45585049524544000000000000000000600082015250565b6000611d0260178361139c565b9150611d0d82611ccc565b602082019050919050565b60006020820190508181036000830152611d3181611cf5565b9050919050565b600060c082019050611d4d600083018961164c565b611d5a6020830188611bcf565b611d676040830187611bcf565b611d746060830186611561565b611d816080830185611561565b611d8e60a0830184611561565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000611dda600283611d99565b9150611de582611da4565b600282019050919050565b6000819050919050565b611e0b611e0682611642565b611df0565b82525050565b6000611e1c82611dcd565b9150611e288285611dfa565b602082019150611e388284611dfa565b6020820191508190509392505050565b6000608082019050611e5d600083018761164c565b611e6a6020830186611618565b611e77604083018561164c565b611e84606083018461164c565b95945050505050565b7f494e56414c49445f5349474e4552000000000000000000000000000000000000600082015250565b6000611ec3600e8361139c565b9150611ece82611e8d565b602082019050919050565b60006020820190508181036000830152611ef281611eb6565b9050919050565b6000604082019050611f0e6000830185611bcf565b611f1b6020830184611bcf565b9392505050565b600081519050611f31816114bf565b92915050565b600060208284031215611f4d57611f4c61144d565b5b6000611f5b84828501611f22565b91505092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154611f9181611966565b611f9b8186611f64565b94506001821660008114611fb65760018114611fcb57611ffe565b60ff1983168652811515820286019350611ffe565b611fd485611f6f565b60005b83811015611ff657815481890152600182019150602081019050611fd7565b838801955050505b50505092915050565b60006120138284611f84565b915081905092915050565b600060a082019050612033600083018861164c565b612040602083018761164c565b61204d604083018661164c565b61205a6060830185611561565b6120676080830184611bcf565b9695505050505050565b600061207c826114b5565b9150612087836114b5565b925082820190508082111561209f5761209e611997565b5b9291505056fea264697066735822122023394746db5f3749b360060b332b44336805f21139b2a7868bbcc34daafa299864736f6c63430008130033",
}

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\":\"afury\",\"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: "0x60a06040526269696973ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152503480156200004757600080fd5b50600060805173ffffffffffffffffffffffffffffffffffffffff1663096b4069333363075bcd156040518463ffffffff1660e01b81526004016200008f9392919062000427565b6020604051808303816000875af1158015620000af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d59190620004ca565b9050806200011a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000111906200054c565b60405180910390fd5b60805173ffffffffffffffffffffffffffffffffffffffff1663a333e57c6040518163ffffffff1660e01b815260040162000155906200056e565b602060405180830381865afa15801562000173573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001999190620005d5565b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060805173ffffffffffffffffffffffffffffffffffffffff1663cd22a01860008054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040162000235919062000668565b600060405180830381865afa15801562000253573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906200027e919062000804565b600190816200028e919062000a8c565b50604051602001620002a09062000ba5565b604051602081830303815290604052805190602001206001604051602001620002ca919062000c4b565b604051602081830303815290604052805190602001201462000323576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031a9062000cb4565b60405180910390fd5b5062000cd6565b600082825260208201905092915050565b7f6162657261000000000000000000000000000000000000000000000000000000600082015250565b6000620003736005836200032a565b915062000380826200033b565b602082019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003b8826200038b565b9050919050565b620003ca81620003ab565b82525050565b6000819050919050565b6000819050919050565b6000819050919050565b60006200040f620004096200040384620003d0565b620003e4565b620003da565b9050919050565b6200042181620003ee565b82525050565b60006080820190508181036000830152620004428162000364565b9050620004536020830186620003bf565b620004626040830185620003bf565b62000471606083018462000416565b949350505050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b620004a4816200048d565b8114620004b057600080fd5b50565b600081519050620004c48162000499565b92915050565b600060208284031215620004e357620004e262000483565b5b6000620004f384828501620004b3565b91505092915050565b7f6661696c656420746f207472616e736665722061626572610000000000000000600082015250565b6000620005346018836200032a565b91506200054182620004fc565b602082019050919050565b60006020820190508181036000830152620005678162000525565b9050919050565b60006020820190508181036000830152620005898162000364565b9050919050565b60006200059d82620003ab565b9050919050565b620005af8162000590565b8114620005bb57600080fd5b50565b600081519050620005cf81620005a4565b92915050565b600060208284031215620005ee57620005ed62000483565b5b6000620005fe84828501620005be565b91505092915050565b600062000628620006226200061c846200038b565b620003e4565b6200038b565b9050919050565b60006200063c8262000607565b9050919050565b600062000650826200062f565b9050919050565b620006628162000643565b82525050565b60006020820190506200067f600083018462000657565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006da826200068f565b810181811067ffffffffffffffff82111715620006fc57620006fb620006a0565b5b80604052505050565b60006200071162000479565b90506200071f8282620006cf565b919050565b600067ffffffffffffffff821115620007425762000741620006a0565b5b6200074d826200068f565b9050602081019050919050565b60005b838110156200077a5780820151818401526020810190506200075d565b60008484015250505050565b60006200079d620007978462000724565b62000705565b905082815260208101848484011115620007bc57620007bb6200068a565b5b620007c98482856200075a565b509392505050565b600082601f830112620007e957620007e862000685565b5b8151620007fb84826020860162000786565b91505092915050565b6000602082840312156200081d576200081c62000483565b5b600082015167ffffffffffffffff8111156200083e576200083d62000488565b5b6200084c84828501620007d1565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008a857607f821691505b602082108103620008be57620008bd62000860565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009287fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620008e9565b620009348683620008e9565b95508019841693508086168417925050509392505050565b60006200096d620009676200096184620003da565b620003e4565b620003da565b9050919050565b6000819050919050565b62000989836200094c565b620009a1620009988262000974565b848454620008f6565b825550505050565b600090565b620009b8620009a9565b620009c58184846200097e565b505050565b5b81811015620009ed57620009e1600082620009ae565b600181019050620009cb565b5050565b601f82111562000a3c5762000a0681620008c4565b62000a1184620008d9565b8101602085101562000a21578190505b62000a3962000a3085620008d9565b830182620009ca565b50505b505050565b600082821c905092915050565b600062000a616000198460080262000a41565b1980831691505092915050565b600062000a7c838362000a4e565b9150826002028217905092915050565b62000a978262000855565b67ffffffffffffffff81111562000ab35762000ab2620006a0565b5b62000abf82546200088f565b62000acc828285620009f1565b600060209050601f83116001811462000b04576000841562000aef578287015190505b62000afb858262000a6e565b86555062000b6b565b601f19841662000b1486620008c4565b60005b8281101562000b3e5784890151825560018201915060208501945060208101905062000b17565b8683101562000b5e578489015162000b5a601f89168262000a4e565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600062000b8d60058362000b73565b915062000b9a826200033b565b600582019050919050565b600062000bb28262000b7e565b9150819050919050565b6000815462000bcb816200088f565b62000bd7818662000b73565b9450600182166000811462000bf5576001811462000c0b5762000c42565b60ff198316865281151582028601935062000c42565b62000c1685620008c4565b60005b8381101562000c3a5781548189015260018201915060208101905062000c19565b838801955050505b50505092915050565b600062000c59828462000bbc565b915081905092915050565b7f72657475726e6564207468652077726f6e672064656e6f6d0000000000000000600082015250565b600062000c9c6018836200032a565b915062000ca98262000c64565b602082019050919050565b6000602082019050818103600083015262000ccf8162000c8d565b9050919050565b60805161039462000cf1600039600060c601526103946000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063558f208414610046578063714ba40c14610064578063c370b04214610082575b600080fd5b61004e6100a0565b60405161005b91906101f5565b60405180910390f35b61006c6100c4565b6040516100799190610231565b60405180910390f35b61008a6100e8565b60405161009791906102dc565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b600180546100f59061032d565b80601f01602080910402602001604051908101604052809291908181526020018280546101219061032d565b801561016e5780601f106101435761010080835404028352916020019161016e565b820191906000526020600020905b81548152906001019060200180831161015157829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006101bb6101b66101b184610176565b610196565b610176565b9050919050565b60006101cd826101a0565b9050919050565b60006101df826101c2565b9050919050565b6101ef816101d4565b82525050565b600060208201905061020a60008301846101e6565b92915050565b600061021b826101c2565b9050919050565b61022b81610210565b82525050565b60006020820190506102466000830184610222565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561028657808201518184015260208101905061026b565b60008484015250505050565b6000601f19601f8301169050919050565b60006102ae8261024c565b6102b88185610257565b93506102c8818560208601610268565b6102d181610292565b840191505092915050565b600060208201905081810360008301526102f681846102a3565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061034557607f821691505b602082108103610358576103576102fe565b5b5091905056fea26469706673582212208c3845d64fe7fa9a3ae7d2a06468f90ff06fdd68f05041a13f14c494c1cdb8d864736f6c63430008130033",
}

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: "0x60e06040523480156200001157600080fd5b506040518060400160405280600581526020017f546f6b656e0000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f544b00000000000000000000000000000000000000000000000000000000000081525060128260009081620000919190620003e4565b508160019081620000a39190620003e4565b508060ff1660808160ff16815250504660a08181525050620000ca620000da60201b60201c565b60c0818152505050505062000661565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516200010e91906200057a565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016200014f95949392919062000604565b60405160208183030381529060405280519060200120905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620001ec57607f821691505b602082108103620002025762000201620001a4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200026c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200022d565b6200027886836200022d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002c5620002bf620002b98462000290565b6200029a565b62000290565b9050919050565b6000819050919050565b620002e183620002a4565b620002f9620002f082620002cc565b8484546200023a565b825550505050565b600090565b6200031062000301565b6200031d818484620002d6565b505050565b5b8181101562000345576200033960008262000306565b60018101905062000323565b5050565b601f82111562000394576200035e8162000208565b62000369846200021d565b8101602085101562000379578190505b6200039162000388856200021d565b83018262000322565b50505b505050565b600082821c905092915050565b6000620003b96000198460080262000399565b1980831691505092915050565b6000620003d48383620003a6565b9150826002028217905092915050565b620003ef826200016a565b67ffffffffffffffff8111156200040b576200040a62000175565b5b620004178254620001d3565b6200042482828562000349565b600060209050601f8311600181146200045c576000841562000447578287015190505b620004538582620003c6565b865550620004c3565b601f1984166200046c8662000208565b60005b8281101562000496578489015182556001820191506020850194506020810190506200046f565b86831015620004b65784890151620004b2601f891682620003a6565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60008190508160005260206000209050919050565b60008154620004fa81620001d3565b620005068186620004cb565b945060018216600081146200052457600181146200053a5762000571565b60ff198316865281151582028601935062000571565b6200054585620004d6565b60005b83811015620005695781548189015260018201915060208101905062000548565b838801955050505b50505092915050565b6000620005888284620004eb565b915081905092915050565b6000819050919050565b620005a88162000593565b82525050565b620005b98162000290565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005ec82620005bf565b9050919050565b620005fe81620005df565b82525050565b600060a0820190506200061b60008301886200059d565b6200062a60208301876200059d565b6200063960408301866200059d565b620006486060830185620005ae565b620006576080830184620005f3565b9695505050505050565b60805160a05160c0516116416200069160003960006106ee015260006106ba0152600061069401526116416000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b4114610228578063a9059cbb14610246578063d505accf14610276578063dd62ed3e14610292576100cf565b806340c10f19146101ac57806370a08231146101c85780637ecebe00146101f8576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce567146101705780633644e5151461018e575b600080fd5b6100dc6102c2565b6040516100e99190610e4b565b60405180910390f35b61010c60048036038101906101079190610f06565b610350565b6040516101199190610f61565b60405180910390f35b61012a610442565b6040516101379190610f8b565b60405180910390f35b61015a60048036038101906101559190610fa6565b610448565b6040516101679190610f61565b60405180910390f35b610178610692565b6040516101859190611015565b60405180910390f35b6101966106b6565b6040516101a39190611049565b60405180910390f35b6101c660048036038101906101c19190610f06565b610713565b005b6101e260048036038101906101dd9190611064565b61076f565b6040516101ef9190610f8b565b60405180910390f35b610212600480360381019061020d9190611064565b610787565b60405161021f9190610f8b565b60405180910390f35b61023061079f565b60405161023d9190610e4b565b60405180910390f35b610260600480360381019061025b9190610f06565b61082d565b60405161026d9190610f61565b60405180910390f35b610290600480360381019061028b91906110e9565b610941565b005b6102ac60048036038101906102a7919061118b565b610c3a565b6040516102b99190610f8b565b60405180910390f35b600080546102cf906111fa565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb906111fa565b80156103485780601f1061031d57610100808354040283529160200191610348565b820191906000526020600020905b81548152906001019060200180831161032b57829003601f168201915b505050505081565b600081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104309190610f8b565b60405180910390a36001905092915050565b60025481565b600080600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461057e5782816104fd919061125a565b600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b82600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546105cd919061125a565b9250508190555082600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161067e9190610f8b565b60405180910390a360019150509392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000046146106ec576106e7610c5f565b61070e565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b61071d8282610ceb565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516107639190610f8b565b60405180910390a25050565b60036020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b600180546107ac906111fa565b80601f01602080910402602001604051908101604052809291908181526020018280546107d8906111fa565b80156108255780601f106107fa57610100808354040283529160200191610825565b820191906000526020600020905b81548152906001019060200180831161080857829003601f168201915b505050505081565b600081600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461087e919061125a565b9250508190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161092f9190610f8b565b60405180910390a36001905092915050565b42841015610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b906112da565b60405180910390fd5b600060016109906106b6565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98a8a8a600560008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050558b604051602001610a1896959493929190611309565b60405160208183030381529060405280519060200120604051602001610a3f9291906113e2565b6040516020818303038152906040528051906020012085858560405160008152602001604052604051610a759493929190611419565b6020604051602081039080840390855afa158015610a97573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610b0b57508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b41906114aa565b60405180910390fd5b85600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610c299190610f8b565b60405180910390a350505050505050565b6004602052816000526040600020602052806000526040600020600091509150505481565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610c91919061156d565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001610cd0959493929190611584565b60405160208183030381529060405280519060200120905090565b8060026000828254610cfd91906115d7565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610daf9190610f8b565b60405180910390a35050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610df5578082015181840152602081019050610dda565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e1d82610dbb565b610e278185610dc6565b9350610e37818560208601610dd7565b610e4081610e01565b840191505092915050565b60006020820190508181036000830152610e658184610e12565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610e9d82610e72565b9050919050565b610ead81610e92565b8114610eb857600080fd5b50565b600081359050610eca81610ea4565b92915050565b6000819050919050565b610ee381610ed0565b8114610eee57600080fd5b50565b600081359050610f0081610eda565b92915050565b60008060408385031215610f1d57610f1c610e6d565b5b6000610f2b85828601610ebb565b9250506020610f3c85828601610ef1565b9150509250929050565b60008115159050919050565b610f5b81610f46565b82525050565b6000602082019050610f766000830184610f52565b92915050565b610f8581610ed0565b82525050565b6000602082019050610fa06000830184610f7c565b92915050565b600080600060608486031215610fbf57610fbe610e6d565b5b6000610fcd86828701610ebb565b9350506020610fde86828701610ebb565b9250506040610fef86828701610ef1565b9150509250925092565b600060ff82169050919050565b61100f81610ff9565b82525050565b600060208201905061102a6000830184611006565b92915050565b6000819050919050565b61104381611030565b82525050565b600060208201905061105e600083018461103a565b92915050565b60006020828403121561107a57611079610e6d565b5b600061108884828501610ebb565b91505092915050565b61109a81610ff9565b81146110a557600080fd5b50565b6000813590506110b781611091565b92915050565b6110c681611030565b81146110d157600080fd5b50565b6000813590506110e3816110bd565b92915050565b600080600080600080600060e0888a03121561110857611107610e6d565b5b60006111168a828b01610ebb565b97505060206111278a828b01610ebb565b96505060406111388a828b01610ef1565b95505060606111498a828b01610ef1565b945050608061115a8a828b016110a8565b93505060a061116b8a828b016110d4565b92505060c061117c8a828b016110d4565b91505092959891949750929550565b600080604083850312156111a2576111a1610e6d565b5b60006111b085828601610ebb565b92505060206111c185828601610ebb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061121257607f821691505b602082108103611225576112246111cb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061126582610ed0565b915061127083610ed0565b92508282039050818111156112885761128761122b565b5b92915050565b7f5045524d49545f444541444c494e455f45585049524544000000000000000000600082015250565b60006112c4601783610dc6565b91506112cf8261128e565b602082019050919050565b600060208201905081810360008301526112f3816112b7565b9050919050565b61130381610e92565b82525050565b600060c08201905061131e600083018961103a565b61132b60208301886112fa565b61133860408301876112fa565b6113456060830186610f7c565b6113526080830185610f7c565b61135f60a0830184610f7c565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006113ab60028361136a565b91506113b682611375565b600282019050919050565b6000819050919050565b6113dc6113d782611030565b6113c1565b82525050565b60006113ed8261139e565b91506113f982856113cb565b60208201915061140982846113cb565b6020820191508190509392505050565b600060808201905061142e600083018761103a565b61143b6020830186611006565b611448604083018561103a565b611455606083018461103a565b95945050505050565b7f494e56414c49445f5349474e4552000000000000000000000000000000000000600082015250565b6000611494600e83610dc6565b915061149f8261145e565b602082019050919050565b600060208201905081810360008301526114c381611487565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546114f7816111fa565b61150181866114ca565b9450600182166000811461151c576001811461153157611564565b60ff1983168652811515820286019350611564565b61153a856114d5565b60005b8381101561155c5781548189015260018201915060208101905061153d565b838801955050505b50505092915050565b600061157982846114ea565b915081905092915050565b600060a082019050611599600083018861103a565b6115a6602083018761103a565b6115b3604083018661103a565b6115c06060830185610f7c565b6115cd60808301846112fa565b9695505050505050565b60006115e282610ed0565b91506115ed83610ed0565b92508282019050808211156116055761160461122b565b5b9291505056fea2646970667358221220a5c0daf7c7224ccc389de7a80ada58dba440bfd0d8c08b5e7bd1bbaacaf2f95d64736f6c63430008130033",
}

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\":\"getGridironERC20\",\"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: "0x60a06040526269696973ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004657600080fd5b50608051610b65610077600039600081816101c9015281816101ef015281816102dd01526103c80152610b656000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806347e7ef241461005c578063714ba40c146100785780639d456b6214610096578063d004f0f7146100b2578063d6ece467146100ce575b600080fd5b61007660048036038101906100719190610508565b6100fe565b005b6100806101c7565b60405161008d91906105a7565b60405180910390f35b6100b060048036038101906100ab9190610627565b6101eb565b005b6100cc60048036038101906100c791906106c5565b6102d9565b005b6100e860048036038101906100e39190610705565b6103c4565b6040516100f59190610773565b60405180910390f35b60008273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161013d939291906107ac565b6020604051808303816000875af115801561015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610180919061081b565b9050806101c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b9906108a5565b60405180910390fd5b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663096b406985853333876040518663ffffffff1660e01b815260040161024e959493929190610912565b6020604051808303816000875af115801561026d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610291919061081b565b9050806102d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ca906109d2565b60405180910390fd5b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b96d8bec843333866040518563ffffffff1660e01b815260040161033a94939291906109f2565b6020604051808303816000875af1158015610359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037d919061081b565b9050806103bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b690610aa9565b60405180910390fd5b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a333e57c84846040518363ffffffff1660e01b8152600401610421929190610ac9565b602060405180830381865afa15801561043e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104629190610b02565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061049f82610474565b9050919050565b6104af81610494565b81146104ba57600080fd5b50565b6000813590506104cc816104a6565b92915050565b6000819050919050565b6104e5816104d2565b81146104f057600080fd5b50565b600081359050610502816104dc565b92915050565b6000806040838503121561051f5761051e61046a565b5b600061052d858286016104bd565b925050602061053e858286016104f3565b9150509250929050565b6000819050919050565b600061056d61056861056384610474565b610548565b610474565b9050919050565b600061057f82610552565b9050919050565b600061059182610574565b9050919050565b6105a181610586565b82525050565b60006020820190506105bc6000830184610598565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126105e7576105e66105c2565b5b8235905067ffffffffffffffff811115610604576106036105c7565b5b6020830191508360018202830111156106205761061f6105cc565b5b9250929050565b6000806000604084860312156106405761063f61046a565b5b600084013567ffffffffffffffff81111561065e5761065d61046f565b5b61066a868287016105d1565b9350935050602061067d868287016104f3565b9150509250925092565b600061069282610494565b9050919050565b6106a281610687565b81146106ad57600080fd5b50565b6000813590506106bf81610699565b92915050565b600080604083850312156106dc576106db61046a565b5b60006106ea858286016106b0565b92505060206106fb858286016104f3565b9150509250929050565b6000806020838503121561071c5761071b61046a565b5b600083013567ffffffffffffffff81111561073a5761073961046f565b5b610746858286016105d1565b92509250509250929050565b600061075d82610574565b9050919050565b61076d81610752565b82525050565b60006020820190506107886000830184610764565b92915050565b61079781610494565b82525050565b6107a6816104d2565b82525050565b60006060820190506107c1600083018661078e565b6107ce602083018561078e565b6107db604083018461079d565b949350505050565b60008115159050919050565b6107f8816107e3565b811461080357600080fd5b50565b600081519050610815816107ef565b92915050565b6000602082840312156108315761083061046a565b5b600061083f84828501610806565b91505092915050565b600082825260208201905092915050565b7f537761707065723a207472616e7366657246726f6d206661696c656400000000600082015250565b600061088f601c83610848565b915061089a82610859565b602082019050919050565b600060208201905081810360008301526108be81610882565b9050919050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006108f18385610848565b93506108fe8385846108c5565b610907836108d4565b840190509392505050565b6000608082019050818103600083015261092d8187896108e5565b905061093c602083018661078e565b610949604083018561078e565b610956606083018461079d565b9695505050505050565b7f537761707065723a207472616e73666572436f696e546f45524332302066616960008201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b60006109bc602383610848565b91506109c782610960565b604082019050919050565b600060208201905081810360008301526109eb816109af565b9050919050565b6000608082019050610a076000830187610764565b610a14602083018661078e565b610a21604083018561078e565b610a2e606083018461079d565b95945050505050565b7f537761707065723a207472616e736665724552433230546f436f696e2066616960008201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b6000610a93602383610848565b9150610a9e82610a37565b604082019050919050565b60006020820190508181036000830152610ac281610a86565b9050919050565b60006020820190508181036000830152610ae48184866108e5565b90509392505050565b600081519050610afc81610699565b92915050565b600060208284031215610b1857610b1761046a565b5b6000610b2684828501610aed565b9150509291505056fea2646970667358221220ec603e793390e86d22d7a39ea1040d6dfaa5c930c2ca9c7750195336d668fee964736f6c63430008130033",
}

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) Afury

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

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

Solidity: function afury() 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) Afury

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

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

Solidity: function afury() 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) Afury

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

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

Solidity: function afury() 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) GetGridironERC20

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

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

Solidity: function getGridironERC20(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) GetGridironERC20

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

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

Solidity: function getGridironERC20(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) GetGridironERC20

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

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

Solidity: function getGridironERC20(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