Documentation
¶
Index ¶
- Variables
- type FlowShieldOrder
- type Slit
- type SlitApproval
- type SlitApprovalIterator
- type SlitCaller
- func (_Slit *SlitCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Slit *SlitCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Slit *SlitCaller) CheckOrder(opts *bind.CallOpts, _orderId string) (bool, error)
- func (_Slit *SlitCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Slit *SlitCaller) FullnodeDepositAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Slit *SlitCaller) GetAllOrderTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_Slit *SlitCaller) GetOrdersInfo(opts *bind.CallOpts, _orderId string) (FlowShieldOrder, error)
- func (_Slit *SlitCaller) GetPrivoderOrders(opts *bind.CallOpts, from common.Address) ([]string, error)
- func (_Slit *SlitCaller) GetUserInfo(opts *bind.CallOpts, uuid string) (bool, bool, error)
- func (_Slit *SlitCaller) GetWallet(opts *bind.CallOpts, uuid string) (common.Address, uint8, error)
- func (_Slit *SlitCaller) IsDeposit(opts *bind.CallOpts, _type uint8) (bool, error)
- func (_Slit *SlitCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Slit *SlitCaller) PrivoderDepositAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Slit *SlitCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Slit *SlitCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SlitCallerRaw
- type SlitCallerSession
- func (_Slit *SlitCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Slit *SlitCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Slit *SlitCallerSession) CheckOrder(_orderId string) (bool, error)
- func (_Slit *SlitCallerSession) Decimals() (uint8, error)
- func (_Slit *SlitCallerSession) FullnodeDepositAmount() (*big.Int, error)
- func (_Slit *SlitCallerSession) GetAllOrderTokens() (*big.Int, error)
- func (_Slit *SlitCallerSession) GetOrdersInfo(_orderId string) (FlowShieldOrder, error)
- func (_Slit *SlitCallerSession) GetPrivoderOrders(from common.Address) ([]string, error)
- func (_Slit *SlitCallerSession) GetUserInfo(uuid string) (bool, bool, error)
- func (_Slit *SlitCallerSession) GetWallet(uuid string) (common.Address, uint8, error)
- func (_Slit *SlitCallerSession) IsDeposit(_type uint8) (bool, error)
- func (_Slit *SlitCallerSession) Name() (string, error)
- func (_Slit *SlitCallerSession) PrivoderDepositAmount() (*big.Int, error)
- func (_Slit *SlitCallerSession) Symbol() (string, error)
- func (_Slit *SlitCallerSession) TotalSupply() (*big.Int, error)
- type SlitFilterer
- func (_Slit *SlitFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SlitApprovalIterator, error)
- func (_Slit *SlitFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SlitTransferIterator, error)
- func (_Slit *SlitFilterer) ParseApproval(log types.Log) (*SlitApproval, error)
- func (_Slit *SlitFilterer) ParseTransfer(log types.Log) (*SlitTransfer, error)
- func (_Slit *SlitFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SlitApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Slit *SlitFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SlitTransfer, from []common.Address, ...) (event.Subscription, error)
- type SlitRaw
- func (_Slit *SlitRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Slit *SlitRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Slit *SlitRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SlitSession
- func (_Slit *SlitSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Slit *SlitSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Slit *SlitSession) BindWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitSession) ChangeWallet(uuid string, newWallet common.Address) (*types.Transaction, error)
- func (_Slit *SlitSession) CheckOrder(_orderId string) (bool, error)
- func (_Slit *SlitSession) ClientOrder(_name string, _duration uint32, _orderId string, _price *big.Int, ...) (*types.Transaction, error)
- func (_Slit *SlitSession) Decimals() (uint8, error)
- func (_Slit *SlitSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitSession) FullnodeDepositAmount() (*big.Int, error)
- func (_Slit *SlitSession) GetAllOrderTokens() (*big.Int, error)
- func (_Slit *SlitSession) GetOrdersInfo(_orderId string) (FlowShieldOrder, error)
- func (_Slit *SlitSession) GetPrivoderOrders(from common.Address) ([]string, error)
- func (_Slit *SlitSession) GetUserInfo(uuid string) (bool, bool, error)
- func (_Slit *SlitSession) GetWallet(uuid string) (common.Address, uint8, error)
- func (_Slit *SlitSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitSession) IsDeposit(_type uint8) (bool, error)
- func (_Slit *SlitSession) Name() (string, error)
- func (_Slit *SlitSession) PrivoderDepositAmount() (*big.Int, error)
- func (_Slit *SlitSession) Stake(_type uint8) (*types.Transaction, error)
- func (_Slit *SlitSession) Symbol() (string, error)
- func (_Slit *SlitSession) TotalSupply() (*big.Int, error)
- func (_Slit *SlitSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitSession) UnbindWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitSession) VerifyWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitSession) Withdraw(_type uint8) (*types.Transaction, error)
- func (_Slit *SlitSession) WithdrawAllOrderTokens() (*types.Transaction, error)
- func (_Slit *SlitSession) WithdrawOrderTokens(_orderId string) (*types.Transaction, error)
- type SlitTransactor
- func (_Slit *SlitTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactor) BindWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactor) ChangeWallet(opts *bind.TransactOpts, uuid string, newWallet common.Address) (*types.Transaction, error)
- func (_Slit *SlitTransactor) ClientOrder(opts *bind.TransactOpts, _name string, _duration uint32, _orderId string, ...) (*types.Transaction, error)
- func (_Slit *SlitTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactor) Stake(opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
- func (_Slit *SlitTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Slit *SlitTransactor) UnbindWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactor) VerifyWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactor) Withdraw(opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
- func (_Slit *SlitTransactor) WithdrawAllOrderTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Slit *SlitTransactor) WithdrawOrderTokens(opts *bind.TransactOpts, _orderId string) (*types.Transaction, error)
- type SlitTransactorRaw
- type SlitTransactorSession
- func (_Slit *SlitTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) BindWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) ChangeWallet(uuid string, newWallet common.Address) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) ClientOrder(_name string, _duration uint32, _orderId string, _price *big.Int, ...) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) Stake(_type uint8) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) UnbindWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) VerifyWallet(uuid string) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) Withdraw(_type uint8) (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) WithdrawAllOrderTokens() (*types.Transaction, error)
- func (_Slit *SlitTransactorSession) WithdrawOrderTokens(_orderId string) (*types.Transaction, error)
- type SlitTransfer
- type SlitTransferIterator
Constants ¶
This section is empty.
Variables ¶
var SlitABI = SlitMetaData.ABI
SlitABI is the input ABI used to generate the binding from. Deprecated: Use SlitMetaData.ABI instead.
var SlitMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"}],\"name\":\"bindWallet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"newWallet\",\"type\":\"address\"}],\"name\":\"changeWallet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_orderId\",\"type\":\"string\"}],\"name\":\"checkOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"_duration\",\"type\":\"uint32\"},{\"internalType\":\"string\",\"name\":\"_orderId\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_price\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"clientOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fullnodeDepositAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllOrderTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_orderId\",\"type\":\"string\"}],\"name\":\"getOrdersInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"duration\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"used\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"withdraw\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"payAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"privateAddress\",\"type\":\"address\"}],\"internalType\":\"structFlowShield.Order\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"getPrivoderOrders\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"}],\"name\":\"getWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_type\",\"type\":\"uint8\"}],\"name\":\"isDeposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"privoderDepositAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_type\",\"type\":\"uint8\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"}],\"name\":\"unbindWallet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uuid\",\"type\":\"string\"}],\"name\":\"verifyWallet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_type\",\"type\":\"uint8\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAllOrderTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_orderId\",\"type\":\"string\"}],\"name\":\"withdrawOrderTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
SlitMetaData contains all meta data concerning the Slit contract.
Functions ¶
This section is empty.
Types ¶
type FlowShieldOrder ¶
type FlowShieldOrder struct { Name string StartTime *big.Int EndTime *big.Int WithdrawDuration *big.Int Duration uint32 Price *big.Int Used bool Withdraw bool PayAddress common.Address PrivateAddress common.Address }
FlowShieldOrder is an auto generated low-level Go binding around an user-defined struct.
type Slit ¶
type Slit struct { SlitCaller // Read-only binding to the contract SlitTransactor // Write-only binding to the contract SlitFilterer // Log filterer for contract events }
Slit is an auto generated Go binding around an Ethereum contract.
type SlitApproval ¶
type SlitApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SlitApproval represents a Approval event raised by the Slit contract.
type SlitApprovalIterator ¶
type SlitApprovalIterator struct { Event *SlitApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlitApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Slit contract.
func (*SlitApprovalIterator) Close ¶
func (it *SlitApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlitApprovalIterator) Error ¶
func (it *SlitApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlitApprovalIterator) Next ¶
func (it *SlitApprovalIterator) 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 SlitCaller ¶
type SlitCaller struct {
// contains filtered or unexported fields
}
SlitCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSlitCaller ¶
func NewSlitCaller(address common.Address, caller bind.ContractCaller) (*SlitCaller, error)
NewSlitCaller creates a new read-only instance of Slit, bound to a specific deployed contract.
func (*SlitCaller) Allowance ¶
func (_Slit *SlitCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SlitCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*SlitCaller) CheckOrder ¶
CheckOrder is a free data retrieval call binding the contract method 0xdd6887ed.
Solidity: function checkOrder(string _orderId) view returns(bool)
func (*SlitCaller) Decimals ¶
func (_Slit *SlitCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlitCaller) FullnodeDepositAmount ¶
FullnodeDepositAmount is a free data retrieval call binding the contract method 0xd35b1ac2.
Solidity: function fullnodeDepositAmount() view returns(uint256)
func (*SlitCaller) GetAllOrderTokens ¶
GetAllOrderTokens is a free data retrieval call binding the contract method 0xf3fbfc7b.
Solidity: function getAllOrderTokens() view returns(uint256)
func (*SlitCaller) GetOrdersInfo ¶
func (_Slit *SlitCaller) GetOrdersInfo(opts *bind.CallOpts, _orderId string) (FlowShieldOrder, error)
GetOrdersInfo is a free data retrieval call binding the contract method 0x8291a021.
Solidity: function getOrdersInfo(string _orderId) view returns((string,uint256,uint256,uint256,uint32,uint256,bool,bool,address,address))
func (*SlitCaller) GetPrivoderOrders ¶
func (_Slit *SlitCaller) GetPrivoderOrders(opts *bind.CallOpts, from common.Address) ([]string, error)
GetPrivoderOrders is a free data retrieval call binding the contract method 0x183dd1cd.
Solidity: function getPrivoderOrders(address from) view returns(string[])
func (*SlitCaller) GetUserInfo ¶
GetUserInfo is a free data retrieval call binding the contract method 0x7c9b7fdd.
Solidity: function getUserInfo(string uuid) view returns(bool, bool)
func (*SlitCaller) GetWallet ¶
GetWallet is a free data retrieval call binding the contract method 0xa4e2df66.
Solidity: function getWallet(string uuid) view returns(address, uint8)
func (*SlitCaller) IsDeposit ¶
IsDeposit is a free data retrieval call binding the contract method 0xf276b8aa.
Solidity: function isDeposit(uint8 _type) view returns(bool)
func (*SlitCaller) Name ¶
func (_Slit *SlitCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SlitCaller) PrivoderDepositAmount ¶
PrivoderDepositAmount is a free data retrieval call binding the contract method 0xcd74c0a7.
Solidity: function privoderDepositAmount() view returns(uint256)
func (*SlitCaller) Symbol ¶
func (_Slit *SlitCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SlitCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SlitCallerRaw ¶
type SlitCallerRaw struct {
Contract *SlitCaller // Generic read-only contract binding to access the raw methods on
}
SlitCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SlitCallerRaw) Call ¶
func (_Slit *SlitCallerRaw) 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 SlitCallerSession ¶
type SlitCallerSession struct { Contract *SlitCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SlitCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SlitCallerSession) Allowance ¶
func (_Slit *SlitCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SlitCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*SlitCallerSession) CheckOrder ¶
func (_Slit *SlitCallerSession) CheckOrder(_orderId string) (bool, error)
CheckOrder is a free data retrieval call binding the contract method 0xdd6887ed.
Solidity: function checkOrder(string _orderId) view returns(bool)
func (*SlitCallerSession) Decimals ¶
func (_Slit *SlitCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlitCallerSession) FullnodeDepositAmount ¶
func (_Slit *SlitCallerSession) FullnodeDepositAmount() (*big.Int, error)
FullnodeDepositAmount is a free data retrieval call binding the contract method 0xd35b1ac2.
Solidity: function fullnodeDepositAmount() view returns(uint256)
func (*SlitCallerSession) GetAllOrderTokens ¶
func (_Slit *SlitCallerSession) GetAllOrderTokens() (*big.Int, error)
GetAllOrderTokens is a free data retrieval call binding the contract method 0xf3fbfc7b.
Solidity: function getAllOrderTokens() view returns(uint256)
func (*SlitCallerSession) GetOrdersInfo ¶
func (_Slit *SlitCallerSession) GetOrdersInfo(_orderId string) (FlowShieldOrder, error)
GetOrdersInfo is a free data retrieval call binding the contract method 0x8291a021.
Solidity: function getOrdersInfo(string _orderId) view returns((string,uint256,uint256,uint256,uint32,uint256,bool,bool,address,address))
func (*SlitCallerSession) GetPrivoderOrders ¶
func (_Slit *SlitCallerSession) GetPrivoderOrders(from common.Address) ([]string, error)
GetPrivoderOrders is a free data retrieval call binding the contract method 0x183dd1cd.
Solidity: function getPrivoderOrders(address from) view returns(string[])
func (*SlitCallerSession) GetUserInfo ¶
func (_Slit *SlitCallerSession) GetUserInfo(uuid string) (bool, bool, error)
GetUserInfo is a free data retrieval call binding the contract method 0x7c9b7fdd.
Solidity: function getUserInfo(string uuid) view returns(bool, bool)
func (*SlitCallerSession) GetWallet ¶
GetWallet is a free data retrieval call binding the contract method 0xa4e2df66.
Solidity: function getWallet(string uuid) view returns(address, uint8)
func (*SlitCallerSession) IsDeposit ¶
func (_Slit *SlitCallerSession) IsDeposit(_type uint8) (bool, error)
IsDeposit is a free data retrieval call binding the contract method 0xf276b8aa.
Solidity: function isDeposit(uint8 _type) view returns(bool)
func (*SlitCallerSession) Name ¶
func (_Slit *SlitCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SlitCallerSession) PrivoderDepositAmount ¶
func (_Slit *SlitCallerSession) PrivoderDepositAmount() (*big.Int, error)
PrivoderDepositAmount is a free data retrieval call binding the contract method 0xcd74c0a7.
Solidity: function privoderDepositAmount() view returns(uint256)
func (*SlitCallerSession) Symbol ¶
func (_Slit *SlitCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SlitCallerSession) TotalSupply ¶
func (_Slit *SlitCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SlitFilterer ¶
type SlitFilterer struct {
// contains filtered or unexported fields
}
SlitFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSlitFilterer ¶
func NewSlitFilterer(address common.Address, filterer bind.ContractFilterer) (*SlitFilterer, error)
NewSlitFilterer creates a new log filterer instance of Slit, bound to a specific deployed contract.
func (*SlitFilterer) FilterApproval ¶
func (_Slit *SlitFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SlitApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*SlitFilterer) FilterTransfer ¶
func (_Slit *SlitFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SlitTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*SlitFilterer) ParseApproval ¶
func (_Slit *SlitFilterer) ParseApproval(log types.Log) (*SlitApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*SlitFilterer) ParseTransfer ¶
func (_Slit *SlitFilterer) ParseTransfer(log types.Log) (*SlitTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*SlitFilterer) WatchApproval ¶
func (_Slit *SlitFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SlitApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*SlitFilterer) WatchTransfer ¶
func (_Slit *SlitFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SlitTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type SlitRaw ¶
type SlitRaw struct {
Contract *Slit // Generic contract binding to access the raw methods on
}
SlitRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SlitRaw) Call ¶
func (_Slit *SlitRaw) 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 (*SlitRaw) Transact ¶
func (_Slit *SlitRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SlitRaw) Transfer ¶
func (_Slit *SlitRaw) 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 SlitSession ¶
type SlitSession struct { Contract *Slit // 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 }
SlitSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SlitSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SlitSession) Approve ¶
func (_Slit *SlitSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*SlitSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*SlitSession) BindWallet ¶
func (_Slit *SlitSession) BindWallet(uuid string) (*types.Transaction, error)
BindWallet is a paid mutator transaction binding the contract method 0x8ec012b9.
Solidity: function bindWallet(string uuid) returns()
func (*SlitSession) ChangeWallet ¶
func (_Slit *SlitSession) ChangeWallet(uuid string, newWallet common.Address) (*types.Transaction, error)
ChangeWallet is a paid mutator transaction binding the contract method 0x87a858d2.
Solidity: function changeWallet(string uuid, address newWallet) returns()
func (*SlitSession) CheckOrder ¶
func (_Slit *SlitSession) CheckOrder(_orderId string) (bool, error)
CheckOrder is a free data retrieval call binding the contract method 0xdd6887ed.
Solidity: function checkOrder(string _orderId) view returns(bool)
func (*SlitSession) ClientOrder ¶
func (_Slit *SlitSession) ClientOrder(_name string, _duration uint32, _orderId string, _price *big.Int, _to common.Address) (*types.Transaction, error)
ClientOrder is a paid mutator transaction binding the contract method 0x5c9abe11.
Solidity: function clientOrder(string _name, uint32 _duration, string _orderId, uint256 _price, address _to) returns()
func (*SlitSession) Decimals ¶
func (_Slit *SlitSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlitSession) DecreaseAllowance ¶
func (_Slit *SlitSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*SlitSession) FullnodeDepositAmount ¶
func (_Slit *SlitSession) FullnodeDepositAmount() (*big.Int, error)
FullnodeDepositAmount is a free data retrieval call binding the contract method 0xd35b1ac2.
Solidity: function fullnodeDepositAmount() view returns(uint256)
func (*SlitSession) GetAllOrderTokens ¶
func (_Slit *SlitSession) GetAllOrderTokens() (*big.Int, error)
GetAllOrderTokens is a free data retrieval call binding the contract method 0xf3fbfc7b.
Solidity: function getAllOrderTokens() view returns(uint256)
func (*SlitSession) GetOrdersInfo ¶
func (_Slit *SlitSession) GetOrdersInfo(_orderId string) (FlowShieldOrder, error)
GetOrdersInfo is a free data retrieval call binding the contract method 0x8291a021.
Solidity: function getOrdersInfo(string _orderId) view returns((string,uint256,uint256,uint256,uint32,uint256,bool,bool,address,address))
func (*SlitSession) GetPrivoderOrders ¶
func (_Slit *SlitSession) GetPrivoderOrders(from common.Address) ([]string, error)
GetPrivoderOrders is a free data retrieval call binding the contract method 0x183dd1cd.
Solidity: function getPrivoderOrders(address from) view returns(string[])
func (*SlitSession) GetUserInfo ¶
func (_Slit *SlitSession) GetUserInfo(uuid string) (bool, bool, error)
GetUserInfo is a free data retrieval call binding the contract method 0x7c9b7fdd.
Solidity: function getUserInfo(string uuid) view returns(bool, bool)
func (*SlitSession) GetWallet ¶
GetWallet is a free data retrieval call binding the contract method 0xa4e2df66.
Solidity: function getWallet(string uuid) view returns(address, uint8)
func (*SlitSession) IncreaseAllowance ¶
func (_Slit *SlitSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*SlitSession) IsDeposit ¶
func (_Slit *SlitSession) IsDeposit(_type uint8) (bool, error)
IsDeposit is a free data retrieval call binding the contract method 0xf276b8aa.
Solidity: function isDeposit(uint8 _type) view returns(bool)
func (*SlitSession) Name ¶
func (_Slit *SlitSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SlitSession) PrivoderDepositAmount ¶
func (_Slit *SlitSession) PrivoderDepositAmount() (*big.Int, error)
PrivoderDepositAmount is a free data retrieval call binding the contract method 0xcd74c0a7.
Solidity: function privoderDepositAmount() view returns(uint256)
func (*SlitSession) Stake ¶
func (_Slit *SlitSession) Stake(_type uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x604f2177.
Solidity: function stake(uint8 _type) returns()
func (*SlitSession) Symbol ¶
func (_Slit *SlitSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SlitSession) TotalSupply ¶
func (_Slit *SlitSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SlitSession) Transfer ¶
func (_Slit *SlitSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*SlitSession) TransferFrom ¶
func (_Slit *SlitSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*SlitSession) UnbindWallet ¶
func (_Slit *SlitSession) UnbindWallet(uuid string) (*types.Transaction, error)
UnbindWallet is a paid mutator transaction binding the contract method 0xd19e4856.
Solidity: function unbindWallet(string uuid) returns()
func (*SlitSession) VerifyWallet ¶
func (_Slit *SlitSession) VerifyWallet(uuid string) (*types.Transaction, error)
VerifyWallet is a paid mutator transaction binding the contract method 0xffc2c9b7.
Solidity: function verifyWallet(string uuid) returns()
func (*SlitSession) Withdraw ¶
func (_Slit *SlitSession) Withdraw(_type uint8) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc6ab5d90.
Solidity: function withdraw(uint8 _type) returns()
func (*SlitSession) WithdrawAllOrderTokens ¶
func (_Slit *SlitSession) WithdrawAllOrderTokens() (*types.Transaction, error)
WithdrawAllOrderTokens is a paid mutator transaction binding the contract method 0x27a0b34a.
Solidity: function withdrawAllOrderTokens() returns()
func (*SlitSession) WithdrawOrderTokens ¶
func (_Slit *SlitSession) WithdrawOrderTokens(_orderId string) (*types.Transaction, error)
WithdrawOrderTokens is a paid mutator transaction binding the contract method 0x25cfedb5.
Solidity: function withdrawOrderTokens(string _orderId) returns()
type SlitTransactor ¶
type SlitTransactor struct {
// contains filtered or unexported fields
}
SlitTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSlitTransactor ¶
func NewSlitTransactor(address common.Address, transactor bind.ContractTransactor) (*SlitTransactor, error)
NewSlitTransactor creates a new write-only instance of Slit, bound to a specific deployed contract.
func (*SlitTransactor) Approve ¶
func (_Slit *SlitTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*SlitTransactor) BindWallet ¶
func (_Slit *SlitTransactor) BindWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
BindWallet is a paid mutator transaction binding the contract method 0x8ec012b9.
Solidity: function bindWallet(string uuid) returns()
func (*SlitTransactor) ChangeWallet ¶
func (_Slit *SlitTransactor) ChangeWallet(opts *bind.TransactOpts, uuid string, newWallet common.Address) (*types.Transaction, error)
ChangeWallet is a paid mutator transaction binding the contract method 0x87a858d2.
Solidity: function changeWallet(string uuid, address newWallet) returns()
func (*SlitTransactor) ClientOrder ¶
func (_Slit *SlitTransactor) ClientOrder(opts *bind.TransactOpts, _name string, _duration uint32, _orderId string, _price *big.Int, _to common.Address) (*types.Transaction, error)
ClientOrder is a paid mutator transaction binding the contract method 0x5c9abe11.
Solidity: function clientOrder(string _name, uint32 _duration, string _orderId, uint256 _price, address _to) returns()
func (*SlitTransactor) DecreaseAllowance ¶
func (_Slit *SlitTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*SlitTransactor) IncreaseAllowance ¶
func (_Slit *SlitTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*SlitTransactor) Stake ¶
func (_Slit *SlitTransactor) Stake(opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x604f2177.
Solidity: function stake(uint8 _type) returns()
func (*SlitTransactor) Transfer ¶
func (_Slit *SlitTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*SlitTransactor) TransferFrom ¶
func (_Slit *SlitTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*SlitTransactor) UnbindWallet ¶
func (_Slit *SlitTransactor) UnbindWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
UnbindWallet is a paid mutator transaction binding the contract method 0xd19e4856.
Solidity: function unbindWallet(string uuid) returns()
func (*SlitTransactor) VerifyWallet ¶
func (_Slit *SlitTransactor) VerifyWallet(opts *bind.TransactOpts, uuid string) (*types.Transaction, error)
VerifyWallet is a paid mutator transaction binding the contract method 0xffc2c9b7.
Solidity: function verifyWallet(string uuid) returns()
func (*SlitTransactor) Withdraw ¶
func (_Slit *SlitTransactor) Withdraw(opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc6ab5d90.
Solidity: function withdraw(uint8 _type) returns()
func (*SlitTransactor) WithdrawAllOrderTokens ¶
func (_Slit *SlitTransactor) WithdrawAllOrderTokens(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAllOrderTokens is a paid mutator transaction binding the contract method 0x27a0b34a.
Solidity: function withdrawAllOrderTokens() returns()
func (*SlitTransactor) WithdrawOrderTokens ¶
func (_Slit *SlitTransactor) WithdrawOrderTokens(opts *bind.TransactOpts, _orderId string) (*types.Transaction, error)
WithdrawOrderTokens is a paid mutator transaction binding the contract method 0x25cfedb5.
Solidity: function withdrawOrderTokens(string _orderId) returns()
type SlitTransactorRaw ¶
type SlitTransactorRaw struct {
Contract *SlitTransactor // Generic write-only contract binding to access the raw methods on
}
SlitTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SlitTransactorRaw) Transact ¶
func (_Slit *SlitTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SlitTransactorRaw) Transfer ¶
func (_Slit *SlitTransactorRaw) 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 SlitTransactorSession ¶
type SlitTransactorSession struct { Contract *SlitTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SlitTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SlitTransactorSession) Approve ¶
func (_Slit *SlitTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*SlitTransactorSession) BindWallet ¶
func (_Slit *SlitTransactorSession) BindWallet(uuid string) (*types.Transaction, error)
BindWallet is a paid mutator transaction binding the contract method 0x8ec012b9.
Solidity: function bindWallet(string uuid) returns()
func (*SlitTransactorSession) ChangeWallet ¶
func (_Slit *SlitTransactorSession) ChangeWallet(uuid string, newWallet common.Address) (*types.Transaction, error)
ChangeWallet is a paid mutator transaction binding the contract method 0x87a858d2.
Solidity: function changeWallet(string uuid, address newWallet) returns()
func (*SlitTransactorSession) ClientOrder ¶
func (_Slit *SlitTransactorSession) ClientOrder(_name string, _duration uint32, _orderId string, _price *big.Int, _to common.Address) (*types.Transaction, error)
ClientOrder is a paid mutator transaction binding the contract method 0x5c9abe11.
Solidity: function clientOrder(string _name, uint32 _duration, string _orderId, uint256 _price, address _to) returns()
func (*SlitTransactorSession) DecreaseAllowance ¶
func (_Slit *SlitTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*SlitTransactorSession) IncreaseAllowance ¶
func (_Slit *SlitTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*SlitTransactorSession) Stake ¶
func (_Slit *SlitTransactorSession) Stake(_type uint8) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x604f2177.
Solidity: function stake(uint8 _type) returns()
func (*SlitTransactorSession) Transfer ¶
func (_Slit *SlitTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*SlitTransactorSession) TransferFrom ¶
func (_Slit *SlitTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*SlitTransactorSession) UnbindWallet ¶
func (_Slit *SlitTransactorSession) UnbindWallet(uuid string) (*types.Transaction, error)
UnbindWallet is a paid mutator transaction binding the contract method 0xd19e4856.
Solidity: function unbindWallet(string uuid) returns()
func (*SlitTransactorSession) VerifyWallet ¶
func (_Slit *SlitTransactorSession) VerifyWallet(uuid string) (*types.Transaction, error)
VerifyWallet is a paid mutator transaction binding the contract method 0xffc2c9b7.
Solidity: function verifyWallet(string uuid) returns()
func (*SlitTransactorSession) Withdraw ¶
func (_Slit *SlitTransactorSession) Withdraw(_type uint8) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xc6ab5d90.
Solidity: function withdraw(uint8 _type) returns()
func (*SlitTransactorSession) WithdrawAllOrderTokens ¶
func (_Slit *SlitTransactorSession) WithdrawAllOrderTokens() (*types.Transaction, error)
WithdrawAllOrderTokens is a paid mutator transaction binding the contract method 0x27a0b34a.
Solidity: function withdrawAllOrderTokens() returns()
func (*SlitTransactorSession) WithdrawOrderTokens ¶
func (_Slit *SlitTransactorSession) WithdrawOrderTokens(_orderId string) (*types.Transaction, error)
WithdrawOrderTokens is a paid mutator transaction binding the contract method 0x25cfedb5.
Solidity: function withdrawOrderTokens(string _orderId) returns()
type SlitTransfer ¶
type SlitTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SlitTransfer represents a Transfer event raised by the Slit contract.
type SlitTransferIterator ¶
type SlitTransferIterator struct { Event *SlitTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlitTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Slit contract.
func (*SlitTransferIterator) Close ¶
func (it *SlitTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlitTransferIterator) Error ¶
func (it *SlitTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlitTransferIterator) Next ¶
func (it *SlitTransferIterator) 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.