swivel

package
v0.0.0-...-0983048 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwivelABI = SwivelMetaData.ABI

SwivelABI is the input ABI used to generate the binding from. Deprecated: Use SwivelMetaData.ABI instead.

View Source
var SwivelBin = SwivelMetaData.Bin

SwivelBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SwivelMetaData.Bin instead.

View Source
var SwivelMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"m\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ApproveFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"Exception\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"S\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"BlockApproval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"BlockFeeChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"BlockWithdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"Cancel\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ChangeFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"vault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"exit\",\"type\":\"bool\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"filled\",\"type\":\"uint256\"}],\"name\":\"Exit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"vault\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"exit\",\"type\":\"bool\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"filled\",\"type\":\"uint256\"}],\"name\":\"Initiate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hold\",\"type\":\"uint256\"}],\"name\":\"ScheduleApproval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16[4]\",\"name\":\"proposal\",\"type\":\"uint16[4]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hold\",\"type\":\"uint256\"}],\"name\":\"ScheduleFeeChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hold\",\"type\":\"uint256\"}],\"name\":\"ScheduleWithdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"SetAdmin\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"HOLD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_FEENOMINATOR\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NAME\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"aaveAddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"approvals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"u\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"c\",\"type\":\"address[]\"}],\"name\":\"approveUnderlying\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"c\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"t\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"}],\"name\":\"authRedeem\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"e\",\"type\":\"address\"}],\"name\":\"blockApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blockFeeChange\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"e\",\"type\":\"address\"}],\"name\":\"blockWithdrawal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"underlying\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"vault\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"exit\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maturity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structHash.Order[]\",\"name\":\"o\",\"type\":\"tuple[]\"}],\"name\":\"cancel\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"cancelled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16[4]\",\"name\":\"f\",\"type\":\"uint16[4]\"}],\"name\":\"changeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"}],\"name\":\"combineTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domain\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"underlying\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"vault\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"exit\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maturity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structHash.Order[]\",\"name\":\"o\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"a\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSig.Components[]\",\"name\":\"c\",\"type\":\"tuple[]\"}],\"name\":\"exit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeChange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"feenominators\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"filled\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"protocol\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"underlying\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"vault\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"exit\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"premium\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maturity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structHash.Order[]\",\"name\":\"o\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"a\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSig.Components[]\",\"name\":\"c\",\"type\":\"tuple[]\"}],\"name\":\"initiate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"marketPlace\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"}],\"name\":\"redeemSwivelVaultInterest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"}],\"name\":\"redeemVaultInterest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"}],\"name\":\"redeemZcToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"e\",\"type\":\"address\"}],\"name\":\"scheduleApproval\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16[4]\",\"name\":\"f\",\"type\":\"uint16[4]\"}],\"name\":\"scheduleFeeChange\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"e\",\"type\":\"address\"}],\"name\":\"scheduleWithdrawal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"name\":\"setAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"p\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"u\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"m\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"}],\"name\":\"splitUnderlying\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"e\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x61016060405260c860e08181526102586101005261019061012052610140919091526200003190600690600462000141565b503480156200003f57600080fd5b50604051620052d4380380620052d4833981016040819052620000629162000212565b600580546001600160a01b03191633178155604080518082018252600e81526d53776976656c2046696e616e636560901b6020808301919091528251808401909352928252640332e302e360dc1b82840152620000cf929091904690309062001ff1620000ea821b17901c565b6080526001600160a01b0391821660a0521660c0526200024a565b8351602094850120835193850193909320604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f815295860194909452928401929092526060830152608082015260a0902090565b600183019183908215620001cc5791602002820160005b838211156200019a57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000158565b8015620001ca5782816101000a81549061ffff02191690556002016020816001010492830192600103026200019a565b505b50620001da929150620001de565b5090565b5b80821115620001da5760008155600101620001df565b80516001600160a01b03811681146200020d57600080fd5b919050565b600080604083850312156200022657600080fd5b6200023183620001f5565b91506200024160208401620001f5565b90509250929050565b60805160a05160c051614fe3620002f1600039600081816103dc0152818161337101526145260152600081816102e201528181610e47015281816113d0015281816116e50152818161182501528181611b1d01528181611cce0152818161213601528181612679015281816129f401528181612c7b0152818161373f015281816139d001528181613b9b0152613faf0152600081816104d1015261475c0152614fe36000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c80637a9262a21161012a578063b16a33cc116100bd578063f22c692e1161008c578063f8eaad3511610071578063f8eaad3514610523578063f9ad473d14610536578063ffa1ad741461053e57600080fd5b8063f22c692e146104fd578063f851a4401461051057600080fd5b8063b16a33cc146104a6578063b6907677146104b9578063c2fb26a6146104cc578063d0886f97146104f357600080fd5b8063a0b06b50116100f9578063a0b06b5014610424578063a0e8055414610437578063a102e3841461044a578063a3f4df7e1461045d57600080fd5b80637a9262a2146103b757806381bb8d63146103d75780638bfa66be146103fe57806395cb60c41461041157600080fd5b80632fd9ee8a116101a257806352a4eec61161017157806352a4eec61461035e5780635d0341ba14610371578063704b6c0214610391578063761a7e70146103a457600080fd5b80632fd9ee8a1461031c57806335197f9e1461032f5780634af606071461033857806351cff8d91461034b57600080fd5b806325dedb85116101de57806325dedb8514610279578063288cdc911461028c5780632ac12622146102ba5780632e25d2a6146102dd57600080fd5b80630d3f53521461021057806310510f111461023057806312a444fa14610253578063172bfa9414610266575b600080fd5b610218602181565b60405161ffff90911681526020015b60405180910390f35b61024361023e366004614a53565b61057a565b6040519015158152602001610227565b610243610261366004614b1c565b610775565b610243610274366004614b5e565b610905565b610243610287366004614b86565b610bac565b6102ac61029a366004614bf2565b60016020526000908152604090205481565b604051908152602001610227565b6102436102c8366004614bf2565b60006020819052908152604090205460ff1681565b6103047f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610227565b61024361032a366004614c39565b610def565b6102ac60045481565b610243610346366004614a53565b610feb565b610243610359366004614c7d565b6111d8565b61024361036c366004614c39565b611379565b6102ac61037f366004614c7d565b60036020526000908152604090205481565b61024361039f366004614c7d565b611574565b6102436103b2366004614b5e565b611631565b6102ac6103c5366004614c7d565b60026020526000908152604090205481565b6103047f000000000000000000000000000000000000000000000000000000000000000081565b61024361040c366004614c9a565b6116e1565b61021861041f366004614bf2565b6117a6565b610243610432366004614cfc565b6117d4565b610243610445366004614c7d565b611987565b610243610458366004614c7d565b611a26565b6104996040518060400160405280600e81526020017f53776976656c2046696e616e636500000000000000000000000000000000000081525081565b6040516102279190614d3b565b6102436104b4366004614c39565b611ac5565b6102436104c7366004614cfc565b611c7d565b6102ac7f000000000000000000000000000000000000000000000000000000000000000081565b6102ac6203f48081565b61024361050b366004614c7d565b611dea565b600554610304906001600160a01b031681565b610243610531366004614c7d565b611eb1565b610243611f66565b6104996040518060400160405280600581526020017f332e302e3000000000000000000000000000000000000000000000000000000081525081565b6000805b8087146107675787878281811061059757610597614da7565b9050610140020160a00160208101906105b09190614de4565b61068c578787828181106105c6576105c6614da7565b9050610140020160800160208101906105df9190614de4565b61063a576106358888838181106105f8576105f8614da7565b9050610140020187878481811061061157610611614da7565b9050602002013586868581811061062a5761062a614da7565b905060600201612048565b61075f565b61063588888381811061064f5761064f614da7565b9050610140020187878481811061066857610668614da7565b9050602002013586868581811061068157610681614da7565b90506060020161257b565b87878281811061069e5761069e614da7565b9050610140020160800160208101906106b79190614de4565b61070d576106358888838181106106d0576106d0614da7565b905061014002018787848181106106e9576106e9614da7565b9050602002013586868581811061070257610702614da7565b9050606002016128f3565b61075f88888381811061072257610722614da7565b9050610140020187878481811061073b5761073b614da7565b9050602002013586868581811061075457610754614da7565b905060600201612bcc565b60010161057e565b506001979650505050505050565b6000805b8083146108f95783838281811061079257610792614da7565b9050610140020160400160208101906107ab9190614c7d565b6001600160a01b0316336001600160a01b03161461083e57600f600080338787868181106107db576107db614da7565b9050610140020160400160208101906107f49190614c7d565b604051636d4c6c8960e01b815260ff9095166004860152602485019390935260448401919091526001600160a01b03908116606484015216608482015260a4015b60405180910390fd5b600061086185858481811061085557610855614da7565b90506101400201612f9a565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590508484838181106108ac576108ac614da7565b90506101400201600001357f9e5d8891dc1b047de610617bc9bc2d8ccffebbc3d63363431a546831245858a6826040516108e891815260200190565b60405180910390a250600101610779565b50600190505b92915050565b6005546000906001600160a01b031633811461095a57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b60045460000361099c57604051636d4c6c8960e01b8152602360048201526000602482018190526044820181905260648201819052608482015260a401610835565b6004544210156109e25760048054604051636d4c6c8960e01b8152602492810183905242928101929092526044820152600060648201819052608482015260a401610835565b60005b80600414610b9d576021848260048110610a0157610a01614da7565b602002016020810190610a149190614e13565b61ffff161015610a82576012848260048110610a3257610a32614da7565b602002016020810190610a459190614e13565b604051636d4c6c8960e01b815260ff909216600483015261ffff16602482015260216044820152600060648201819052608482015260a401610835565b60068160048110610a9557610a95614da7565b601091828204019190066002029054906101000a900461ffff1661ffff16848260048110610ac557610ac5614da7565b602002016020810190610ad89190614e13565b61ffff1614610b9557838160048110610af357610af3614da7565b602002016020810190610b069190614e13565b60068260048110610b1957610b19614da7565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550838160048110610b5057610b50614da7565b602002016020810190610b639190614e13565b61ffff16817f91e72fa36e0202be93e86c97a3d3d3497cf0a06cf859b14b616a304367835a8e60405160405180910390a35b6001016109e5565b50506000600455506001919050565b6005546000906001600160a01b0316338114610c0157604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b848314610c4057604051636d4c6c8960e01b8152601360048201526024810186905260448101849052600060648201819052608482015260a401610835565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60005b808714610767576000600360008a8a85818110610c8357610c83614da7565b9050602002016020810190610c989190614c7d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054905080600003610cfb57604051636d4c6c8960e01b8152602660048201526000602482018190526044820181905260648201819052608482015260a401610835565b80421015610d3a57604051636d4c6c8960e01b81526027600482015242602482015260448101829052600060648201819052608482015260a401610835565b600360008a8a85818110610d5057610d50614da7565b9050602002016020810190610d659190614c7d565b6001600160a01b03166001600160a01b03168152602001908152602001600020600090556000898984818110610d9d57610d9d614da7565b9050602002016020810190610db29190614c7d565b9050610de581898986818110610dca57610dca614da7565b9050602002016020810190610ddf9190614c7d565b866130a8565b5050600101610c64565b6040517f87e157c100000000000000000000000000000000000000000000000000000000815260ff851660048201526001600160a01b03848116602483015260448201849052336064830152608482018390526000917f0000000000000000000000000000000000000000000000000000000000000000918216906387e157c19060a4016020604051808303816000875af1158015610e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb69190614e2e565b610ef257604051636d4c6c8960e01b8152600e60048201526000602482018190526044820181905260648201819052608482015260a401610835565b6040517f35bdafab00000000000000000000000000000000000000000000000000000000815260ff871660048201526001600160a01b03808716602483015260448201869052610f969188918891908516906335bdafab906064016020604051808303816000875af1158015610f6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f909190614e4b565b8661313d565b610fd257604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b610fdd8533856135a9565b60019150505b949350505050565b6000805b8087146107675787878281811061100857611008614da7565b9050610140020160a00160208101906110219190614de4565b6110fd5787878281811061103757611037614da7565b9050610140020160800160208101906110509190614de4565b6110ab576110a688888381811061106957611069614da7565b9050610140020187878481811061108257611082614da7565b9050602002013586868581811061109b5761109b614da7565b905060600201613638565b6111d0565b6110a68888838181106110c0576110c0614da7565b905061014002018787848181106110d9576110d9614da7565b905060200201358686858181106110f2576110f2614da7565b9050606002016138d0565b87878281811061110f5761110f614da7565b9050610140020160800160208101906111289190614de4565b61117e576110a688888381811061114157611141614da7565b9050610140020187878481811061115a5761115a614da7565b9050602002013586868581811061117357611173614da7565b905060600201613b13565b6111d088888381811061119357611193614da7565b905061014002018787848181106111ac576111ac614da7565b905060200201358686858181106111c5576111c5614da7565b905060600201613f27565b600101610fef565b6005546000906001600160a01b031633811461122d57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b6001600160a01b0383166000908152600260205260408120549081900361128657604051636d4c6c8960e01b8152601060048201526000602482018190526044820181905260648201819052608482015260a401610835565b804210156112c557604051636d4c6c8960e01b81526011600482015242602482015260448101829052600060648201819052608482015260a401610835565b6001600160a01b038481166000818152600260205260408082209190915560055490517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152879361136e938593909116916370a08231906024016020604051808303816000875af1158015611345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113699190614e68565b6135a9565b506001949350505050565b60008361138881333086614341565b6040517f35bdafab00000000000000000000000000000000000000000000000000000000815260ff871660048201526001600160a01b038087166024830152604482018690527f00000000000000000000000000000000000000000000000000000000000000009161144d91899189918516906335bdafab906064016020604051808303816000875af1158015611423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114479190614e4b565b876143db565b61148957604051636d4c6c8960e01b8152600660048201526000602482018190526044820181905260648201819052608482015260a401610835565b6040517f01cc644800000000000000000000000000000000000000000000000000000000815260ff881660048201526001600160a01b03878116602483015260448201879052336064830152608482018690528216906301cc64489060a4016020604051808303816000875af1158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190614e2e565b61156757604051636d4c6c8960e01b8152600d60048201526000602482018190526044820181905260648201819052608482015260a401610835565b5060019695505050505050565b6005546000906001600160a01b03163381146115c957604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040517f5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a190600090a250600192915050565b6005546000906001600160a01b031633811461168657604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b60006116956203f48042614eb0565b9050806004819055507f996dcde4d8c5a2baa561812ac7ceca074aea97d25dcd0d75106a654433c5544a84826040516116cf929190614ec3565b60405180910390a15060019392505050565b60007f0000000000000000000000000000000000000000000000000000000000000000336001600160a01b0382161461175357604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b61175f8787878661313d565b61179b57604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b6115678685856135a9565b600681600481106117b657600080fd5b60109182820401919006600202915054906101000a900461ffff1681565b6040517f3a660bd800000000000000000000000000000000000000000000000000000000815260ff841660048201526001600160a01b038381166024830152604482018390523360648301526000917f000000000000000000000000000000000000000000000000000000000000000091839190831690633a660bd8906084016020604051808303816000875af1158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190614e68565b6040517f35bdafab00000000000000000000000000000000000000000000000000000000815260ff881660048201526001600160a01b038781166024830152604482018790529192506000918416906335bdafab906064016020604051808303816000875af115801561190e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119329190614e4b565b90506119408787838561313d565b61197c57604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b6115678633846135a9565b6005546000906001600160a01b03163381146119dc57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b6001600160a01b038316600081815260036020526040808220829055517f28294d7092ed60d20702d49d934aafe161e401c695a6bf21327f39e2c20656ec9190a250600192915050565b6005546000906001600160a01b0316338114611a7b57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b6001600160a01b038316600081815260026020526040808220829055517fb1c1232c5dd039bb1c46cc05eaf25828e4f8596b7f68bdb23073ba78b9ca382d9190a250600192915050565b6040517f9f6eddc400000000000000000000000000000000000000000000000000000000815260ff851660048201526001600160a01b03848116602483015260448201849052336064830152608482018390526000917f000000000000000000000000000000000000000000000000000000000000000091839190831690639f6eddc49060a4016020604051808303816000875af1158015611b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8f9190614e68565b6040517f35bdafab00000000000000000000000000000000000000000000000000000000815260ff891660048201526001600160a01b03808916602483015260448201889052919250611c3691899189918616906335bdafab906064015b6020604051808303816000875af1158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190614e4b565b8461313d565b611c7257604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b6115678633836135a9565b6040517f3a660bd800000000000000000000000000000000000000000000000000000000815260ff841660048201526001600160a01b038381166024830152604482018390523060648301526000917f000000000000000000000000000000000000000000000000000000000000000091839190831690633a660bd8906084016020604051808303816000875af1158015611d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d409190614e68565b6040517f35bdafab00000000000000000000000000000000000000000000000000000000815260ff881660048201526001600160a01b03808816602483015260448201879052919250611da291889188918616906335bdafab90606401611bed565b611dde57604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b50600195945050505050565b6005546000906001600160a01b0316338114611e3f57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b6000611e4e6203f48042614eb0565b6001600160a01b0385166000818152600360205260409081902083905551919250907f21263a04a74448e43f067f1f26a13bf97e989ae0fedb64b3a84a2d87908f3d1690611e9f9084815260200190565b60405180910390a25060019392505050565b6005546000906001600160a01b0316338114611f0657604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b6000611f156203f48042614eb0565b6001600160a01b0385166000818152600260205260409081902083905551919250907fe4b67652e856f57a7747dd2473850ce987087f4b1744a870504f1c047cb56f4f90611e9f9084815260200190565b6005546000906001600160a01b0316338114611fbb57604051636d4c6c8960e01b81526000600482018190526024820181905260448201523360648201526001600160a01b038216608482015260a401610835565b600060048190556040517f6875685eb5dbc8e2796d75d2dc9e9cb607b610d0558ee7336df418a26d4846e89190a1600191505090565b8351602094850120835193850193909320604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f815295860194909452928401929092526060830152608082015260a0902090565b6000612054848361468e565b600081815260016020526040812054919250906120719085614eb0565b90508460e001358111156120ba57604051636d4c6c8960e01b8152600560048201526024810182905260e08601356044820152600060648201819052608482015260a401610835565b60008281526001602052604081208290556120db6080870160608801614c7d565b90506120f881336120f260608a0160408b01614c7d565b88614341565b600060e087013561210d60c089013588614f07565b6121179190614f44565b90506121348261212d60608a0160408b01614c7d565b3084614341565b7f000000000000000000000000000000000000000000000000000000000000000060006001600160a01b0382166335bdafab61217660408c0160208d01614f7f565b61218660808d0160608e01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008c013560448201526064016020604051808303816000875af11580156121f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221b9190614e4b565b905061224761223060408b0160208c01614f7f565b61224060808c0160608d01614c7d565b83866143db565b61228357604051636d4c6c8960e01b8152600660048201526000602482018190526044820181905260648201819052608482015260a401610835565b6001600160a01b03821663c06760c76122a260408c0160208d01614f7f565b6122b260808d0160608e01614c7d565b8c61010001358d60400160208101906122cb9190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815260ff90941660048501526001600160a01b039283166024850152604484019190915216606482015233608482015260a4810186905260c4016020604051808303816000875af115801561234e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123729190614e2e565b6123ae57604051636d4c6c8960e01b8152600860048201526000602482018190526044820181905260648201819052608482015260a401610835565b6006546000906123ca90640100000000900461ffff1685614f44565b90506001600160a01b03831663db8509016123eb60408d0160208e01614f7f565b6123fb60808e0160608f01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008d013560448201523360648201526084810184905260a4016020604051808303816000875af1158015612479573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249d9190614e2e565b6124d957604051636d4c6c8960e01b8152600a60048201526000602482018190526044820181905260648201819052608482015260a401610835565b336124ea60608c0160408d01614c7d565b6001600160a01b03168b600001357f32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef8a8e608001602081019061252d9190614de4565b8f60a00160208101906125409190614de4565b604080519384529115156020840152151590820152606081018e90526080810189905260a0015b60405180910390a450505050505050505050565b6000612587848361468e565b600081815260016020526040812054919250906125a49085614eb0565b90508460c001358111156125ed57604051636d4c6c8960e01b8152600560048201526024810182905260c08601356044820152600060648201819052608482015260a401610835565b600082815260016020526040812082905561260e6080870160608801614c7d565b9050600060c087013561262560e089013588614f07565b61262f9190614f44565b905061264c8261264560608a0160408b01614c7d565b3384614341565b6006546000906126609061ffff1683614f44565b9050612677833330612672858c614eb0565b614341565b7f000000000000000000000000000000000000000000000000000000000000000060006001600160a01b0382166335bdafab6126b960408d0160208e01614f7f565b6126c960808e0160608f01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008d013560448201526064016020604051808303816000875af115801561273a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275e9190614e4b565b905061278a61277360408c0160208d01614f7f565b61278360808d0160608e01614c7d565b838c6143db565b6127c657604051636d4c6c8960e01b8152600660048201526000602482018190526044820181905260648201819052608482015260a401610835565b6001600160a01b03821663c06760c76127e560408d0160208e01614f7f565b6127f560808e0160608f01614c7d565b8d6101000135338f604001602081019061280f9190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815260ff90951660048601526001600160a01b03938416602486015260448501929092528216606484015216608482015260a481018c905260c4016020604051808303816000875af1158015612893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b79190614e2e565b6124d957604051636d4c6c8960e01b8152600860048201526000602482018190526044820181905260648201819052608482015260a401610835565b60006128ff848361468e565b6000818152600160205260408120549192509061291c9085614eb0565b90508460c0013581111561296557604051636d4c6c8960e01b8152600560048201526024810182905260c08601356044820152600060648201819052608482015260a401610835565b600082815260016020526040812082905560c086013561298960e088013587614f07565b6129939190614f44565b905060006129a76080880160608901614c7d565b90506129c881336129be60608b0160408c01614c7d565b612672868b614f9a565b6006546000906129dc9061ffff1684614f44565b90506129ea82333084614341565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663fcbaab2e612a2960408b0160208c01614f7f565b612a3960808c0160608d01614c7d565b6101008c0135612a4f60608e0160408f01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815260ff90941660048501526001600160a01b039283166024850152604484019190915216606482015233608482015260a481018a905260c4016020604051808303816000875af1158015612ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612af69190614e2e565b612b3257604051636d4c6c8960e01b8152600b60048201526000602482018190526044820181905260648201819052608482015260a401610835565b33612b4360608a0160408b01614c7d565b6001600160a01b031689357f32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef88612b8060a08e0160808f01614de4565b8d60a0016020810190612b939190614de4565b604080519384529115156020840152151590820152606081018c90526080810188905260a0015b60405180910390a45050505050505050565b6000612bd8848361468e565b60008181526001602052604081205491925090612bf59085614eb0565b90508460e00135811115612c3e57604051636d4c6c8960e01b8152600560048201526024810182905260e08601356044820152600060648201819052608482015260a401610835565b6000828152600160205260409020819055612c79612c626080870160608801614c7d565b33612c736060890160408a01614c7d565b87614341565b7f0000000000000000000000000000000000000000000000000000000000000000600060e0870135612caf60c089013588614f07565b612cb99190614f44565b90506001600160a01b0382166315042ddf612cda60408a0160208b01614f7f565b612cea60808b0160608c01614c7d565b6101008b0135612d0060608d0160408e01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815260ff90941660048501526001600160a01b039283166024850152604484019190915216606482015233608482015260a4810184905260c4016020604051808303816000875af1158015612d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da79190614e2e565b612de357604051636d4c6c8960e01b8152600c60048201526000602482018190526044820181905260648201819052608482015260a401610835565b600654600090612dff90640100000000900461ffff1683614f44565b90506001600160a01b03831663db850901612e2060408b0160208c01614f7f565b612e3060808c0160608d01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008b013560448201523360648201526084810184905260a4016020604051808303816000875af1158015612eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed29190614e2e565b612f0e57604051636d4c6c8960e01b8152600a60048201526000602482018190526044820181905260648201819052608482015260a401610835565b33612f1f60608a0160408b01614c7d565b6001600160a01b031689357f32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef88612f5c60a08e0160808f01614de4565b8d60a0016020810190612f6f9190614de4565b604080519384529115156020840152151590820152606081018c90526080810187905260a001612bba565b60007fbc200cfe92556575f801f821f26e6d54f6421fa132e4b2d65319cac1c687d8e68235612fcf6040850160208601614f7f565b612fdf6060860160408701614c7d565b612fef6080870160608801614c7d565b612fff60a0880160808901614de4565b61300f60c0890160a08a01614de4565b60408051602081019890985287019590955260ff90931660608601526001600160a01b0391821660808601521660a0840152151560c08381019190915290151560e083810191909152908401356101008381019190915290840135610120838101919091529084013561014083015283013561016082015261018001604051602081830303815290604052805190602001209050919050565b60006040517f095ea7b3000000000000000000000000000000000000000000000000000000006000528360045282602452602060006044600080895af13d15601f3d1160016000511416171691506000606052806040525080613137576040517f3e3f8f7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600060ff851660011480613154575060ff85166002145b156131e6576040517f852a12e3000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b0384169063852a12e3906024015b6020604051808303816000875af11580156131ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131de9190614e68565b159050610fe3565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd60ff8616016132ff5760008390506000816001600160a01b0316632e1a7d4d836001600160a01b03166399530b066040518163ffffffff1660e01b81526004016020604051808303816000875af1158015613266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328a9190614e68565b6132949087614f44565b6040518263ffffffff1660e01b81526004016132b291815260200190565b6020604051808303816000875af11580156132d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132f59190614e68565b1015915050610fe3565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60ff8616016133ea576040517f69328dec0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018490523060448301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec906064015b6020604051808303816000875af11580156133bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e19190614e68565b10159050610fe3565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb60ff861601613498576040517f441a3e7000000000000000000000000000000000000000000000000000000000815260006004820152602481018390526001600160a01b0384169063441a3e70906044015b600060405180830381600087803b15801561347757600080fd5b505af115801561348b573d6000803e3d6000fd5b5050505060019050610fe3565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa60ff861601613553576040517fbb2952fc0000000000000000000000000000000000000000000000000000000081526004810183905283906000906001600160a01b0383169063de0e9a3e90829063bb2952fc906024016020604051808303816000875af115801561352f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132949190614e68565b6040517fb460af9400000000000000000000000000000000000000000000000000000000815260048101839052306024820181905260448201526000906001600160a01b0385169063b460af949060640161339e565b60006040517fa9059cbb000000000000000000000000000000000000000000000000000000006000528360045282602452602060006044600080895af13d15601f3d1160016000511416171691506000606052806040525080613137576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613644848361468e565b600081815260016020526040812054919250906136619085614eb0565b90508460e001358111156136aa57604051636d4c6c8960e01b8152600560048201526024810182905260e08601356044820152600060648201819052608482015260a401610835565b60008281526001602052604081208290556136cb6080870160608801614c7d565b9050600060e08701356136e260c089013588614f07565b6136ec9190614f44565b905061370d8261370260608a0160408b01614c7d565b336126728a86614f9a565b6006546000906137279062010000900461ffff1683614f44565b905061373583333084614341565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663fcbaab2e61377460408b0160208c01614f7f565b61378460808c0160608d01614c7d565b8b6101000135338d604001602081019061379e9190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815260ff90951660048601526001600160a01b03938416602486015260448501929092528216606484015216608482015260a4810185905260c4016020604051808303816000875af1158015613822573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138469190614e2e565b61388257604051636d4c6c8960e01b8152600b60048201526000602482018190526044820181905260648201819052608482015260a401610835565b3361389360608a0160408b01614c7d565b6001600160a01b031689357f51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd926671283488612f5c60a08e0160808f01614de4565b60006138dc848361468e565b600081815260016020526040812054919250906138f99085614eb0565b90508460c0013581111561394257604051636d4c6c8960e01b8152600560048201526024810182905260c08601356044820152600060648201819052608482015260a401610835565b60008281526001602052604081208290556139636080870160608801614c7d565b9050600060c087013561397a60e089013588614f07565b6139849190614f44565b905061399a8261264560608a0160408b01614c7d565b6006546000906139b8906601000000000000900461ffff1683614f44565b90506139c683333084614341565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166315042ddf613a0560408b0160208c01614f7f565b613a1560808c0160608d01614c7d565b8b6101000135338d6040016020810190613a2f9190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815260ff90951660048601526001600160a01b03938416602486015260448501929092528216606484015216608482015260a481018a905260c4016020604051808303816000875af1158015613ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ad79190614e2e565b61388257604051636d4c6c8960e01b8152600c60048201526000602482018190526044820181905260648201819052608482015260a401610835565b6000613b1f848361468e565b60008181526001602052604081205491925090613b3c9085614eb0565b90508460c00135811115613b8557604051636d4c6c8960e01b8152600560048201526024810182905260c08601356044820152600060648201819052608482015260a401610835565b60008281526001602090815260408083208490557f000000000000000000000000000000000000000000000000000000000000000092916001600160a01b038416916335bdafab91613bdb918b01908b01614f7f565b613beb60808b0160608c01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008a013560448201526064016020604051808303816000875af1158015613c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c809190614e4b565b9050613cac613c956040890160208a01614f7f565b613ca560808a0160608b01614c7d565b838961313d565b613ce857604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b6000613cfa6080890160608a01614c7d565b9050600060c0890135613d1160e08b01358a614f07565b613d1b9190614f44565b9050613d3b82613d3160608c0160408d01614c7d565b611369848c614f9a565b600654600090613d59906601000000000000900461ffff1683614f44565b9050613d6a83336113698486614f9a565b6001600160a01b038516630f0016b6613d8960408d0160208e01614f7f565b613d9960808e0160608f01614c7d565b8d61010001358e6040016020810190613db29190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815260ff90941660048501526001600160a01b039283166024850152604484019190915216606482015233608482015260a481018c905260c4016020604051808303816000875af1158015613e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e599190614e2e565b613e9557604051636d4c6c8960e01b8152600960048201526000602482018190526044820181905260648201819052608482015260a401610835565b33613ea660608c0160408d01614c7d565b6001600160a01b03168b600001357f51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd92667128348a8e6080016020810190613ee99190614de4565b8f60a0016020810190613efc9190614de4565b604080519384529115156020840152151590820152606081018e90526080810187905260a001612567565b6000613f33848361468e565b60008181526001602052604081205491925090613f509085614eb0565b90508460e00135811115613f9957604051636d4c6c8960e01b8152600560048201526024810182905260e08601356044820152600060648201819052608482015260a401610835565b60008281526001602090815260408083208490557f000000000000000000000000000000000000000000000000000000000000000092916001600160a01b038416916335bdafab91613fef918b01908b01614f7f565b613fff60808b0160608c01614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260ff90921660048301526001600160a01b031660248201526101008a013560448201526064016020604051808303816000875af1158015614070573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140949190614e4b565b9050600060e08801356140ab60c08a013589614f07565b6140b59190614f44565b90506140e16140ca60408a0160208b01614f7f565b6140da60808b0160608c01614c7d565b848461313d565b61411d57604051636d4c6c8960e01b8152600760048201526000602482018190526044820181905260648201819052608482015260a401610835565b600061412f60808a0160608b01614c7d565b60065490915060009061414c9062010000900461ffff1684614f44565b905061416882338361415e8d88614f9a565b6113699190614f9a565b6141828261417c60608d0160408e01614c7d565b8b6135a9565b6001600160a01b038516630f0016b66141a160408d0160208e01614f7f565b6141b160808e0160608f01614c7d565b8d6101000135338f60400160208101906141cb9190614c7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815260ff90951660048601526001600160a01b03938416602486015260448501929092528216606484015216608482015260a4810186905260c4016020604051808303816000875af115801561424f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142739190614e2e565b6142af57604051636d4c6c8960e01b8152600960048201526000602482018190526044820181905260648201819052608482015260a401610835565b336142c060608c0160408d01614c7d565b6001600160a01b03168b600001357f51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd92667128348a8e60800160208101906143039190614de4565b8f60a00160208101906143169190614de4565b604080519384529115156020840152151590820152606081018e90526080810188905260a001612567565b60006040517f23b872dd000000000000000000000000000000000000000000000000000000006000528460045283602452826044526020600060646000808a5af13d15601f3d11600160005114161716915060006060528060405250806143d4576040517f7939f42400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600060ff8516600114806143f2575060ff85166002145b1561443d576040517fa0712d68000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b0384169063a0712d689060240161319b565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd60ff8616016144b0576040517fb6b55f25000000000000000000000000000000000000000000000000000000008152600481018390526000906001600160a01b0385169063b6b55f259060240161339e565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60ff861601614555576040517fe8eda9df0000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df9060840161345d565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb60ff8616016145cc576040517fe2bbb15800000000000000000000000000000000000000000000000000000000815260006004820152602481018390526001600160a01b0384169063e2bbb1589060440161345d565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa60ff86160161463f576040517fea598cb0000000000000000000000000000000000000000000000000000000008152600481018390526000906001600160a01b0385169063ea598cb09060240161339e565b6040517f6e553f65000000000000000000000000000000000000000000000000000000008152600481018390523060248201526000906001600160a01b03851690636e553f659060440161339e565b60008061469a84612f9a565b60008181526020819052604090205490915060ff16156146ec57604051636d4c6c8960e01b8152600260048201526000602482018190526044820181905260648201819052608482015260a401610835565b42846101200135101561473457604051636d4c6c8960e01b8152600360048201526101208501356024820152426044820152600060648201819052608482015260a401610835565b6040517f190100000000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600282015260228101829052604290206000906147989085614822565b90506001600160a01b0381166147b46060870160408801614c7d565b6001600160a01b03161461481a5760046000806147d76060890160408a01614c7d565b604051636d4c6c8960e01b815260ff9094166004850152602484019290925260448301526001600160a01b0390811660648301528216608482015260a401610835565b509392505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a060408301351115614882576040517f4be1c79600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61488f6020830183614f7f565b60ff16601b141580156148b257506148aa6020830183614f7f565b60ff16601c14155b156148e9576040517f205db2c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001846148fb6020860186614f7f565b604080516000815260208181018084529490945260ff9092168282015291860135606082015290850135608082015260a0016020604051602081039080840390855afa15801561494f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b0381166149ba576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b60008083601f8401126149d357600080fd5b50813567ffffffffffffffff8111156149eb57600080fd5b60208301915083602061014083028501011115614a0757600080fd5b9250929050565b60008083601f840112614a2057600080fd5b50813567ffffffffffffffff811115614a3857600080fd5b6020830191508360208260051b8501011115614a0757600080fd5b60008060008060008060608789031215614a6c57600080fd5b863567ffffffffffffffff80821115614a8457600080fd5b614a908a838b016149c1565b90985096506020890135915080821115614aa957600080fd5b614ab58a838b01614a0e565b90965094506040890135915080821115614ace57600080fd5b818901915089601f830112614ae257600080fd5b813581811115614af157600080fd5b8a6020606083028501011115614b0657600080fd5b6020830194508093505050509295509295509295565b60008060208385031215614b2f57600080fd5b823567ffffffffffffffff811115614b4657600080fd5b614b52858286016149c1565b90969095509350505050565b600060808284031215614b7057600080fd5b82608083011115614b8057600080fd5b50919050565b60008060008060408587031215614b9c57600080fd5b843567ffffffffffffffff80821115614bb457600080fd5b614bc088838901614a0e565b90965094506020870135915080821115614bd957600080fd5b50614be687828801614a0e565b95989497509550505050565b600060208284031215614c0457600080fd5b5035919050565b803560ff81168114614c1c57600080fd5b919050565b6001600160a01b0381168114614c3657600080fd5b50565b60008060008060808587031215614c4f57600080fd5b614c5885614c0b565b93506020850135614c6881614c21565b93969395505050506040820135916060013590565b600060208284031215614c8f57600080fd5b81356149ba81614c21565b600080600080600060a08688031215614cb257600080fd5b614cbb86614c0b565b94506020860135614ccb81614c21565b93506040860135614cdb81614c21565b92506060860135614ceb81614c21565b949793965091946080013592915050565b600080600060608486031215614d1157600080fd5b614d1a84614c0b565b92506020840135614d2a81614c21565b929592945050506040919091013590565b600060208083528351808285015260005b81811015614d6857858101830151858201604001528201614d4c565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b8015158114614c3657600080fd5b600060208284031215614df657600080fd5b81356149ba81614dd6565b803561ffff81168114614c1c57600080fd5b600060208284031215614e2557600080fd5b6149ba82614e01565b600060208284031215614e4057600080fd5b81516149ba81614dd6565b600060208284031215614e5d57600080fd5b81516149ba81614c21565b600060208284031215614e7a57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108ff576108ff614e81565b60a08101818460005b6004811015614ef75761ffff614ee183614e01565b1683526020928301929190910190600101614ecc565b5050508260808301529392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3f57614f3f614e81565b500290565b600082614f7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215614f9157600080fd5b6149ba82614c0b565b818103818111156108ff576108ff614e8156fea26469706673582212204e076660ce37cca1795ef16a87ca6eadfeb950ed0c27e9ea77a26954d947c27f64736f6c63430008100033",
}

