Documentation ¶
Index ¶
- Constants
- Variables
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20CallerSession) Decimals() (*big.Int, error)
- func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Decimals() (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type Incognito
- type IncognitoCaller
- type IncognitoCallerRaw
- type IncognitoCallerSession
- type IncognitoFilterer
- type IncognitoRaw
- func (_Incognito *IncognitoRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Incognito *IncognitoRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Incognito *IncognitoRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IncognitoSession
- type IncognitoTransactor
- type IncognitoTransactorRaw
- type IncognitoTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Vault
- type VaultBurnInstData
- type VaultCaller
- func (_Vault *VaultCaller) BalanceOf(opts *bind.CallOpts, token common.Address) (*big.Int, error)
- func (_Vault *VaultCaller) ETHTOKEN(opts *bind.CallOpts) (common.Address, error)
- func (_Vault *VaultCaller) GetDecimals(opts *bind.CallOpts, token common.Address) (uint8, error)
- func (_Vault *VaultCaller) GetDepositedBalance(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
- func (_Vault *VaultCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
- func (_Vault *VaultCaller) IsSigDataUsed(opts *bind.CallOpts, hash [32]byte) (bool, error)
- func (_Vault *VaultCaller) IsWithdrawed(opts *bind.CallOpts, hash [32]byte) (bool, error)
- func (_Vault *VaultCaller) Migration(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Vault *VaultCaller) NotEntered(opts *bind.CallOpts) (bool, error)
- func (_Vault *VaultCaller) ParseBurnInst(opts *bind.CallOpts, inst []byte) (VaultBurnInstData, error)
- func (_Vault *VaultCaller) PrevVault(opts *bind.CallOpts) (common.Address, error)
- func (_Vault *VaultCaller) SigDataUsed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Vault *VaultCaller) SigToAddress(opts *bind.CallOpts, signData []byte, hash [32]byte) (common.Address, error)
- func (_Vault *VaultCaller) TotalDepositedToSCAmount(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Vault *VaultCaller) WithdrawRequests(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vault *VaultCaller) Withdrawed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type VaultCallerRaw
- type VaultCallerSession
- func (_Vault *VaultCallerSession) BalanceOf(token common.Address) (*big.Int, error)
- func (_Vault *VaultCallerSession) ETHTOKEN() (common.Address, error)
- func (_Vault *VaultCallerSession) GetDecimals(token common.Address) (uint8, error)
- func (_Vault *VaultCallerSession) GetDepositedBalance(token common.Address, owner common.Address) (*big.Int, error)
- func (_Vault *VaultCallerSession) IsInitialized() (bool, error)
- func (_Vault *VaultCallerSession) IsSigDataUsed(hash [32]byte) (bool, error)
- func (_Vault *VaultCallerSession) IsWithdrawed(hash [32]byte) (bool, error)
- func (_Vault *VaultCallerSession) Migration(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Vault *VaultCallerSession) NotEntered() (bool, error)
- func (_Vault *VaultCallerSession) ParseBurnInst(inst []byte) (VaultBurnInstData, error)
- func (_Vault *VaultCallerSession) PrevVault() (common.Address, error)
- func (_Vault *VaultCallerSession) SigDataUsed(arg0 [32]byte) (bool, error)
- func (_Vault *VaultCallerSession) SigToAddress(signData []byte, hash [32]byte) (common.Address, error)
- func (_Vault *VaultCallerSession) TotalDepositedToSCAmount(arg0 common.Address) (*big.Int, error)
- func (_Vault *VaultCallerSession) WithdrawRequests(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vault *VaultCallerSession) Withdrawed(arg0 [32]byte) (bool, error)
- type VaultDeposit
- type VaultDepositIterator
- type VaultFilterer
- func (_Vault *VaultFilterer) FilterDeposit(opts *bind.FilterOpts) (*VaultDepositIterator, error)
- func (_Vault *VaultFilterer) FilterUpdateIncognitoProxy(opts *bind.FilterOpts) (*VaultUpdateIncognitoProxyIterator, error)
- func (_Vault *VaultFilterer) FilterUpdateTokenTotal(opts *bind.FilterOpts) (*VaultUpdateTokenTotalIterator, error)
- func (_Vault *VaultFilterer) FilterWithdraw(opts *bind.FilterOpts) (*VaultWithdrawIterator, error)
- func (_Vault *VaultFilterer) ParseDeposit(log types.Log) (*VaultDeposit, error)
- func (_Vault *VaultFilterer) ParseUpdateIncognitoProxy(log types.Log) (*VaultUpdateIncognitoProxy, error)
- func (_Vault *VaultFilterer) ParseUpdateTokenTotal(log types.Log) (*VaultUpdateTokenTotal, error)
- func (_Vault *VaultFilterer) ParseWithdraw(log types.Log) (*VaultWithdraw, error)
- func (_Vault *VaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VaultDeposit) (event.Subscription, error)
- func (_Vault *VaultFilterer) WatchUpdateIncognitoProxy(opts *bind.WatchOpts, sink chan<- *VaultUpdateIncognitoProxy) (event.Subscription, error)
- func (_Vault *VaultFilterer) WatchUpdateTokenTotal(opts *bind.WatchOpts, sink chan<- *VaultUpdateTokenTotal) (event.Subscription, error)
- func (_Vault *VaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *VaultWithdraw) (event.Subscription, error)
- type VaultHelper
- type VaultHelperCaller
- func (_VaultHelper *VaultHelperCaller) BuildPreSignData(opts *bind.CallOpts, prefix uint8, token common.Address, timestamp []byte, ...) error
- func (_VaultHelper *VaultHelperCaller) BuildSignExecute(opts *bind.CallOpts, psd VaultHelperPreSignData, recipientToken common.Address, ...) ([]byte, error)
- func (_VaultHelper *VaultHelperCaller) BuildSignRequestWithdraw(opts *bind.CallOpts, psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
- type VaultHelperCallerRaw
- type VaultHelperCallerSession
- func (_VaultHelper *VaultHelperCallerSession) BuildPreSignData(prefix uint8, token common.Address, timestamp []byte, amount *big.Int) error
- func (_VaultHelper *VaultHelperCallerSession) BuildSignExecute(psd VaultHelperPreSignData, recipientToken common.Address, ...) ([]byte, error)
- func (_VaultHelper *VaultHelperCallerSession) BuildSignRequestWithdraw(psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
- type VaultHelperFilterer
- type VaultHelperPreSignData
- type VaultHelperRaw
- func (_VaultHelper *VaultHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VaultHelper *VaultHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VaultHelper *VaultHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VaultHelperSession
- func (_VaultHelper *VaultHelperSession) BuildPreSignData(prefix uint8, token common.Address, timestamp []byte, amount *big.Int) error
- func (_VaultHelper *VaultHelperSession) BuildSignExecute(psd VaultHelperPreSignData, recipientToken common.Address, ...) ([]byte, error)
- func (_VaultHelper *VaultHelperSession) BuildSignRequestWithdraw(psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
- type VaultHelperTransactor
- type VaultHelperTransactorRaw
- type VaultHelperTransactorSession
- type VaultRaw
- func (_Vault *VaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Vault *VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Vault *VaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VaultSession
- func (_Vault *VaultSession) BalanceOf(token common.Address) (*big.Int, error)
- func (_Vault *VaultSession) Deposit(incognitoAddress string) (*types.Transaction, error)
- func (_Vault *VaultSession) DepositERC20(token common.Address, amount *big.Int, incognitoAddress string) (*types.Transaction, error)
- func (_Vault *VaultSession) ETHTOKEN() (common.Address, error)
- func (_Vault *VaultSession) Execute(token common.Address, amount *big.Int, recipientToken common.Address, ...) (*types.Transaction, error)
- func (_Vault *VaultSession) GetDecimals(token common.Address) (uint8, error)
- func (_Vault *VaultSession) GetDepositedBalance(token common.Address, owner common.Address) (*big.Int, error)
- func (_Vault *VaultSession) Initialize(_prevVault common.Address) (*types.Transaction, error)
- func (_Vault *VaultSession) IsInitialized() (bool, error)
- func (_Vault *VaultSession) IsSigDataUsed(hash [32]byte) (bool, error)
- func (_Vault *VaultSession) IsWithdrawed(hash [32]byte) (bool, error)
- func (_Vault *VaultSession) Migration(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Vault *VaultSession) NotEntered() (bool, error)
- func (_Vault *VaultSession) ParseBurnInst(inst []byte) (VaultBurnInstData, error)
- func (_Vault *VaultSession) PrevVault() (common.Address, error)
- func (_Vault *VaultSession) Receive() (*types.Transaction, error)
- func (_Vault *VaultSession) RequestWithdraw(incognitoAddress string, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Vault *VaultSession) SigDataUsed(arg0 [32]byte) (bool, error)
- func (_Vault *VaultSession) SigToAddress(signData []byte, hash [32]byte) (common.Address, error)
- func (_Vault *VaultSession) SubmitBurnProof(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, ...) (*types.Transaction, error)
- func (_Vault *VaultSession) TotalDepositedToSCAmount(arg0 common.Address) (*big.Int, error)
- func (_Vault *VaultSession) UpdateAssets(assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Vault *VaultSession) Withdraw(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, ...) (*types.Transaction, error)
- func (_Vault *VaultSession) WithdrawRequests(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vault *VaultSession) Withdrawed(arg0 [32]byte) (bool, error)
- type VaultTransactor
- func (_Vault *VaultTransactor) Deposit(opts *bind.TransactOpts, incognitoAddress string) (*types.Transaction, error)
- func (_Vault *VaultTransactor) DepositERC20(opts *bind.TransactOpts, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactor) Execute(opts *bind.TransactOpts, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactor) Initialize(opts *bind.TransactOpts, _prevVault common.Address) (*types.Transaction, error)
- func (_Vault *VaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vault *VaultTransactor) RequestWithdraw(opts *bind.TransactOpts, incognitoAddress string, token common.Address, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactor) SubmitBurnProof(opts *bind.TransactOpts, inst []byte, heights *big.Int, instPaths [][32]byte, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactor) UpdateAssets(opts *bind.TransactOpts, assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Vault *VaultTransactor) Withdraw(opts *bind.TransactOpts, inst []byte, heights *big.Int, instPaths [][32]byte, ...) (*types.Transaction, error)
- type VaultTransactorRaw
- type VaultTransactorSession
- func (_Vault *VaultTransactorSession) Deposit(incognitoAddress string) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) DepositERC20(token common.Address, amount *big.Int, incognitoAddress string) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) Execute(token common.Address, amount *big.Int, recipientToken common.Address, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) Initialize(_prevVault common.Address) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) Receive() (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) RequestWithdraw(incognitoAddress string, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) SubmitBurnProof(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) UpdateAssets(assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) Withdraw(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, ...) (*types.Transaction, error)
- type VaultUpdateIncognitoProxy
- type VaultUpdateIncognitoProxyIterator
- type VaultUpdateTokenTotal
- type VaultUpdateTokenTotalIterator
- type VaultWithdraw
- type VaultWithdrawIterator
- type Withdrawable
- type WithdrawableCaller
- func (_Withdrawable *WithdrawableCaller) GetDepositedBalance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Withdrawable *WithdrawableCaller) IsSigDataUsed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableCaller) IsWithdrawed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableCaller) Paused(opts *bind.CallOpts) (bool, error)
- type WithdrawableCallerRaw
- type WithdrawableCallerSession
- func (_Withdrawable *WithdrawableCallerSession) GetDepositedBalance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Withdrawable *WithdrawableCallerSession) IsSigDataUsed(arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableCallerSession) IsWithdrawed(arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableCallerSession) Paused() (bool, error)
- type WithdrawableFilterer
- type WithdrawableRaw
- func (_Withdrawable *WithdrawableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Withdrawable *WithdrawableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Withdrawable *WithdrawableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WithdrawableSession
- func (_Withdrawable *WithdrawableSession) GetDepositedBalance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Withdrawable *WithdrawableSession) IsSigDataUsed(arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableSession) IsWithdrawed(arg0 [32]byte) (bool, error)
- func (_Withdrawable *WithdrawableSession) Paused() (bool, error)
- func (_Withdrawable *WithdrawableSession) UpdateAssets(arg0 []common.Address, arg1 []*big.Int) (*types.Transaction, error)
- type WithdrawableTransactor
- type WithdrawableTransactorRaw
- type WithdrawableTransactorSession
Constants ¶
const IERC20ABI = "" /* 2418-byte string literal not displayed */
IERC20ABI is the input ABI used to generate the binding from.
const IncognitoABI = "" /* 908-byte string literal not displayed */
IncognitoABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const VaultABI = "" /* 9330-byte string literal not displayed */
VaultABI is the input ABI used to generate the binding from.
const VaultHelperABI = "" /* 1887-byte string literal not displayed */
VaultHelperABI is the input ABI used to generate the binding from.
const WithdrawableABI = "" /* 1250-byte string literal not displayed */
WithdrawableABI is the input ABI used to generate the binding from.
Variables ¶
var IERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"313ce567": "decimals()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
IERC20FuncSigs maps the 4-byte function signature to its string representation.
var IncognitoFuncSigs = map[string]string{
"f65d2116": "instructionApproved(bool,bytes32,uint256,bytes32[],bool[],bytes32,bytes32,uint256[],uint8[],bytes32[],bytes32[])",
}
IncognitoFuncSigs maps the 4-byte function signature to its string representation.
var SafeMathBin = "" /* 244-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var VaultBin = "" /* 25984-byte string literal not displayed */
VaultBin is the compiled bytecode used for deploying new contracts.
var VaultFuncSigs = map[string]string{
"58bc8337": "ETH_TOKEN()",
"70a08231": "balanceOf(address)",
"a26e1186": "deposit(string)",
"5a67cb87": "depositERC20(address,uint256,string)",
"8588ccd6": "execute(address,uint256,address,address,bytes,bytes,bytes)",
"cf54aaa0": "getDecimals(address)",
"f75b98ce": "getDepositedBalance(address,address)",
"c4d66de8": "initialize(address)",
"392e53cd": "isInitialized()",
"e4bd7074": "isSigDataUsed(bytes32)",
"749c5f86": "isWithdrawed(bytes32)",
"995fac11": "migration(address,address)",
"a3f5d8cc": "notEntered()",
"7e16e6e1": "parseBurnInst(bytes)",
"fa84702e": "prevVault()",
"87add440": "requestWithdraw(string,address,uint256,bytes,bytes)",
"1ea1940e": "sigDataUsed(bytes32)",
"3fec6b40": "sigToAddress(bytes,bytes32)",
"73bf9651": "submitBurnProof(bytes,uint256,bytes32[],bool[],bytes32,bytes32,uint256[],uint8[],bytes32[],bytes32[])",
"6304541c": "totalDepositedToSCAmount(address)",
"1ed4276d": "updateAssets(address[],uint256[])",
"1beb7de2": "withdraw(bytes,uint256,bytes32[],bool[],bytes32,bytes32,uint256[],uint8[],bytes32[],bytes32[])",
"65b5a00f": "withdrawRequests(address,address)",
"dca40d9e": "withdrawed(bytes32)",
}
VaultFuncSigs maps the 4-byte function signature to its string representation.
var VaultHelperBin = "" /* 2856-byte string literal not displayed */
VaultHelperBin is the compiled bytecode used for deploying new contracts.
var VaultHelperFuncSigs = map[string]string{
"741d7a50": "_buildPreSignData(uint8,address,bytes,uint256)",
"41f59b6f": "_buildSignExecute((uint8,address,bytes,uint256),address,address,bytes)",
"3cf6e1ca": "_buildSignRequestWithdraw((uint8,address,bytes,uint256),string)",
}
VaultHelperFuncSigs maps the 4-byte function signature to its string representation.
var WithdrawableFuncSigs = map[string]string{
"f75b98ce": "getDepositedBalance(address,address)",
"e4bd7074": "isSigDataUsed(bytes32)",
"749c5f86": "isWithdrawed(bytes32)",
"5c975abb": "paused()",
"1ed4276d": "updateAssets(address[],uint256[])",
}
WithdrawableFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) 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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) 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 (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) Decimals ¶
func (_IERC20 *IERC20CallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, 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 (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, 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 (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, 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 (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, 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 IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) 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()
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) Decimals ¶
func (_IERC20 *IERC20Session) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns()
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns()
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) 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()
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns()
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns()
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) 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()
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns()
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns()
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) 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 Incognito ¶
type Incognito struct { IncognitoCaller // Read-only binding to the contract IncognitoTransactor // Write-only binding to the contract IncognitoFilterer // Log filterer for contract events }
Incognito is an auto generated Go binding around an Ethereum contract.
func NewIncognito ¶
NewIncognito creates a new instance of Incognito, bound to a specific deployed contract.
type IncognitoCaller ¶
type IncognitoCaller struct {
// contains filtered or unexported fields
}
IncognitoCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIncognitoCaller ¶
func NewIncognitoCaller(address common.Address, caller bind.ContractCaller) (*IncognitoCaller, error)
NewIncognitoCaller creates a new read-only instance of Incognito, bound to a specific deployed contract.
func (*IncognitoCaller) InstructionApproved ¶
func (_Incognito *IncognitoCaller) InstructionApproved(opts *bind.CallOpts, arg0 bool, arg1 [32]byte, arg2 *big.Int, arg3 [][32]byte, arg4 []bool, arg5 [32]byte, arg6 [32]byte, arg7 []*big.Int, arg8 []uint8, arg9 [][32]byte, arg10 [][32]byte) (bool, error)
InstructionApproved is a free data retrieval call binding the contract method 0xf65d2116.
Solidity: function instructionApproved(bool , bytes32 , uint256 , bytes32[] , bool[] , bytes32 , bytes32 , uint256[] , uint8[] , bytes32[] , bytes32[] ) view returns(bool)
type IncognitoCallerRaw ¶
type IncognitoCallerRaw struct {
Contract *IncognitoCaller // Generic read-only contract binding to access the raw methods on
}
IncognitoCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IncognitoCallerRaw) Call ¶
func (_Incognito *IncognitoCallerRaw) 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 IncognitoCallerSession ¶
type IncognitoCallerSession struct { Contract *IncognitoCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IncognitoCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IncognitoCallerSession) InstructionApproved ¶
func (_Incognito *IncognitoCallerSession) InstructionApproved(arg0 bool, arg1 [32]byte, arg2 *big.Int, arg3 [][32]byte, arg4 []bool, arg5 [32]byte, arg6 [32]byte, arg7 []*big.Int, arg8 []uint8, arg9 [][32]byte, arg10 [][32]byte) (bool, error)
InstructionApproved is a free data retrieval call binding the contract method 0xf65d2116.
Solidity: function instructionApproved(bool , bytes32 , uint256 , bytes32[] , bool[] , bytes32 , bytes32 , uint256[] , uint8[] , bytes32[] , bytes32[] ) view returns(bool)
type IncognitoFilterer ¶
type IncognitoFilterer struct {
// contains filtered or unexported fields
}
IncognitoFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIncognitoFilterer ¶
func NewIncognitoFilterer(address common.Address, filterer bind.ContractFilterer) (*IncognitoFilterer, error)
NewIncognitoFilterer creates a new log filterer instance of Incognito, bound to a specific deployed contract.
type IncognitoRaw ¶
type IncognitoRaw struct {
Contract *Incognito // Generic contract binding to access the raw methods on
}
IncognitoRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IncognitoRaw) Call ¶
func (_Incognito *IncognitoRaw) 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 (*IncognitoRaw) Transact ¶
func (_Incognito *IncognitoRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IncognitoRaw) Transfer ¶
func (_Incognito *IncognitoRaw) 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 IncognitoSession ¶
type IncognitoSession struct { Contract *Incognito // 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 }
IncognitoSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IncognitoSession) InstructionApproved ¶
func (_Incognito *IncognitoSession) InstructionApproved(arg0 bool, arg1 [32]byte, arg2 *big.Int, arg3 [][32]byte, arg4 []bool, arg5 [32]byte, arg6 [32]byte, arg7 []*big.Int, arg8 []uint8, arg9 [][32]byte, arg10 [][32]byte) (bool, error)
InstructionApproved is a free data retrieval call binding the contract method 0xf65d2116.
Solidity: function instructionApproved(bool , bytes32 , uint256 , bytes32[] , bool[] , bytes32 , bytes32 , uint256[] , uint8[] , bytes32[] , bytes32[] ) view returns(bool)
type IncognitoTransactor ¶
type IncognitoTransactor struct {
// contains filtered or unexported fields
}
IncognitoTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIncognitoTransactor ¶
func NewIncognitoTransactor(address common.Address, transactor bind.ContractTransactor) (*IncognitoTransactor, error)
NewIncognitoTransactor creates a new write-only instance of Incognito, bound to a specific deployed contract.
type IncognitoTransactorRaw ¶
type IncognitoTransactorRaw struct {
Contract *IncognitoTransactor // Generic write-only contract binding to access the raw methods on
}
IncognitoTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IncognitoTransactorRaw) Transact ¶
func (_Incognito *IncognitoTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IncognitoTransactorRaw) Transfer ¶
func (_Incognito *IncognitoTransactorRaw) 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 IncognitoTransactorSession ¶
type IncognitoTransactorSession struct { Contract *IncognitoTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IncognitoTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Vault ¶
type Vault struct { VaultCaller // Read-only binding to the contract VaultTransactor // Write-only binding to the contract VaultFilterer // Log filterer for contract events }
Vault is an auto generated Go binding around an Ethereum contract.
func DeployVault ¶
func DeployVault(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Vault, error)
DeployVault deploys a new Ethereum contract, binding an instance of Vault to it.
type VaultBurnInstData ¶
type VaultBurnInstData struct { Meta uint8 Shard uint8 Token common.Address To common.Address Amount *big.Int Itx [32]byte }
VaultBurnInstData is an auto generated low-level Go binding around an user-defined struct.
type VaultCaller ¶
type VaultCaller struct {
// contains filtered or unexported fields
}
VaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVaultCaller ¶
func NewVaultCaller(address common.Address, caller bind.ContractCaller) (*VaultCaller, error)
NewVaultCaller creates a new read-only instance of Vault, bound to a specific deployed contract.
func (*VaultCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address token) view returns(uint256)
func (*VaultCaller) ETHTOKEN ¶
ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.
Solidity: function ETH_TOKEN() view returns(address)
func (*VaultCaller) GetDecimals ¶
GetDecimals is a free data retrieval call binding the contract method 0xcf54aaa0.
Solidity: function getDecimals(address token) view returns(uint8)
func (*VaultCaller) GetDepositedBalance ¶
func (_Vault *VaultCaller) GetDepositedBalance(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address token, address owner) view returns(uint256)
func (*VaultCaller) IsInitialized ¶
func (_Vault *VaultCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*VaultCaller) IsSigDataUsed ¶
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 hash) view returns(bool)
func (*VaultCaller) IsWithdrawed ¶
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 hash) view returns(bool)
func (*VaultCaller) Migration ¶
func (_Vault *VaultCaller) Migration(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
Migration is a free data retrieval call binding the contract method 0x995fac11.
Solidity: function migration(address , address ) view returns(bool)
func (*VaultCaller) NotEntered ¶
func (_Vault *VaultCaller) NotEntered(opts *bind.CallOpts) (bool, error)
NotEntered is a free data retrieval call binding the contract method 0xa3f5d8cc.
Solidity: function notEntered() view returns(bool)
func (*VaultCaller) ParseBurnInst ¶
func (_Vault *VaultCaller) ParseBurnInst(opts *bind.CallOpts, inst []byte) (VaultBurnInstData, error)
ParseBurnInst is a free data retrieval call binding the contract method 0x7e16e6e1.
Solidity: function parseBurnInst(bytes inst) pure returns((uint8,uint8,address,address,uint256,bytes32))
func (*VaultCaller) PrevVault ¶
PrevVault is a free data retrieval call binding the contract method 0xfa84702e.
Solidity: function prevVault() view returns(address)
func (*VaultCaller) SigDataUsed ¶
SigDataUsed is a free data retrieval call binding the contract method 0x1ea1940e.
Solidity: function sigDataUsed(bytes32 ) view returns(bool)
func (*VaultCaller) SigToAddress ¶
func (_Vault *VaultCaller) SigToAddress(opts *bind.CallOpts, signData []byte, hash [32]byte) (common.Address, error)
SigToAddress is a free data retrieval call binding the contract method 0x3fec6b40.
Solidity: function sigToAddress(bytes signData, bytes32 hash) pure returns(address)
func (*VaultCaller) TotalDepositedToSCAmount ¶
func (_Vault *VaultCaller) TotalDepositedToSCAmount(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TotalDepositedToSCAmount is a free data retrieval call binding the contract method 0x6304541c.
Solidity: function totalDepositedToSCAmount(address ) view returns(uint256)
func (*VaultCaller) WithdrawRequests ¶
func (_Vault *VaultCaller) WithdrawRequests(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x65b5a00f.
Solidity: function withdrawRequests(address , address ) view returns(uint256)
func (*VaultCaller) Withdrawed ¶
Withdrawed is a free data retrieval call binding the contract method 0xdca40d9e.
Solidity: function withdrawed(bytes32 ) view returns(bool)
type VaultCallerRaw ¶
type VaultCallerRaw struct {
Contract *VaultCaller // Generic read-only contract binding to access the raw methods on
}
VaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VaultCallerRaw) Call ¶
func (_Vault *VaultCallerRaw) 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 VaultCallerSession ¶
type VaultCallerSession struct { Contract *VaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VaultCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address token) view returns(uint256)
func (*VaultCallerSession) ETHTOKEN ¶
func (_Vault *VaultCallerSession) ETHTOKEN() (common.Address, error)
ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.
Solidity: function ETH_TOKEN() view returns(address)
func (*VaultCallerSession) GetDecimals ¶
func (_Vault *VaultCallerSession) GetDecimals(token common.Address) (uint8, error)
GetDecimals is a free data retrieval call binding the contract method 0xcf54aaa0.
Solidity: function getDecimals(address token) view returns(uint8)
func (*VaultCallerSession) GetDepositedBalance ¶
func (_Vault *VaultCallerSession) GetDepositedBalance(token common.Address, owner common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address token, address owner) view returns(uint256)
func (*VaultCallerSession) IsInitialized ¶
func (_Vault *VaultCallerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*VaultCallerSession) IsSigDataUsed ¶
func (_Vault *VaultCallerSession) IsSigDataUsed(hash [32]byte) (bool, error)
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 hash) view returns(bool)
func (*VaultCallerSession) IsWithdrawed ¶
func (_Vault *VaultCallerSession) IsWithdrawed(hash [32]byte) (bool, error)
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 hash) view returns(bool)
func (*VaultCallerSession) Migration ¶
Migration is a free data retrieval call binding the contract method 0x995fac11.
Solidity: function migration(address , address ) view returns(bool)
func (*VaultCallerSession) NotEntered ¶
func (_Vault *VaultCallerSession) NotEntered() (bool, error)
NotEntered is a free data retrieval call binding the contract method 0xa3f5d8cc.
Solidity: function notEntered() view returns(bool)
func (*VaultCallerSession) ParseBurnInst ¶
func (_Vault *VaultCallerSession) ParseBurnInst(inst []byte) (VaultBurnInstData, error)
ParseBurnInst is a free data retrieval call binding the contract method 0x7e16e6e1.
Solidity: function parseBurnInst(bytes inst) pure returns((uint8,uint8,address,address,uint256,bytes32))
func (*VaultCallerSession) PrevVault ¶
func (_Vault *VaultCallerSession) PrevVault() (common.Address, error)
PrevVault is a free data retrieval call binding the contract method 0xfa84702e.
Solidity: function prevVault() view returns(address)
func (*VaultCallerSession) SigDataUsed ¶
func (_Vault *VaultCallerSession) SigDataUsed(arg0 [32]byte) (bool, error)
SigDataUsed is a free data retrieval call binding the contract method 0x1ea1940e.
Solidity: function sigDataUsed(bytes32 ) view returns(bool)
func (*VaultCallerSession) SigToAddress ¶
func (_Vault *VaultCallerSession) SigToAddress(signData []byte, hash [32]byte) (common.Address, error)
SigToAddress is a free data retrieval call binding the contract method 0x3fec6b40.
Solidity: function sigToAddress(bytes signData, bytes32 hash) pure returns(address)
func (*VaultCallerSession) TotalDepositedToSCAmount ¶
TotalDepositedToSCAmount is a free data retrieval call binding the contract method 0x6304541c.
Solidity: function totalDepositedToSCAmount(address ) view returns(uint256)
func (*VaultCallerSession) WithdrawRequests ¶
func (_Vault *VaultCallerSession) WithdrawRequests(arg0 common.Address, arg1 common.Address) (*big.Int, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x65b5a00f.
Solidity: function withdrawRequests(address , address ) view returns(uint256)
func (*VaultCallerSession) Withdrawed ¶
func (_Vault *VaultCallerSession) Withdrawed(arg0 [32]byte) (bool, error)
Withdrawed is a free data retrieval call binding the contract method 0xdca40d9e.
Solidity: function withdrawed(bytes32 ) view returns(bool)
type VaultDeposit ¶
type VaultDeposit struct { Token common.Address IncognitoAddress string Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
VaultDeposit represents a Deposit event raised by the Vault contract.
type VaultDepositIterator ¶
type VaultDepositIterator struct { Event *VaultDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Vault contract.
func (*VaultDepositIterator) Close ¶
func (it *VaultDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VaultDepositIterator) Error ¶
func (it *VaultDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VaultDepositIterator) Next ¶
func (it *VaultDepositIterator) 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 VaultFilterer ¶
type VaultFilterer struct {
// contains filtered or unexported fields
}
VaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVaultFilterer ¶
func NewVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*VaultFilterer, error)
NewVaultFilterer creates a new log filterer instance of Vault, bound to a specific deployed contract.
func (*VaultFilterer) FilterDeposit ¶
func (_Vault *VaultFilterer) FilterDeposit(opts *bind.FilterOpts) (*VaultDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0x2d4b597935f3cd67fb2eebf1db4debc934cee5c7baa7153f980fdbeb2e74084e.
Solidity: event Deposit(address token, string incognitoAddress, uint256 amount)
func (*VaultFilterer) FilterUpdateIncognitoProxy ¶
func (_Vault *VaultFilterer) FilterUpdateIncognitoProxy(opts *bind.FilterOpts) (*VaultUpdateIncognitoProxyIterator, error)
FilterUpdateIncognitoProxy is a free log retrieval operation binding the contract event 0x204252dfe190ad6ef63db40a490f048b39f661de74628408f13cd0bb2d4c3446.
Solidity: event UpdateIncognitoProxy(address newIncognitoProxy)
func (*VaultFilterer) FilterUpdateTokenTotal ¶
func (_Vault *VaultFilterer) FilterUpdateTokenTotal(opts *bind.FilterOpts) (*VaultUpdateTokenTotalIterator, error)
FilterUpdateTokenTotal is a free log retrieval operation binding the contract event 0x6a7fbbcddfd518bb8c56b28ac6c7acb0f7ca093ed232eb3306e53d14e469895f.
Solidity: event UpdateTokenTotal(address[] assets, uint256[] amounts)
func (*VaultFilterer) FilterWithdraw ¶
func (_Vault *VaultFilterer) FilterWithdraw(opts *bind.FilterOpts) (*VaultWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address token, address to, uint256 amount)
func (*VaultFilterer) ParseDeposit ¶
func (_Vault *VaultFilterer) ParseDeposit(log types.Log) (*VaultDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0x2d4b597935f3cd67fb2eebf1db4debc934cee5c7baa7153f980fdbeb2e74084e.
Solidity: event Deposit(address token, string incognitoAddress, uint256 amount)
func (*VaultFilterer) ParseUpdateIncognitoProxy ¶
func (_Vault *VaultFilterer) ParseUpdateIncognitoProxy(log types.Log) (*VaultUpdateIncognitoProxy, error)
ParseUpdateIncognitoProxy is a log parse operation binding the contract event 0x204252dfe190ad6ef63db40a490f048b39f661de74628408f13cd0bb2d4c3446.
Solidity: event UpdateIncognitoProxy(address newIncognitoProxy)
func (*VaultFilterer) ParseUpdateTokenTotal ¶
func (_Vault *VaultFilterer) ParseUpdateTokenTotal(log types.Log) (*VaultUpdateTokenTotal, error)
ParseUpdateTokenTotal is a log parse operation binding the contract event 0x6a7fbbcddfd518bb8c56b28ac6c7acb0f7ca093ed232eb3306e53d14e469895f.
Solidity: event UpdateTokenTotal(address[] assets, uint256[] amounts)
func (*VaultFilterer) ParseWithdraw ¶
func (_Vault *VaultFilterer) ParseWithdraw(log types.Log) (*VaultWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address token, address to, uint256 amount)
func (*VaultFilterer) WatchDeposit ¶
func (_Vault *VaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VaultDeposit) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0x2d4b597935f3cd67fb2eebf1db4debc934cee5c7baa7153f980fdbeb2e74084e.
Solidity: event Deposit(address token, string incognitoAddress, uint256 amount)
func (*VaultFilterer) WatchUpdateIncognitoProxy ¶
func (_Vault *VaultFilterer) WatchUpdateIncognitoProxy(opts *bind.WatchOpts, sink chan<- *VaultUpdateIncognitoProxy) (event.Subscription, error)
WatchUpdateIncognitoProxy is a free log subscription operation binding the contract event 0x204252dfe190ad6ef63db40a490f048b39f661de74628408f13cd0bb2d4c3446.
Solidity: event UpdateIncognitoProxy(address newIncognitoProxy)
func (*VaultFilterer) WatchUpdateTokenTotal ¶
func (_Vault *VaultFilterer) WatchUpdateTokenTotal(opts *bind.WatchOpts, sink chan<- *VaultUpdateTokenTotal) (event.Subscription, error)
WatchUpdateTokenTotal is a free log subscription operation binding the contract event 0x6a7fbbcddfd518bb8c56b28ac6c7acb0f7ca093ed232eb3306e53d14e469895f.
Solidity: event UpdateTokenTotal(address[] assets, uint256[] amounts)
func (*VaultFilterer) WatchWithdraw ¶
func (_Vault *VaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *VaultWithdraw) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address token, address to, uint256 amount)
type VaultHelper ¶
type VaultHelper struct { VaultHelperCaller // Read-only binding to the contract VaultHelperTransactor // Write-only binding to the contract VaultHelperFilterer // Log filterer for contract events }
VaultHelper is an auto generated Go binding around an Ethereum contract.
func DeployVaultHelper ¶
func DeployVaultHelper(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *VaultHelper, error)
DeployVaultHelper deploys a new Ethereum contract, binding an instance of VaultHelper to it.
func NewVaultHelper ¶
func NewVaultHelper(address common.Address, backend bind.ContractBackend) (*VaultHelper, error)
NewVaultHelper creates a new instance of VaultHelper, bound to a specific deployed contract.
type VaultHelperCaller ¶
type VaultHelperCaller struct {
// contains filtered or unexported fields
}
VaultHelperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVaultHelperCaller ¶
func NewVaultHelperCaller(address common.Address, caller bind.ContractCaller) (*VaultHelperCaller, error)
NewVaultHelperCaller creates a new read-only instance of VaultHelper, bound to a specific deployed contract.
func (*VaultHelperCaller) BuildPreSignData ¶
func (_VaultHelper *VaultHelperCaller) BuildPreSignData(opts *bind.CallOpts, prefix uint8, token common.Address, timestamp []byte, amount *big.Int) error
BuildPreSignData is a free data retrieval call binding the contract method 0x741d7a50.
Solidity: function _buildPreSignData(uint8 prefix, address token, bytes timestamp, uint256 amount) pure returns()
func (*VaultHelperCaller) BuildSignExecute ¶
func (_VaultHelper *VaultHelperCaller) BuildSignExecute(opts *bind.CallOpts, psd VaultHelperPreSignData, recipientToken common.Address, exchangeAddress common.Address, callData []byte) ([]byte, error)
BuildSignExecute is a free data retrieval call binding the contract method 0x41f59b6f.
Solidity: function _buildSignExecute((uint8,address,bytes,uint256) psd, address recipientToken, address exchangeAddress, bytes callData) pure returns(bytes)
func (*VaultHelperCaller) BuildSignRequestWithdraw ¶
func (_VaultHelper *VaultHelperCaller) BuildSignRequestWithdraw(opts *bind.CallOpts, psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
BuildSignRequestWithdraw is a free data retrieval call binding the contract method 0x3cf6e1ca.
Solidity: function _buildSignRequestWithdraw((uint8,address,bytes,uint256) psd, string incognitoAddress) pure returns(bytes)
type VaultHelperCallerRaw ¶
type VaultHelperCallerRaw struct {
Contract *VaultHelperCaller // Generic read-only contract binding to access the raw methods on
}
VaultHelperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VaultHelperCallerRaw) Call ¶
func (_VaultHelper *VaultHelperCallerRaw) 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 VaultHelperCallerSession ¶
type VaultHelperCallerSession struct { Contract *VaultHelperCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VaultHelperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VaultHelperCallerSession) BuildPreSignData ¶
func (_VaultHelper *VaultHelperCallerSession) BuildPreSignData(prefix uint8, token common.Address, timestamp []byte, amount *big.Int) error
BuildPreSignData is a free data retrieval call binding the contract method 0x741d7a50.
Solidity: function _buildPreSignData(uint8 prefix, address token, bytes timestamp, uint256 amount) pure returns()
func (*VaultHelperCallerSession) BuildSignExecute ¶
func (_VaultHelper *VaultHelperCallerSession) BuildSignExecute(psd VaultHelperPreSignData, recipientToken common.Address, exchangeAddress common.Address, callData []byte) ([]byte, error)
BuildSignExecute is a free data retrieval call binding the contract method 0x41f59b6f.
Solidity: function _buildSignExecute((uint8,address,bytes,uint256) psd, address recipientToken, address exchangeAddress, bytes callData) pure returns(bytes)
func (*VaultHelperCallerSession) BuildSignRequestWithdraw ¶
func (_VaultHelper *VaultHelperCallerSession) BuildSignRequestWithdraw(psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
BuildSignRequestWithdraw is a free data retrieval call binding the contract method 0x3cf6e1ca.
Solidity: function _buildSignRequestWithdraw((uint8,address,bytes,uint256) psd, string incognitoAddress) pure returns(bytes)
type VaultHelperFilterer ¶
type VaultHelperFilterer struct {
// contains filtered or unexported fields
}
VaultHelperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVaultHelperFilterer ¶
func NewVaultHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*VaultHelperFilterer, error)
NewVaultHelperFilterer creates a new log filterer instance of VaultHelper, bound to a specific deployed contract.
type VaultHelperPreSignData ¶
type VaultHelperPreSignData struct { Prefix uint8 Token common.Address Timestamp []byte Amount *big.Int }
VaultHelperPreSignData is an auto generated low-level Go binding around an user-defined struct.
type VaultHelperRaw ¶
type VaultHelperRaw struct {
Contract *VaultHelper // Generic contract binding to access the raw methods on
}
VaultHelperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VaultHelperRaw) Call ¶
func (_VaultHelper *VaultHelperRaw) 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 (*VaultHelperRaw) Transact ¶
func (_VaultHelper *VaultHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultHelperRaw) Transfer ¶
func (_VaultHelper *VaultHelperRaw) 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 VaultHelperSession ¶
type VaultHelperSession struct { Contract *VaultHelper // 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 }
VaultHelperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VaultHelperSession) BuildPreSignData ¶
func (_VaultHelper *VaultHelperSession) BuildPreSignData(prefix uint8, token common.Address, timestamp []byte, amount *big.Int) error
BuildPreSignData is a free data retrieval call binding the contract method 0x741d7a50.
Solidity: function _buildPreSignData(uint8 prefix, address token, bytes timestamp, uint256 amount) pure returns()
func (*VaultHelperSession) BuildSignExecute ¶
func (_VaultHelper *VaultHelperSession) BuildSignExecute(psd VaultHelperPreSignData, recipientToken common.Address, exchangeAddress common.Address, callData []byte) ([]byte, error)
BuildSignExecute is a free data retrieval call binding the contract method 0x41f59b6f.
Solidity: function _buildSignExecute((uint8,address,bytes,uint256) psd, address recipientToken, address exchangeAddress, bytes callData) pure returns(bytes)
func (*VaultHelperSession) BuildSignRequestWithdraw ¶
func (_VaultHelper *VaultHelperSession) BuildSignRequestWithdraw(psd VaultHelperPreSignData, incognitoAddress string) ([]byte, error)
BuildSignRequestWithdraw is a free data retrieval call binding the contract method 0x3cf6e1ca.
Solidity: function _buildSignRequestWithdraw((uint8,address,bytes,uint256) psd, string incognitoAddress) pure returns(bytes)
type VaultHelperTransactor ¶
type VaultHelperTransactor struct {
// contains filtered or unexported fields
}
VaultHelperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVaultHelperTransactor ¶
func NewVaultHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*VaultHelperTransactor, error)
NewVaultHelperTransactor creates a new write-only instance of VaultHelper, bound to a specific deployed contract.
type VaultHelperTransactorRaw ¶
type VaultHelperTransactorRaw struct {
Contract *VaultHelperTransactor // Generic write-only contract binding to access the raw methods on
}
VaultHelperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VaultHelperTransactorRaw) Transact ¶
func (_VaultHelper *VaultHelperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultHelperTransactorRaw) Transfer ¶
func (_VaultHelper *VaultHelperTransactorRaw) 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 VaultHelperTransactorSession ¶
type VaultHelperTransactorSession struct { Contract *VaultHelperTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VaultHelperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type VaultRaw ¶
type VaultRaw struct {
Contract *Vault // Generic contract binding to access the raw methods on
}
VaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VaultRaw) Call ¶
func (_Vault *VaultRaw) 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 (*VaultRaw) Transact ¶
func (_Vault *VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultRaw) Transfer ¶
func (_Vault *VaultRaw) 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 VaultSession ¶
type VaultSession struct { Contract *Vault // 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 }
VaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VaultSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address token) view returns(uint256)
func (*VaultSession) Deposit ¶
func (_Vault *VaultSession) Deposit(incognitoAddress string) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xa26e1186.
Solidity: function deposit(string incognitoAddress) payable returns()
func (*VaultSession) DepositERC20 ¶
func (_Vault *VaultSession) DepositERC20(token common.Address, amount *big.Int, incognitoAddress string) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x5a67cb87.
Solidity: function depositERC20(address token, uint256 amount, string incognitoAddress) returns()
func (*VaultSession) ETHTOKEN ¶
func (_Vault *VaultSession) ETHTOKEN() (common.Address, error)
ETHTOKEN is a free data retrieval call binding the contract method 0x58bc8337.
Solidity: function ETH_TOKEN() view returns(address)
func (*VaultSession) Execute ¶
func (_Vault *VaultSession) Execute(token common.Address, amount *big.Int, recipientToken common.Address, exchangeAddress common.Address, callData []byte, timestamp []byte, signData []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x8588ccd6.
Solidity: function execute(address token, uint256 amount, address recipientToken, address exchangeAddress, bytes callData, bytes timestamp, bytes signData) payable returns()
func (*VaultSession) GetDecimals ¶
func (_Vault *VaultSession) GetDecimals(token common.Address) (uint8, error)
GetDecimals is a free data retrieval call binding the contract method 0xcf54aaa0.
Solidity: function getDecimals(address token) view returns(uint8)
func (*VaultSession) GetDepositedBalance ¶
func (_Vault *VaultSession) GetDepositedBalance(token common.Address, owner common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address token, address owner) view returns(uint256)
func (*VaultSession) Initialize ¶
func (_Vault *VaultSession) Initialize(_prevVault common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _prevVault) returns()
func (*VaultSession) IsInitialized ¶
func (_Vault *VaultSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*VaultSession) IsSigDataUsed ¶
func (_Vault *VaultSession) IsSigDataUsed(hash [32]byte) (bool, error)
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 hash) view returns(bool)
func (*VaultSession) IsWithdrawed ¶
func (_Vault *VaultSession) IsWithdrawed(hash [32]byte) (bool, error)
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 hash) view returns(bool)
func (*VaultSession) Migration ¶
Migration is a free data retrieval call binding the contract method 0x995fac11.
Solidity: function migration(address , address ) view returns(bool)
func (*VaultSession) NotEntered ¶
func (_Vault *VaultSession) NotEntered() (bool, error)
NotEntered is a free data retrieval call binding the contract method 0xa3f5d8cc.
Solidity: function notEntered() view returns(bool)
func (*VaultSession) ParseBurnInst ¶
func (_Vault *VaultSession) ParseBurnInst(inst []byte) (VaultBurnInstData, error)
ParseBurnInst is a free data retrieval call binding the contract method 0x7e16e6e1.
Solidity: function parseBurnInst(bytes inst) pure returns((uint8,uint8,address,address,uint256,bytes32))
func (*VaultSession) PrevVault ¶
func (_Vault *VaultSession) PrevVault() (common.Address, error)
PrevVault is a free data retrieval call binding the contract method 0xfa84702e.
Solidity: function prevVault() view returns(address)
func (*VaultSession) Receive ¶
func (_Vault *VaultSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*VaultSession) RequestWithdraw ¶
func (_Vault *VaultSession) RequestWithdraw(incognitoAddress string, token common.Address, amount *big.Int, signData []byte, timestamp []byte) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x87add440.
Solidity: function requestWithdraw(string incognitoAddress, address token, uint256 amount, bytes signData, bytes timestamp) returns()
func (*VaultSession) SigDataUsed ¶
func (_Vault *VaultSession) SigDataUsed(arg0 [32]byte) (bool, error)
SigDataUsed is a free data retrieval call binding the contract method 0x1ea1940e.
Solidity: function sigDataUsed(bytes32 ) view returns(bool)
func (*VaultSession) SigToAddress ¶
SigToAddress is a free data retrieval call binding the contract method 0x3fec6b40.
Solidity: function sigToAddress(bytes signData, bytes32 hash) pure returns(address)
func (*VaultSession) SubmitBurnProof ¶
func (_Vault *VaultSession) SubmitBurnProof(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
SubmitBurnProof is a paid mutator transaction binding the contract method 0x73bf9651.
Solidity: function submitBurnProof(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
func (*VaultSession) TotalDepositedToSCAmount ¶
TotalDepositedToSCAmount is a free data retrieval call binding the contract method 0x6304541c.
Solidity: function totalDepositedToSCAmount(address ) view returns(uint256)
func (*VaultSession) UpdateAssets ¶
func (_Vault *VaultSession) UpdateAssets(assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] assets, uint256[] amounts) returns(bool)
func (*VaultSession) Withdraw ¶
func (_Vault *VaultSession) Withdraw(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x1beb7de2.
Solidity: function withdraw(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
func (*VaultSession) WithdrawRequests ¶
func (_Vault *VaultSession) WithdrawRequests(arg0 common.Address, arg1 common.Address) (*big.Int, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x65b5a00f.
Solidity: function withdrawRequests(address , address ) view returns(uint256)
func (*VaultSession) Withdrawed ¶
func (_Vault *VaultSession) Withdrawed(arg0 [32]byte) (bool, error)
Withdrawed is a free data retrieval call binding the contract method 0xdca40d9e.
Solidity: function withdrawed(bytes32 ) view returns(bool)
type VaultTransactor ¶
type VaultTransactor struct {
// contains filtered or unexported fields
}
VaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVaultTransactor ¶
func NewVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*VaultTransactor, error)
NewVaultTransactor creates a new write-only instance of Vault, bound to a specific deployed contract.
func (*VaultTransactor) Deposit ¶
func (_Vault *VaultTransactor) Deposit(opts *bind.TransactOpts, incognitoAddress string) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xa26e1186.
Solidity: function deposit(string incognitoAddress) payable returns()
func (*VaultTransactor) DepositERC20 ¶
func (_Vault *VaultTransactor) DepositERC20(opts *bind.TransactOpts, token common.Address, amount *big.Int, incognitoAddress string) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x5a67cb87.
Solidity: function depositERC20(address token, uint256 amount, string incognitoAddress) returns()
func (*VaultTransactor) Execute ¶
func (_Vault *VaultTransactor) Execute(opts *bind.TransactOpts, token common.Address, amount *big.Int, recipientToken common.Address, exchangeAddress common.Address, callData []byte, timestamp []byte, signData []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x8588ccd6.
Solidity: function execute(address token, uint256 amount, address recipientToken, address exchangeAddress, bytes callData, bytes timestamp, bytes signData) payable returns()
func (*VaultTransactor) Initialize ¶
func (_Vault *VaultTransactor) Initialize(opts *bind.TransactOpts, _prevVault common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _prevVault) returns()
func (*VaultTransactor) Receive ¶
func (_Vault *VaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*VaultTransactor) RequestWithdraw ¶
func (_Vault *VaultTransactor) RequestWithdraw(opts *bind.TransactOpts, incognitoAddress string, token common.Address, amount *big.Int, signData []byte, timestamp []byte) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x87add440.
Solidity: function requestWithdraw(string incognitoAddress, address token, uint256 amount, bytes signData, bytes timestamp) returns()
func (*VaultTransactor) SubmitBurnProof ¶
func (_Vault *VaultTransactor) SubmitBurnProof(opts *bind.TransactOpts, inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
SubmitBurnProof is a paid mutator transaction binding the contract method 0x73bf9651.
Solidity: function submitBurnProof(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
func (*VaultTransactor) UpdateAssets ¶
func (_Vault *VaultTransactor) UpdateAssets(opts *bind.TransactOpts, assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] assets, uint256[] amounts) returns(bool)
func (*VaultTransactor) Withdraw ¶
func (_Vault *VaultTransactor) Withdraw(opts *bind.TransactOpts, inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x1beb7de2.
Solidity: function withdraw(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
type VaultTransactorRaw ¶
type VaultTransactorRaw struct {
Contract *VaultTransactor // Generic write-only contract binding to access the raw methods on
}
VaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VaultTransactorRaw) Transact ¶
func (_Vault *VaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultTransactorRaw) Transfer ¶
func (_Vault *VaultTransactorRaw) 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 VaultTransactorSession ¶
type VaultTransactorSession struct { Contract *VaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VaultTransactorSession) Deposit ¶
func (_Vault *VaultTransactorSession) Deposit(incognitoAddress string) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xa26e1186.
Solidity: function deposit(string incognitoAddress) payable returns()
func (*VaultTransactorSession) DepositERC20 ¶
func (_Vault *VaultTransactorSession) DepositERC20(token common.Address, amount *big.Int, incognitoAddress string) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x5a67cb87.
Solidity: function depositERC20(address token, uint256 amount, string incognitoAddress) returns()
func (*VaultTransactorSession) Execute ¶
func (_Vault *VaultTransactorSession) Execute(token common.Address, amount *big.Int, recipientToken common.Address, exchangeAddress common.Address, callData []byte, timestamp []byte, signData []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0x8588ccd6.
Solidity: function execute(address token, uint256 amount, address recipientToken, address exchangeAddress, bytes callData, bytes timestamp, bytes signData) payable returns()
func (*VaultTransactorSession) Initialize ¶
func (_Vault *VaultTransactorSession) Initialize(_prevVault common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _prevVault) returns()
func (*VaultTransactorSession) Receive ¶
func (_Vault *VaultTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*VaultTransactorSession) RequestWithdraw ¶
func (_Vault *VaultTransactorSession) RequestWithdraw(incognitoAddress string, token common.Address, amount *big.Int, signData []byte, timestamp []byte) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x87add440.
Solidity: function requestWithdraw(string incognitoAddress, address token, uint256 amount, bytes signData, bytes timestamp) returns()
func (*VaultTransactorSession) SubmitBurnProof ¶
func (_Vault *VaultTransactorSession) SubmitBurnProof(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
SubmitBurnProof is a paid mutator transaction binding the contract method 0x73bf9651.
Solidity: function submitBurnProof(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
func (*VaultTransactorSession) UpdateAssets ¶
func (_Vault *VaultTransactorSession) UpdateAssets(assets []common.Address, amounts []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] assets, uint256[] amounts) returns(bool)
func (*VaultTransactorSession) Withdraw ¶
func (_Vault *VaultTransactorSession) Withdraw(inst []byte, heights *big.Int, instPaths [][32]byte, instPathIsLefts []bool, instRoots [32]byte, blkData [32]byte, sigIdxs []*big.Int, sigVs []uint8, sigRs [][32]byte, sigSs [][32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x1beb7de2.
Solidity: function withdraw(bytes inst, uint256 heights, bytes32[] instPaths, bool[] instPathIsLefts, bytes32 instRoots, bytes32 blkData, uint256[] sigIdxs, uint8[] sigVs, bytes32[] sigRs, bytes32[] sigSs) returns()
type VaultUpdateIncognitoProxy ¶
type VaultUpdateIncognitoProxy struct { NewIncognitoProxy common.Address Raw types.Log // Blockchain specific contextual infos }
VaultUpdateIncognitoProxy represents a UpdateIncognitoProxy event raised by the Vault contract.
type VaultUpdateIncognitoProxyIterator ¶
type VaultUpdateIncognitoProxyIterator struct { Event *VaultUpdateIncognitoProxy // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VaultUpdateIncognitoProxyIterator is returned from FilterUpdateIncognitoProxy and is used to iterate over the raw logs and unpacked data for UpdateIncognitoProxy events raised by the Vault contract.
func (*VaultUpdateIncognitoProxyIterator) Close ¶
func (it *VaultUpdateIncognitoProxyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VaultUpdateIncognitoProxyIterator) Error ¶
func (it *VaultUpdateIncognitoProxyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VaultUpdateIncognitoProxyIterator) Next ¶
func (it *VaultUpdateIncognitoProxyIterator) 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 VaultUpdateTokenTotal ¶
type VaultUpdateTokenTotal struct { Assets []common.Address Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
VaultUpdateTokenTotal represents a UpdateTokenTotal event raised by the Vault contract.
type VaultUpdateTokenTotalIterator ¶
type VaultUpdateTokenTotalIterator struct { Event *VaultUpdateTokenTotal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VaultUpdateTokenTotalIterator is returned from FilterUpdateTokenTotal and is used to iterate over the raw logs and unpacked data for UpdateTokenTotal events raised by the Vault contract.
func (*VaultUpdateTokenTotalIterator) Close ¶
func (it *VaultUpdateTokenTotalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VaultUpdateTokenTotalIterator) Error ¶
func (it *VaultUpdateTokenTotalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VaultUpdateTokenTotalIterator) Next ¶
func (it *VaultUpdateTokenTotalIterator) 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 VaultWithdraw ¶
type VaultWithdraw struct { Token common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
VaultWithdraw represents a Withdraw event raised by the Vault contract.
type VaultWithdrawIterator ¶
type VaultWithdrawIterator struct { Event *VaultWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Vault contract.
func (*VaultWithdrawIterator) Close ¶
func (it *VaultWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VaultWithdrawIterator) Error ¶
func (it *VaultWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VaultWithdrawIterator) Next ¶
func (it *VaultWithdrawIterator) 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 Withdrawable ¶
type Withdrawable struct { WithdrawableCaller // Read-only binding to the contract WithdrawableTransactor // Write-only binding to the contract WithdrawableFilterer // Log filterer for contract events }
Withdrawable is an auto generated Go binding around an Ethereum contract.
func NewWithdrawable ¶
func NewWithdrawable(address common.Address, backend bind.ContractBackend) (*Withdrawable, error)
NewWithdrawable creates a new instance of Withdrawable, bound to a specific deployed contract.
type WithdrawableCaller ¶
type WithdrawableCaller struct {
// contains filtered or unexported fields
}
WithdrawableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWithdrawableCaller ¶
func NewWithdrawableCaller(address common.Address, caller bind.ContractCaller) (*WithdrawableCaller, error)
NewWithdrawableCaller creates a new read-only instance of Withdrawable, bound to a specific deployed contract.
func (*WithdrawableCaller) GetDepositedBalance ¶
func (_Withdrawable *WithdrawableCaller) GetDepositedBalance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address , address ) view returns(uint256)
func (*WithdrawableCaller) IsSigDataUsed ¶
func (_Withdrawable *WithdrawableCaller) IsSigDataUsed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 ) view returns(bool)
func (*WithdrawableCaller) IsWithdrawed ¶
func (_Withdrawable *WithdrawableCaller) IsWithdrawed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 ) view returns(bool)
type WithdrawableCallerRaw ¶
type WithdrawableCallerRaw struct {
Contract *WithdrawableCaller // Generic read-only contract binding to access the raw methods on
}
WithdrawableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WithdrawableCallerRaw) Call ¶
func (_Withdrawable *WithdrawableCallerRaw) 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 WithdrawableCallerSession ¶
type WithdrawableCallerSession struct { Contract *WithdrawableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WithdrawableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WithdrawableCallerSession) GetDepositedBalance ¶
func (_Withdrawable *WithdrawableCallerSession) GetDepositedBalance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address , address ) view returns(uint256)
func (*WithdrawableCallerSession) IsSigDataUsed ¶
func (_Withdrawable *WithdrawableCallerSession) IsSigDataUsed(arg0 [32]byte) (bool, error)
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 ) view returns(bool)
func (*WithdrawableCallerSession) IsWithdrawed ¶
func (_Withdrawable *WithdrawableCallerSession) IsWithdrawed(arg0 [32]byte) (bool, error)
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 ) view returns(bool)
func (*WithdrawableCallerSession) Paused ¶
func (_Withdrawable *WithdrawableCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type WithdrawableFilterer ¶
type WithdrawableFilterer struct {
// contains filtered or unexported fields
}
WithdrawableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWithdrawableFilterer ¶
func NewWithdrawableFilterer(address common.Address, filterer bind.ContractFilterer) (*WithdrawableFilterer, error)
NewWithdrawableFilterer creates a new log filterer instance of Withdrawable, bound to a specific deployed contract.
type WithdrawableRaw ¶
type WithdrawableRaw struct {
Contract *Withdrawable // Generic contract binding to access the raw methods on
}
WithdrawableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WithdrawableRaw) Call ¶
func (_Withdrawable *WithdrawableRaw) 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 (*WithdrawableRaw) Transact ¶
func (_Withdrawable *WithdrawableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WithdrawableRaw) Transfer ¶
func (_Withdrawable *WithdrawableRaw) 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 WithdrawableSession ¶
type WithdrawableSession struct { Contract *Withdrawable // 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 }
WithdrawableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WithdrawableSession) GetDepositedBalance ¶
func (_Withdrawable *WithdrawableSession) GetDepositedBalance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
GetDepositedBalance is a free data retrieval call binding the contract method 0xf75b98ce.
Solidity: function getDepositedBalance(address , address ) view returns(uint256)
func (*WithdrawableSession) IsSigDataUsed ¶
func (_Withdrawable *WithdrawableSession) IsSigDataUsed(arg0 [32]byte) (bool, error)
IsSigDataUsed is a free data retrieval call binding the contract method 0xe4bd7074.
Solidity: function isSigDataUsed(bytes32 ) view returns(bool)
func (*WithdrawableSession) IsWithdrawed ¶
func (_Withdrawable *WithdrawableSession) IsWithdrawed(arg0 [32]byte) (bool, error)
IsWithdrawed is a free data retrieval call binding the contract method 0x749c5f86.
Solidity: function isWithdrawed(bytes32 ) view returns(bool)
func (*WithdrawableSession) Paused ¶
func (_Withdrawable *WithdrawableSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WithdrawableSession) UpdateAssets ¶
func (_Withdrawable *WithdrawableSession) UpdateAssets(arg0 []common.Address, arg1 []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] , uint256[] ) returns(bool)
type WithdrawableTransactor ¶
type WithdrawableTransactor struct {
// contains filtered or unexported fields
}
WithdrawableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWithdrawableTransactor ¶
func NewWithdrawableTransactor(address common.Address, transactor bind.ContractTransactor) (*WithdrawableTransactor, error)
NewWithdrawableTransactor creates a new write-only instance of Withdrawable, bound to a specific deployed contract.
func (*WithdrawableTransactor) UpdateAssets ¶
func (_Withdrawable *WithdrawableTransactor) UpdateAssets(opts *bind.TransactOpts, arg0 []common.Address, arg1 []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] , uint256[] ) returns(bool)
type WithdrawableTransactorRaw ¶
type WithdrawableTransactorRaw struct {
Contract *WithdrawableTransactor // Generic write-only contract binding to access the raw methods on
}
WithdrawableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WithdrawableTransactorRaw) Transact ¶
func (_Withdrawable *WithdrawableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WithdrawableTransactorRaw) Transfer ¶
func (_Withdrawable *WithdrawableTransactorRaw) 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 WithdrawableTransactorSession ¶
type WithdrawableTransactorSession struct { Contract *WithdrawableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WithdrawableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WithdrawableTransactorSession) UpdateAssets ¶
func (_Withdrawable *WithdrawableTransactorSession) UpdateAssets(arg0 []common.Address, arg1 []*big.Int) (*types.Transaction, error)
UpdateAssets is a paid mutator transaction binding the contract method 0x1ed4276d.
Solidity: function updateAssets(address[] , uint256[] ) returns(bool)