SwivelMetaData contains all meta data concerning the Swivel contract.

Functions

This section is empty.

Types

type HashOrder

type HashOrder struct {
	Key        [32]byte
	Protocol   uint8
	Maker      common.Address
	Underlying common.Address
	Vault      bool
	Exit       bool
	Principal  *big.Int
	Premium    *big.Int
	Maturity   *big.Int
	Expiry     *big.Int
}

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

type SigComponents

type SigComponents struct {
	V uint8
	R [32]byte
	S [32]byte
}

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

type Swivel

type Swivel struct {
	SwivelCaller     // Read-only binding to the contract
	SwivelTransactor // Write-only binding to the contract
	SwivelFilterer   // Log filterer for contract events
}

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

func DeploySwivel

DeploySwivel deploys a new Ethereum contract, binding an instance of Swivel to it.

func NewSwivel

func NewSwivel(address common.Address, backend bind.ContractBackend) (*Swivel, error)

NewSwivel creates a new instance of Swivel, bound to a specific deployed contract.

type SwivelBlockApproval

type SwivelBlockApproval struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelBlockApproval represents a BlockApproval event raised by the Swivel contract.

type SwivelBlockApprovalIterator

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

SwivelBlockApprovalIterator is returned from FilterBlockApproval and is used to iterate over the raw logs and unpacked data for BlockApproval events raised by the Swivel contract.

func (*SwivelBlockApprovalIterator) Close

func (it *SwivelBlockApprovalIterator) Close() error

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

func (*SwivelBlockApprovalIterator) Error

func (it *SwivelBlockApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelBlockApprovalIterator) Next

func (it *SwivelBlockApprovalIterator) 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 SwivelBlockFeeChange

type SwivelBlockFeeChange struct {
	Raw types.Log // Blockchain specific contextual infos
}

SwivelBlockFeeChange represents a BlockFeeChange event raised by the Swivel contract.

type SwivelBlockFeeChangeIterator

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

SwivelBlockFeeChangeIterator is returned from FilterBlockFeeChange and is used to iterate over the raw logs and unpacked data for BlockFeeChange events raised by the Swivel contract.

func (*SwivelBlockFeeChangeIterator) Close

func (it *SwivelBlockFeeChangeIterator) Close() error

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

func (*SwivelBlockFeeChangeIterator) Error

func (it *SwivelBlockFeeChangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelBlockFeeChangeIterator) 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 SwivelBlockWithdrawal

type SwivelBlockWithdrawal struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelBlockWithdrawal represents a BlockWithdrawal event raised by the Swivel contract.

type SwivelBlockWithdrawalIterator

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

SwivelBlockWithdrawalIterator is returned from FilterBlockWithdrawal and is used to iterate over the raw logs and unpacked data for BlockWithdrawal events raised by the Swivel contract.

func (*SwivelBlockWithdrawalIterator) Close

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

func (*SwivelBlockWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelBlockWithdrawalIterator) 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 SwivelCaller

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

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

func NewSwivelCaller

func NewSwivelCaller(address common.Address, caller bind.ContractCaller) (*SwivelCaller, error)

NewSwivelCaller creates a new read-only instance of Swivel, bound to a specific deployed contract.

func (*SwivelCaller) AaveAddr

func (_Swivel *SwivelCaller) AaveAddr(opts *bind.CallOpts) (common.Address, error)

AaveAddr is a free data retrieval call binding the contract method 0x81bb8d63.

Solidity: function aaveAddr() view returns(address)

func (*SwivelCaller) Admin

func (_Swivel *SwivelCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*SwivelCaller) Approvals

func (_Swivel *SwivelCaller) Approvals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

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

func (*SwivelCaller) Cancelled

func (_Swivel *SwivelCaller) Cancelled(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled(bytes32 ) view returns(bool)

func (*SwivelCaller) Domain

func (_Swivel *SwivelCaller) Domain(opts *bind.CallOpts) ([32]byte, error)

Domain is a free data retrieval call binding the contract method 0xc2fb26a6.

Solidity: function domain() view returns(bytes32)

func (*SwivelCaller) FeeChange

func (_Swivel *SwivelCaller) FeeChange(opts *bind.CallOpts) (*big.Int, error)

FeeChange is a free data retrieval call binding the contract method 0x35197f9e.

Solidity: function feeChange() view returns(uint256)

func (*SwivelCaller) Feenominators

func (_Swivel *SwivelCaller) Feenominators(opts *bind.CallOpts, arg0 *big.Int) (uint16, error)

Feenominators is a free data retrieval call binding the contract method 0x95cb60c4.

Solidity: function feenominators(uint256 ) view returns(uint16)

func (*SwivelCaller) Filled

func (_Swivel *SwivelCaller) Filled(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled(bytes32 ) view returns(uint256)

func (*SwivelCaller) HOLD

func (_Swivel *SwivelCaller) HOLD(opts *bind.CallOpts) (*big.Int, error)

HOLD is a free data retrieval call binding the contract method 0xd0886f97.

Solidity: function HOLD() view returns(uint256)

func (*SwivelCaller) MINFEENOMINATOR

func (_Swivel *SwivelCaller) MINFEENOMINATOR(opts *bind.CallOpts) (uint16, error)

MINFEENOMINATOR is a free data retrieval call binding the contract method 0x0d3f5352.

Solidity: function MIN_FEENOMINATOR() view returns(uint16)

func (*SwivelCaller) MarketPlace

func (_Swivel *SwivelCaller) MarketPlace(opts *bind.CallOpts) (common.Address, error)

MarketPlace is a free data retrieval call binding the contract method 0x2e25d2a6.

Solidity: function marketPlace() view returns(address)

func (*SwivelCaller) NAME

func (_Swivel *SwivelCaller) NAME(opts *bind.CallOpts) (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*SwivelCaller) VERSION

func (_Swivel *SwivelCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*SwivelCaller) Withdrawals

func (_Swivel *SwivelCaller) Withdrawals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Withdrawals is a free data retrieval call binding the contract method 0x7a9262a2.

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

type SwivelCallerRaw

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

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

func (*SwivelCallerRaw) Call

func (_Swivel *SwivelCallerRaw) 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 SwivelCallerSession

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

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

func (*SwivelCallerSession) AaveAddr

func (_Swivel *SwivelCallerSession) AaveAddr() (common.Address, error)

AaveAddr is a free data retrieval call binding the contract method 0x81bb8d63.

Solidity: function aaveAddr() view returns(address)

func (*SwivelCallerSession) Admin

func (_Swivel *SwivelCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*SwivelCallerSession) Approvals

func (_Swivel *SwivelCallerSession) Approvals(arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

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

func (*SwivelCallerSession) Cancelled

func (_Swivel *SwivelCallerSession) Cancelled(arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled(bytes32 ) view returns(bool)

func (*SwivelCallerSession) Domain

func (_Swivel *SwivelCallerSession) Domain() ([32]byte, error)

Domain is a free data retrieval call binding the contract method 0xc2fb26a6.

Solidity: function domain() view returns(bytes32)

func (*SwivelCallerSession) FeeChange

func (_Swivel *SwivelCallerSession) FeeChange() (*big.Int, error)

FeeChange is a free data retrieval call binding the contract method 0x35197f9e.

Solidity: function feeChange() view returns(uint256)

func (*SwivelCallerSession) Feenominators

func (_Swivel *SwivelCallerSession) Feenominators(arg0 *big.Int) (uint16, error)

Feenominators is a free data retrieval call binding the contract method 0x95cb60c4.

Solidity: function feenominators(uint256 ) view returns(uint16)

func (*SwivelCallerSession) Filled

func (_Swivel *SwivelCallerSession) Filled(arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled(bytes32 ) view returns(uint256)

func (*SwivelCallerSession) HOLD

func (_Swivel *SwivelCallerSession) HOLD() (*big.Int, error)

HOLD is a free data retrieval call binding the contract method 0xd0886f97.

Solidity: function HOLD() view returns(uint256)

func (*SwivelCallerSession) MINFEENOMINATOR

func (_Swivel *SwivelCallerSession) MINFEENOMINATOR() (uint16, error)

MINFEENOMINATOR is a free data retrieval call binding the contract method 0x0d3f5352.

Solidity: function MIN_FEENOMINATOR() view returns(uint16)

func (*SwivelCallerSession) MarketPlace

func (_Swivel *SwivelCallerSession) MarketPlace() (common.Address, error)

MarketPlace is a free data retrieval call binding the contract method 0x2e25d2a6.

Solidity: function marketPlace() view returns(address)

func (*SwivelCallerSession) NAME

func (_Swivel *SwivelCallerSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*SwivelCallerSession) VERSION

func (_Swivel *SwivelCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*SwivelCallerSession) Withdrawals

func (_Swivel *SwivelCallerSession) Withdrawals(arg0 common.Address) (*big.Int, error)

Withdrawals is a free data retrieval call binding the contract method 0x7a9262a2.

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

type SwivelCancel

type SwivelCancel struct {
	Key  [32]byte
	Hash [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

SwivelCancel represents a Cancel event raised by the Swivel contract.

type SwivelCancelIterator

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

SwivelCancelIterator is returned from FilterCancel and is used to iterate over the raw logs and unpacked data for Cancel events raised by the Swivel contract.

func (*SwivelCancelIterator) Close

func (it *SwivelCancelIterator) Close() error

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

func (*SwivelCancelIterator) Error

func (it *SwivelCancelIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelCancelIterator) Next

func (it *SwivelCancelIterator) 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 SwivelChangeFee

type SwivelChangeFee struct {
	Index *big.Int
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelChangeFee represents a ChangeFee event raised by the Swivel contract.

type SwivelChangeFeeIterator

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

SwivelChangeFeeIterator is returned from FilterChangeFee and is used to iterate over the raw logs and unpacked data for ChangeFee events raised by the Swivel contract.

func (*SwivelChangeFeeIterator) Close

func (it *SwivelChangeFeeIterator) Close() error

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

func (*SwivelChangeFeeIterator) Error

func (it *SwivelChangeFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelChangeFeeIterator) Next

func (it *SwivelChangeFeeIterator) 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 SwivelExit

type SwivelExit struct {
	Key    [32]byte
	Hash   [32]byte
	Maker  common.Address
	Vault  bool
	Exit   bool
	Sender common.Address
	Amount *big.Int
	Filled *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SwivelExit represents a Exit event raised by the Swivel contract.

type SwivelExitIterator

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

SwivelExitIterator is returned from FilterExit and is used to iterate over the raw logs and unpacked data for Exit events raised by the Swivel contract.

func (*SwivelExitIterator) Close

func (it *SwivelExitIterator) Close() error

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

func (*SwivelExitIterator) Error

func (it *SwivelExitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelExitIterator) Next

func (it *SwivelExitIterator) 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 SwivelFilterer

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

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

func NewSwivelFilterer

func NewSwivelFilterer(address common.Address, filterer bind.ContractFilterer) (*SwivelFilterer, error)

NewSwivelFilterer creates a new log filterer instance of Swivel, bound to a specific deployed contract.

func (*SwivelFilterer) FilterBlockApproval

func (_Swivel *SwivelFilterer) FilterBlockApproval(opts *bind.FilterOpts, token []common.Address) (*SwivelBlockApprovalIterator, error)

FilterBlockApproval is a free log retrieval operation binding the contract event 0x28294d7092ed60d20702d49d934aafe161e401c695a6bf21327f39e2c20656ec.

Solidity: event BlockApproval(address indexed token)

func (*SwivelFilterer) FilterBlockFeeChange

func (_Swivel *SwivelFilterer) FilterBlockFeeChange(opts *bind.FilterOpts) (*SwivelBlockFeeChangeIterator, error)

FilterBlockFeeChange is a free log retrieval operation binding the contract event 0x6875685eb5dbc8e2796d75d2dc9e9cb607b610d0558ee7336df418a26d4846e8.

Solidity: event BlockFeeChange()

func (*SwivelFilterer) FilterBlockWithdrawal

func (_Swivel *SwivelFilterer) FilterBlockWithdrawal(opts *bind.FilterOpts, token []common.Address) (*SwivelBlockWithdrawalIterator, error)

FilterBlockWithdrawal is a free log retrieval operation binding the contract event 0xb1c1232c5dd039bb1c46cc05eaf25828e4f8596b7f68bdb23073ba78b9ca382d.

Solidity: event BlockWithdrawal(address indexed token)

func (*SwivelFilterer) FilterCancel

func (_Swivel *SwivelFilterer) FilterCancel(opts *bind.FilterOpts, key [][32]byte) (*SwivelCancelIterator, error)

FilterCancel is a free log retrieval operation binding the contract event 0x9e5d8891dc1b047de610617bc9bc2d8ccffebbc3d63363431a546831245858a6.

Solidity: event Cancel(bytes32 indexed key, bytes32 hash)

func (*SwivelFilterer) FilterChangeFee

func (_Swivel *SwivelFilterer) FilterChangeFee(opts *bind.FilterOpts, index []*big.Int, value []*big.Int) (*SwivelChangeFeeIterator, error)

FilterChangeFee is a free log retrieval operation binding the contract event 0x91e72fa36e0202be93e86c97a3d3d3497cf0a06cf859b14b616a304367835a8e.

Solidity: event ChangeFee(uint256 indexed index, uint256 indexed value)

func (*SwivelFilterer) FilterExit

func (_Swivel *SwivelFilterer) FilterExit(opts *bind.FilterOpts, key [][32]byte, maker []common.Address, sender []common.Address) (*SwivelExitIterator, error)

FilterExit is a free log retrieval operation binding the contract event 0x51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd9266712834.

Solidity: event Exit(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) FilterInitiate

func (_Swivel *SwivelFilterer) FilterInitiate(opts *bind.FilterOpts, key [][32]byte, maker []common.Address, sender []common.Address) (*SwivelInitiateIterator, error)

FilterInitiate is a free log retrieval operation binding the contract event 0x32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef.

Solidity: event Initiate(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) FilterScheduleApproval

func (_Swivel *SwivelFilterer) FilterScheduleApproval(opts *bind.FilterOpts, token []common.Address) (*SwivelScheduleApprovalIterator, error)

FilterScheduleApproval is a free log retrieval operation binding the contract event 0x21263a04a74448e43f067f1f26a13bf97e989ae0fedb64b3a84a2d87908f3d16.

Solidity: event ScheduleApproval(address indexed token, uint256 hold)

func (*SwivelFilterer) FilterScheduleFeeChange

func (_Swivel *SwivelFilterer) FilterScheduleFeeChange(opts *bind.FilterOpts) (*SwivelScheduleFeeChangeIterator, error)

FilterScheduleFeeChange is a free log retrieval operation binding the contract event 0x996dcde4d8c5a2baa561812ac7ceca074aea97d25dcd0d75106a654433c5544a.

Solidity: event ScheduleFeeChange(uint16[4] proposal, uint256 hold)

func (*SwivelFilterer) FilterScheduleWithdrawal

func (_Swivel *SwivelFilterer) FilterScheduleWithdrawal(opts *bind.FilterOpts, token []common.Address) (*SwivelScheduleWithdrawalIterator, error)

FilterScheduleWithdrawal is a free log retrieval operation binding the contract event 0xe4b67652e856f57a7747dd2473850ce987087f4b1744a870504f1c047cb56f4f.

Solidity: event ScheduleWithdrawal(address indexed token, uint256 hold)

func (*SwivelFilterer) FilterSetAdmin

func (_Swivel *SwivelFilterer) FilterSetAdmin(opts *bind.FilterOpts, admin []common.Address) (*SwivelSetAdminIterator, error)

FilterSetAdmin is a free log retrieval operation binding the contract event 0x5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a1.

Solidity: event SetAdmin(address indexed admin)

func (*SwivelFilterer) ParseBlockApproval

func (_Swivel *SwivelFilterer) ParseBlockApproval(log types.Log) (*SwivelBlockApproval, error)

ParseBlockApproval is a log parse operation binding the contract event 0x28294d7092ed60d20702d49d934aafe161e401c695a6bf21327f39e2c20656ec.

Solidity: event BlockApproval(address indexed token)

func (*SwivelFilterer) ParseBlockFeeChange

func (_Swivel *SwivelFilterer) ParseBlockFeeChange(log types.Log) (*SwivelBlockFeeChange, error)

ParseBlockFeeChange is a log parse operation binding the contract event 0x6875685eb5dbc8e2796d75d2dc9e9cb607b610d0558ee7336df418a26d4846e8.

Solidity: event BlockFeeChange()

func (*SwivelFilterer) ParseBlockWithdrawal

func (_Swivel *SwivelFilterer) ParseBlockWithdrawal(log types.Log) (*SwivelBlockWithdrawal, error)

ParseBlockWithdrawal is a log parse operation binding the contract event 0xb1c1232c5dd039bb1c46cc05eaf25828e4f8596b7f68bdb23073ba78b9ca382d.

Solidity: event BlockWithdrawal(address indexed token)

func (*SwivelFilterer) ParseCancel

func (_Swivel *SwivelFilterer) ParseCancel(log types.Log) (*SwivelCancel, error)

ParseCancel is a log parse operation binding the contract event 0x9e5d8891dc1b047de610617bc9bc2d8ccffebbc3d63363431a546831245858a6.

Solidity: event Cancel(bytes32 indexed key, bytes32 hash)

func (*SwivelFilterer) ParseChangeFee

func (_Swivel *SwivelFilterer) ParseChangeFee(log types.Log) (*SwivelChangeFee, error)

ParseChangeFee is a log parse operation binding the contract event 0x91e72fa36e0202be93e86c97a3d3d3497cf0a06cf859b14b616a304367835a8e.

Solidity: event ChangeFee(uint256 indexed index, uint256 indexed value)

func (*SwivelFilterer) ParseExit

func (_Swivel *SwivelFilterer) ParseExit(log types.Log) (*SwivelExit, error)

ParseExit is a log parse operation binding the contract event 0x51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd9266712834.

Solidity: event Exit(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) ParseInitiate

func (_Swivel *SwivelFilterer) ParseInitiate(log types.Log) (*SwivelInitiate, error)

ParseInitiate is a log parse operation binding the contract event 0x32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef.

Solidity: event Initiate(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) ParseScheduleApproval

func (_Swivel *SwivelFilterer) ParseScheduleApproval(log types.Log) (*SwivelScheduleApproval, error)

ParseScheduleApproval is a log parse operation binding the contract event 0x21263a04a74448e43f067f1f26a13bf97e989ae0fedb64b3a84a2d87908f3d16.

Solidity: event ScheduleApproval(address indexed token, uint256 hold)

func (*SwivelFilterer) ParseScheduleFeeChange

func (_Swivel *SwivelFilterer) ParseScheduleFeeChange(log types.Log) (*SwivelScheduleFeeChange, error)

ParseScheduleFeeChange is a log parse operation binding the contract event 0x996dcde4d8c5a2baa561812ac7ceca074aea97d25dcd0d75106a654433c5544a.

Solidity: event ScheduleFeeChange(uint16[4] proposal, uint256 hold)

func (*SwivelFilterer) ParseScheduleWithdrawal

func (_Swivel *SwivelFilterer) ParseScheduleWithdrawal(log types.Log) (*SwivelScheduleWithdrawal, error)

ParseScheduleWithdrawal is a log parse operation binding the contract event 0xe4b67652e856f57a7747dd2473850ce987087f4b1744a870504f1c047cb56f4f.

Solidity: event ScheduleWithdrawal(address indexed token, uint256 hold)

func (*SwivelFilterer) ParseSetAdmin

func (_Swivel *SwivelFilterer) ParseSetAdmin(log types.Log) (*SwivelSetAdmin, error)

ParseSetAdmin is a log parse operation binding the contract event 0x5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a1.

Solidity: event SetAdmin(address indexed admin)

func (*SwivelFilterer) WatchBlockApproval

func (_Swivel *SwivelFilterer) WatchBlockApproval(opts *bind.WatchOpts, sink chan<- *SwivelBlockApproval, token []common.Address) (event.Subscription, error)

WatchBlockApproval is a free log subscription operation binding the contract event 0x28294d7092ed60d20702d49d934aafe161e401c695a6bf21327f39e2c20656ec.

Solidity: event BlockApproval(address indexed token)

func (*SwivelFilterer) WatchBlockFeeChange

func (_Swivel *SwivelFilterer) WatchBlockFeeChange(opts *bind.WatchOpts, sink chan<- *SwivelBlockFeeChange) (event.Subscription, error)

WatchBlockFeeChange is a free log subscription operation binding the contract event 0x6875685eb5dbc8e2796d75d2dc9e9cb607b610d0558ee7336df418a26d4846e8.

Solidity: event BlockFeeChange()

func (*SwivelFilterer) WatchBlockWithdrawal

func (_Swivel *SwivelFilterer) WatchBlockWithdrawal(opts *bind.WatchOpts, sink chan<- *SwivelBlockWithdrawal, token []common.Address) (event.Subscription, error)

WatchBlockWithdrawal is a free log subscription operation binding the contract event 0xb1c1232c5dd039bb1c46cc05eaf25828e4f8596b7f68bdb23073ba78b9ca382d.

Solidity: event BlockWithdrawal(address indexed token)

func (*SwivelFilterer) WatchCancel

func (_Swivel *SwivelFilterer) WatchCancel(opts *bind.WatchOpts, sink chan<- *SwivelCancel, key [][32]byte) (event.Subscription, error)

WatchCancel is a free log subscription operation binding the contract event 0x9e5d8891dc1b047de610617bc9bc2d8ccffebbc3d63363431a546831245858a6.

Solidity: event Cancel(bytes32 indexed key, bytes32 hash)

func (*SwivelFilterer) WatchChangeFee

func (_Swivel *SwivelFilterer) WatchChangeFee(opts *bind.WatchOpts, sink chan<- *SwivelChangeFee, index []*big.Int, value []*big.Int) (event.Subscription, error)

WatchChangeFee is a free log subscription operation binding the contract event 0x91e72fa36e0202be93e86c97a3d3d3497cf0a06cf859b14b616a304367835a8e.

Solidity: event ChangeFee(uint256 indexed index, uint256 indexed value)

func (*SwivelFilterer) WatchExit

func (_Swivel *SwivelFilterer) WatchExit(opts *bind.WatchOpts, sink chan<- *SwivelExit, key [][32]byte, maker []common.Address, sender []common.Address) (event.Subscription, error)

WatchExit is a free log subscription operation binding the contract event 0x51cad9177cf46d59109ae978bb3cf5ffed2bb3d53fb3682fa56fbd9266712834.

Solidity: event Exit(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) WatchInitiate

func (_Swivel *SwivelFilterer) WatchInitiate(opts *bind.WatchOpts, sink chan<- *SwivelInitiate, key [][32]byte, maker []common.Address, sender []common.Address) (event.Subscription, error)

WatchInitiate is a free log subscription operation binding the contract event 0x32bc401d77ffde781b234d480866e0c360e724770a30ea3299309f9171e400ef.

Solidity: event Initiate(bytes32 indexed key, bytes32 hash, address indexed maker, bool vault, bool exit, address indexed sender, uint256 amount, uint256 filled)

func (*SwivelFilterer) WatchScheduleApproval

func (_Swivel *SwivelFilterer) WatchScheduleApproval(opts *bind.WatchOpts, sink chan<- *SwivelScheduleApproval, token []common.Address) (event.Subscription, error)

WatchScheduleApproval is a free log subscription operation binding the contract event 0x21263a04a74448e43f067f1f26a13bf97e989ae0fedb64b3a84a2d87908f3d16.

Solidity: event ScheduleApproval(address indexed token, uint256 hold)

func (*SwivelFilterer) WatchScheduleFeeChange

func (_Swivel *SwivelFilterer) WatchScheduleFeeChange(opts *bind.WatchOpts, sink chan<- *SwivelScheduleFeeChange) (event.Subscription, error)

WatchScheduleFeeChange is a free log subscription operation binding the contract event 0x996dcde4d8c5a2baa561812ac7ceca074aea97d25dcd0d75106a654433c5544a.

Solidity: event ScheduleFeeChange(uint16[4] proposal, uint256 hold)

func (*SwivelFilterer) WatchScheduleWithdrawal

func (_Swivel *SwivelFilterer) WatchScheduleWithdrawal(opts *bind.WatchOpts, sink chan<- *SwivelScheduleWithdrawal, token []common.Address) (event.Subscription, error)

WatchScheduleWithdrawal is a free log subscription operation binding the contract event 0xe4b67652e856f57a7747dd2473850ce987087f4b1744a870504f1c047cb56f4f.

Solidity: event ScheduleWithdrawal(address indexed token, uint256 hold)

func (*SwivelFilterer) WatchSetAdmin

func (_Swivel *SwivelFilterer) WatchSetAdmin(opts *bind.WatchOpts, sink chan<- *SwivelSetAdmin, admin []common.Address) (event.Subscription, error)

WatchSetAdmin is a free log subscription operation binding the contract event 0x5a272403b402d892977df56625f4164ccaf70ca3863991c43ecfe76a6905b0a1.

Solidity: event SetAdmin(address indexed admin)

type SwivelInitiate

type SwivelInitiate struct {
	Key    [32]byte
	Hash   [32]byte
	Maker  common.Address
	Vault  bool
	Exit   bool
	Sender common.Address
	Amount *big.Int
	Filled *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SwivelInitiate represents a Initiate event raised by the Swivel contract.

type SwivelInitiateIterator

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

SwivelInitiateIterator is returned from FilterInitiate and is used to iterate over the raw logs and unpacked data for Initiate events raised by the Swivel contract.

func (*SwivelInitiateIterator) Close

func (it *SwivelInitiateIterator) Close() error

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

func (*SwivelInitiateIterator) Error

func (it *SwivelInitiateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelInitiateIterator) Next

func (it *SwivelInitiateIterator) 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 SwivelRaw

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

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

func (*SwivelRaw) Call

func (_Swivel *SwivelRaw) 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 (*SwivelRaw) Transact

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

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

func (*SwivelRaw) Transfer

func (_Swivel *SwivelRaw) 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 SwivelScheduleApproval

type SwivelScheduleApproval struct {
	Token common.Address
	Hold  *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelScheduleApproval represents a ScheduleApproval event raised by the Swivel contract.

type SwivelScheduleApprovalIterator

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

SwivelScheduleApprovalIterator is returned from FilterScheduleApproval and is used to iterate over the raw logs and unpacked data for ScheduleApproval events raised by the Swivel contract.

func (*SwivelScheduleApprovalIterator) Close

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

func (*SwivelScheduleApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelScheduleApprovalIterator) 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 SwivelScheduleFeeChange

type SwivelScheduleFeeChange struct {
	Proposal [4]uint16
	Hold     *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SwivelScheduleFeeChange represents a ScheduleFeeChange event raised by the Swivel contract.

type SwivelScheduleFeeChangeIterator

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

SwivelScheduleFeeChangeIterator is returned from FilterScheduleFeeChange and is used to iterate over the raw logs and unpacked data for ScheduleFeeChange events raised by the Swivel contract.

func (*SwivelScheduleFeeChangeIterator) Close

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

func (*SwivelScheduleFeeChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelScheduleFeeChangeIterator) 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 SwivelScheduleWithdrawal

type SwivelScheduleWithdrawal struct {
	Token common.Address
	Hold  *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelScheduleWithdrawal represents a ScheduleWithdrawal event raised by the Swivel contract.

type SwivelScheduleWithdrawalIterator

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

SwivelScheduleWithdrawalIterator is returned from FilterScheduleWithdrawal and is used to iterate over the raw logs and unpacked data for ScheduleWithdrawal events raised by the Swivel contract.

func (*SwivelScheduleWithdrawalIterator) Close

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

func (*SwivelScheduleWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelScheduleWithdrawalIterator) 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 SwivelSession

type SwivelSession struct {
	Contract     *Swivel           // 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
}

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

func (*SwivelSession) AaveAddr

func (_Swivel *SwivelSession) AaveAddr() (common.Address, error)

AaveAddr is a free data retrieval call binding the contract method 0x81bb8d63.

Solidity: function aaveAddr() view returns(address)

func (*SwivelSession) Admin

func (_Swivel *SwivelSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*SwivelSession) Approvals

func (_Swivel *SwivelSession) Approvals(arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

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

func (*SwivelSession) ApproveUnderlying

func (_Swivel *SwivelSession) ApproveUnderlying(u []common.Address, c []common.Address) (*types.Transaction, error)

ApproveUnderlying is a paid mutator transaction binding the contract method 0x25dedb85.

Solidity: function approveUnderlying(address[] u, address[] c) returns(bool)

func (*SwivelSession) AuthRedeem

func (_Swivel *SwivelSession) AuthRedeem(p uint8, u common.Address, c common.Address, t common.Address, a *big.Int) (*types.Transaction, error)

AuthRedeem is a paid mutator transaction binding the contract method 0x8bfa66be.

Solidity: function authRedeem(uint8 p, address u, address c, address t, uint256 a) returns(bool)

func (*SwivelSession) BlockApproval

func (_Swivel *SwivelSession) BlockApproval(e common.Address) (*types.Transaction, error)

BlockApproval is a paid mutator transaction binding the contract method 0xa0e80554.

Solidity: function blockApproval(address e) returns(bool)

func (*SwivelSession) BlockFeeChange

func (_Swivel *SwivelSession) BlockFeeChange() (*types.Transaction, error)

BlockFeeChange is a paid mutator transaction binding the contract method 0xf9ad473d.

Solidity: function blockFeeChange() returns(bool)

func (*SwivelSession) BlockWithdrawal

func (_Swivel *SwivelSession) BlockWithdrawal(e common.Address) (*types.Transaction, error)

BlockWithdrawal is a paid mutator transaction binding the contract method 0xa102e384.

Solidity: function blockWithdrawal(address e) returns(bool)

func (*SwivelSession) Cancel

func (_Swivel *SwivelSession) Cancel(o []HashOrder) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x12a444fa.

Solidity: function cancel((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o) returns(bool)

func (*SwivelSession) Cancelled

func (_Swivel *SwivelSession) Cancelled(arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled(bytes32 ) view returns(bool)

func (*SwivelSession) ChangeFee

func (_Swivel *SwivelSession) ChangeFee(f [4]uint16) (*types.Transaction, error)

ChangeFee is a paid mutator transaction binding the contract method 0x172bfa94.

Solidity: function changeFee(uint16[4] f) returns(bool)

func (*SwivelSession) CombineTokens

func (_Swivel *SwivelSession) CombineTokens(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

CombineTokens is a paid mutator transaction binding the contract method 0x2fd9ee8a.

Solidity: function combineTokens(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelSession) Domain

func (_Swivel *SwivelSession) Domain() ([32]byte, error)

Domain is a free data retrieval call binding the contract method 0xc2fb26a6.

Solidity: function domain() view returns(bytes32)

func (*SwivelSession) Exit

func (_Swivel *SwivelSession) Exit(o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x4af60607.

Solidity: function exit((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelSession) FeeChange

func (_Swivel *SwivelSession) FeeChange() (*big.Int, error)

FeeChange is a free data retrieval call binding the contract method 0x35197f9e.

Solidity: function feeChange() view returns(uint256)

func (*SwivelSession) Feenominators

func (_Swivel *SwivelSession) Feenominators(arg0 *big.Int) (uint16, error)

Feenominators is a free data retrieval call binding the contract method 0x95cb60c4.

Solidity: function feenominators(uint256 ) view returns(uint16)

func (*SwivelSession) Filled

func (_Swivel *SwivelSession) Filled(arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled(bytes32 ) view returns(uint256)

func (*SwivelSession) HOLD

func (_Swivel *SwivelSession) HOLD() (*big.Int, error)

HOLD is a free data retrieval call binding the contract method 0xd0886f97.

Solidity: function HOLD() view returns(uint256)

func (*SwivelSession) Initiate

func (_Swivel *SwivelSession) Initiate(o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x10510f11.

Solidity: function initiate((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelSession) MINFEENOMINATOR

func (_Swivel *SwivelSession) MINFEENOMINATOR() (uint16, error)

MINFEENOMINATOR is a free data retrieval call binding the contract method 0x0d3f5352.

Solidity: function MIN_FEENOMINATOR() view returns(uint16)

func (*SwivelSession) MarketPlace

func (_Swivel *SwivelSession) MarketPlace() (common.Address, error)

MarketPlace is a free data retrieval call binding the contract method 0x2e25d2a6.

Solidity: function marketPlace() view returns(address)

func (*SwivelSession) NAME

func (_Swivel *SwivelSession) NAME() (string, error)

NAME is a free data retrieval call binding the contract method 0xa3f4df7e.

Solidity: function NAME() view returns(string)

func (*SwivelSession) RedeemSwivelVaultInterest

func (_Swivel *SwivelSession) RedeemSwivelVaultInterest(p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemSwivelVaultInterest is a paid mutator transaction binding the contract method 0xb6907677.

Solidity: function redeemSwivelVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelSession) RedeemVaultInterest

func (_Swivel *SwivelSession) RedeemVaultInterest(p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemVaultInterest is a paid mutator transaction binding the contract method 0xa0b06b50.

Solidity: function redeemVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelSession) RedeemZcToken

func (_Swivel *SwivelSession) RedeemZcToken(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

RedeemZcToken is a paid mutator transaction binding the contract method 0xb16a33cc.

Solidity: function redeemZcToken(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelSession) ScheduleApproval

func (_Swivel *SwivelSession) ScheduleApproval(e common.Address) (*types.Transaction, error)

ScheduleApproval is a paid mutator transaction binding the contract method 0xf22c692e.

Solidity: function scheduleApproval(address e) returns(bool)

func (*SwivelSession) ScheduleFeeChange

func (_Swivel *SwivelSession) ScheduleFeeChange(f [4]uint16) (*types.Transaction, error)

ScheduleFeeChange is a paid mutator transaction binding the contract method 0x761a7e70.

Solidity: function scheduleFeeChange(uint16[4] f) returns(bool)

func (*SwivelSession) ScheduleWithdrawal

func (_Swivel *SwivelSession) ScheduleWithdrawal(e common.Address) (*types.Transaction, error)

ScheduleWithdrawal is a paid mutator transaction binding the contract method 0xf8eaad35.

Solidity: function scheduleWithdrawal(address e) returns(bool)

func (*SwivelSession) SetAdmin

func (_Swivel *SwivelSession) SetAdmin(a common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address a) returns(bool)

func (*SwivelSession) SplitUnderlying

func (_Swivel *SwivelSession) SplitUnderlying(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

SplitUnderlying is a paid mutator transaction binding the contract method 0x52a4eec6.

Solidity: function splitUnderlying(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelSession) VERSION

func (_Swivel *SwivelSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() view returns(string)

func (*SwivelSession) Withdraw

func (_Swivel *SwivelSession) Withdraw(e common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(address e) returns(bool)

func (*SwivelSession) Withdrawals

func (_Swivel *SwivelSession) Withdrawals(arg0 common.Address) (*big.Int, error)

Withdrawals is a free data retrieval call binding the contract method 0x7a9262a2.

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

type SwivelSetAdmin

type SwivelSetAdmin struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

SwivelSetAdmin represents a SetAdmin event raised by the Swivel contract.

type SwivelSetAdminIterator

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

SwivelSetAdminIterator is returned from FilterSetAdmin and is used to iterate over the raw logs and unpacked data for SetAdmin events raised by the Swivel contract.

func (*SwivelSetAdminIterator) Close

func (it *SwivelSetAdminIterator) Close() error

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

func (*SwivelSetAdminIterator) Error

func (it *SwivelSetAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwivelSetAdminIterator) Next

func (it *SwivelSetAdminIterator) 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 SwivelTransactor

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

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

func NewSwivelTransactor

func NewSwivelTransactor(address common.Address, transactor bind.ContractTransactor) (*SwivelTransactor, error)

NewSwivelTransactor creates a new write-only instance of Swivel, bound to a specific deployed contract.

func (*SwivelTransactor) ApproveUnderlying

func (_Swivel *SwivelTransactor) ApproveUnderlying(opts *bind.TransactOpts, u []common.Address, c []common.Address) (*types.Transaction, error)

ApproveUnderlying is a paid mutator transaction binding the contract method 0x25dedb85.

Solidity: function approveUnderlying(address[] u, address[] c) returns(bool)

func (*SwivelTransactor) AuthRedeem

func (_Swivel *SwivelTransactor) AuthRedeem(opts *bind.TransactOpts, p uint8, u common.Address, c common.Address, t common.Address, a *big.Int) (*types.Transaction, error)

AuthRedeem is a paid mutator transaction binding the contract method 0x8bfa66be.

Solidity: function authRedeem(uint8 p, address u, address c, address t, uint256 a) returns(bool)

func (*SwivelTransactor) BlockApproval

func (_Swivel *SwivelTransactor) BlockApproval(opts *bind.TransactOpts, e common.Address) (*types.Transaction, error)

BlockApproval is a paid mutator transaction binding the contract method 0xa0e80554.

Solidity: function blockApproval(address e) returns(bool)

func (*SwivelTransactor) BlockFeeChange

func (_Swivel *SwivelTransactor) BlockFeeChange(opts *bind.TransactOpts) (*types.Transaction, error)

BlockFeeChange is a paid mutator transaction binding the contract method 0xf9ad473d.

Solidity: function blockFeeChange() returns(bool)

func (*SwivelTransactor) BlockWithdrawal

func (_Swivel *SwivelTransactor) BlockWithdrawal(opts *bind.TransactOpts, e common.Address) (*types.Transaction, error)

BlockWithdrawal is a paid mutator transaction binding the contract method 0xa102e384.

Solidity: function blockWithdrawal(address e) returns(bool)

func (*SwivelTransactor) Cancel

func (_Swivel *SwivelTransactor) Cancel(opts *bind.TransactOpts, o []HashOrder) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x12a444fa.

Solidity: function cancel((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o) returns(bool)

func (*SwivelTransactor) ChangeFee

func (_Swivel *SwivelTransactor) ChangeFee(opts *bind.TransactOpts, f [4]uint16) (*types.Transaction, error)

ChangeFee is a paid mutator transaction binding the contract method 0x172bfa94.

Solidity: function changeFee(uint16[4] f) returns(bool)

func (*SwivelTransactor) CombineTokens

func (_Swivel *SwivelTransactor) CombineTokens(opts *bind.TransactOpts, p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

CombineTokens is a paid mutator transaction binding the contract method 0x2fd9ee8a.

Solidity: function combineTokens(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactor) Exit

func (_Swivel *SwivelTransactor) Exit(opts *bind.TransactOpts, o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x4af60607.

Solidity: function exit((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelTransactor) Initiate

func (_Swivel *SwivelTransactor) Initiate(opts *bind.TransactOpts, o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x10510f11.

Solidity: function initiate((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelTransactor) RedeemSwivelVaultInterest

func (_Swivel *SwivelTransactor) RedeemSwivelVaultInterest(opts *bind.TransactOpts, p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemSwivelVaultInterest is a paid mutator transaction binding the contract method 0xb6907677.

Solidity: function redeemSwivelVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelTransactor) RedeemVaultInterest

func (_Swivel *SwivelTransactor) RedeemVaultInterest(opts *bind.TransactOpts, p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemVaultInterest is a paid mutator transaction binding the contract method 0xa0b06b50.

Solidity: function redeemVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelTransactor) RedeemZcToken

func (_Swivel *SwivelTransactor) RedeemZcToken(opts *bind.TransactOpts, p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

RedeemZcToken is a paid mutator transaction binding the contract method 0xb16a33cc.

Solidity: function redeemZcToken(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactor) ScheduleApproval

func (_Swivel *SwivelTransactor) ScheduleApproval(opts *bind.TransactOpts, e common.Address) (*types.Transaction, error)

ScheduleApproval is a paid mutator transaction binding the contract method 0xf22c692e.

Solidity: function scheduleApproval(address e) returns(bool)

func (*SwivelTransactor) ScheduleFeeChange

func (_Swivel *SwivelTransactor) ScheduleFeeChange(opts *bind.TransactOpts, f [4]uint16) (*types.Transaction, error)

ScheduleFeeChange is a paid mutator transaction binding the contract method 0x761a7e70.

Solidity: function scheduleFeeChange(uint16[4] f) returns(bool)

func (*SwivelTransactor) ScheduleWithdrawal

func (_Swivel *SwivelTransactor) ScheduleWithdrawal(opts *bind.TransactOpts, e common.Address) (*types.Transaction, error)

ScheduleWithdrawal is a paid mutator transaction binding the contract method 0xf8eaad35.

Solidity: function scheduleWithdrawal(address e) returns(bool)

func (*SwivelTransactor) SetAdmin

func (_Swivel *SwivelTransactor) SetAdmin(opts *bind.TransactOpts, a common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address a) returns(bool)

func (*SwivelTransactor) SplitUnderlying

func (_Swivel *SwivelTransactor) SplitUnderlying(opts *bind.TransactOpts, p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

SplitUnderlying is a paid mutator transaction binding the contract method 0x52a4eec6.

Solidity: function splitUnderlying(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactor) Withdraw

func (_Swivel *SwivelTransactor) Withdraw(opts *bind.TransactOpts, e common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(address e) returns(bool)

type SwivelTransactorRaw

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

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

func (*SwivelTransactorRaw) Transact

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

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

func (*SwivelTransactorRaw) Transfer

func (_Swivel *SwivelTransactorRaw) 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 SwivelTransactorSession

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

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

func (*SwivelTransactorSession) ApproveUnderlying

func (_Swivel *SwivelTransactorSession) ApproveUnderlying(u []common.Address, c []common.Address) (*types.Transaction, error)

ApproveUnderlying is a paid mutator transaction binding the contract method 0x25dedb85.

Solidity: function approveUnderlying(address[] u, address[] c) returns(bool)

func (*SwivelTransactorSession) AuthRedeem

AuthRedeem is a paid mutator transaction binding the contract method 0x8bfa66be.

Solidity: function authRedeem(uint8 p, address u, address c, address t, uint256 a) returns(bool)

func (*SwivelTransactorSession) BlockApproval

func (_Swivel *SwivelTransactorSession) BlockApproval(e common.Address) (*types.Transaction, error)

BlockApproval is a paid mutator transaction binding the contract method 0xa0e80554.

Solidity: function blockApproval(address e) returns(bool)

func (*SwivelTransactorSession) BlockFeeChange

func (_Swivel *SwivelTransactorSession) BlockFeeChange() (*types.Transaction, error)

BlockFeeChange is a paid mutator transaction binding the contract method 0xf9ad473d.

Solidity: function blockFeeChange() returns(bool)

func (*SwivelTransactorSession) BlockWithdrawal

func (_Swivel *SwivelTransactorSession) BlockWithdrawal(e common.Address) (*types.Transaction, error)

BlockWithdrawal is a paid mutator transaction binding the contract method 0xa102e384.

Solidity: function blockWithdrawal(address e) returns(bool)

func (*SwivelTransactorSession) Cancel

func (_Swivel *SwivelTransactorSession) Cancel(o []HashOrder) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x12a444fa.

Solidity: function cancel((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o) returns(bool)

func (*SwivelTransactorSession) ChangeFee

func (_Swivel *SwivelTransactorSession) ChangeFee(f [4]uint16) (*types.Transaction, error)

ChangeFee is a paid mutator transaction binding the contract method 0x172bfa94.

Solidity: function changeFee(uint16[4] f) returns(bool)

func (*SwivelTransactorSession) CombineTokens

func (_Swivel *SwivelTransactorSession) CombineTokens(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

CombineTokens is a paid mutator transaction binding the contract method 0x2fd9ee8a.

Solidity: function combineTokens(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactorSession) Exit

func (_Swivel *SwivelTransactorSession) Exit(o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x4af60607.

Solidity: function exit((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelTransactorSession) Initiate

func (_Swivel *SwivelTransactorSession) Initiate(o []HashOrder, a []*big.Int, c []SigComponents) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x10510f11.

Solidity: function initiate((bytes32,uint8,address,address,bool,bool,uint256,uint256,uint256,uint256)[] o, uint256[] a, (uint8,bytes32,bytes32)[] c) returns(bool)

func (*SwivelTransactorSession) RedeemSwivelVaultInterest

func (_Swivel *SwivelTransactorSession) RedeemSwivelVaultInterest(p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemSwivelVaultInterest is a paid mutator transaction binding the contract method 0xb6907677.

Solidity: function redeemSwivelVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelTransactorSession) RedeemVaultInterest

func (_Swivel *SwivelTransactorSession) RedeemVaultInterest(p uint8, u common.Address, m *big.Int) (*types.Transaction, error)

RedeemVaultInterest is a paid mutator transaction binding the contract method 0xa0b06b50.

Solidity: function redeemVaultInterest(uint8 p, address u, uint256 m) returns(bool)

func (*SwivelTransactorSession) RedeemZcToken

func (_Swivel *SwivelTransactorSession) RedeemZcToken(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

RedeemZcToken is a paid mutator transaction binding the contract method 0xb16a33cc.

Solidity: function redeemZcToken(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactorSession) ScheduleApproval

func (_Swivel *SwivelTransactorSession) ScheduleApproval(e common.Address) (*types.Transaction, error)

ScheduleApproval is a paid mutator transaction binding the contract method 0xf22c692e.

Solidity: function scheduleApproval(address e) returns(bool)

func (*SwivelTransactorSession) ScheduleFeeChange

func (_Swivel *SwivelTransactorSession) ScheduleFeeChange(f [4]uint16) (*types.Transaction, error)

ScheduleFeeChange is a paid mutator transaction binding the contract method 0x761a7e70.

Solidity: function scheduleFeeChange(uint16[4] f) returns(bool)

func (*SwivelTransactorSession) ScheduleWithdrawal

func (_Swivel *SwivelTransactorSession) ScheduleWithdrawal(e common.Address) (*types.Transaction, error)

ScheduleWithdrawal is a paid mutator transaction binding the contract method 0xf8eaad35.

Solidity: function scheduleWithdrawal(address e) returns(bool)

func (*SwivelTransactorSession) SetAdmin

func (_Swivel *SwivelTransactorSession) SetAdmin(a common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address a) returns(bool)

func (*SwivelTransactorSession) SplitUnderlying

func (_Swivel *SwivelTransactorSession) SplitUnderlying(p uint8, u common.Address, m *big.Int, a *big.Int) (*types.Transaction, error)

SplitUnderlying is a paid mutator transaction binding the contract method 0x52a4eec6.

Solidity: function splitUnderlying(uint8 p, address u, uint256 m, uint256 a) returns(bool)

func (*SwivelTransactorSession) Withdraw

func (_Swivel *SwivelTransactorSession) Withdraw(e common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(address e) returns(bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL