Versions in this module Expand all Collapse all v0 v0.5.0 Mar 5, 2024 v0.1.0 Aug 26, 2022 Changes in this version + var TrivialAppBinRuntime = "6080604052348015600f57600080fd5b506004361060285760003560e01c80636d7eba0d14602d575b600080fd5b603e60383660046057565b50505050565b005b600060a08284031215605157600080fd5b50919050565b60008060008060808587031215606c57600080fd5b843567ffffffffffffffff80821115608357600080fd5b9086019060c08289031215609657600080fd5b9094506020860135908082111560ab57600080fd5b60b5888389016040565b9450604087013591508082111560ca57600080fd5b5060d5878288016040565b94979396509394606001359350505056fea26469706673582212206cb432bb62bbfeba1c69cb00842b1459ac694a0172e714b374c0b988943c1c6b64736f6c634300080e0033" + var TrivialappABI = TrivialappMetaData.ABI + var TrivialappBin = TrivialappMetaData.Bin + var TrivialappMetaData = &bind.MetaData + type ChannelAllocation struct + Assets []ChannelAsset + Balances [][]*big.Int + Locked []ChannelSubAlloc + type ChannelAsset struct + ChainID *big.Int + Holder common.Address + type ChannelParams struct + App common.Address + ChallengeDuration *big.Int + LedgerChannel bool + Nonce *big.Int + Participants []common.Address + VirtualChannel bool + type ChannelState struct + AppData []byte + ChannelID [32]byte + IsFinal bool + Outcome ChannelAllocation + Version uint64 + type ChannelSubAlloc struct + Balances []*big.Int + ID [32]byte + IndexMap []uint16 + type Trivialapp struct + func DeployTrivialapp(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Trivialapp, error) + func NewTrivialapp(address common.Address, backend bind.ContractBackend) (*Trivialapp, error) + type TrivialappCaller struct + func NewTrivialappCaller(address common.Address, caller bind.ContractCaller) (*TrivialappCaller, error) + func (_Trivialapp *TrivialappCaller) ValidTransition(opts *bind.CallOpts, params ChannelParams, from ChannelState, to ChannelState, ...) error + type TrivialappCallerRaw struct + Contract *TrivialappCaller + func (_Trivialapp *TrivialappCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type TrivialappCallerSession struct + CallOpts bind.CallOpts + Contract *TrivialappCaller + func (_Trivialapp *TrivialappCallerSession) ValidTransition(params ChannelParams, from ChannelState, to ChannelState, actorIdx *big.Int) error + type TrivialappFilterer struct + func NewTrivialappFilterer(address common.Address, filterer bind.ContractFilterer) (*TrivialappFilterer, error) + type TrivialappRaw struct + Contract *Trivialapp + func (_Trivialapp *TrivialappRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Trivialapp *TrivialappRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Trivialapp *TrivialappRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TrivialappSession struct + CallOpts bind.CallOpts + Contract *Trivialapp + TransactOpts bind.TransactOpts + func (_Trivialapp *TrivialappSession) ValidTransition(params ChannelParams, from ChannelState, to ChannelState, actorIdx *big.Int) error + type TrivialappTransactor struct + func NewTrivialappTransactor(address common.Address, transactor bind.ContractTransactor) (*TrivialappTransactor, error) + type TrivialappTransactorRaw struct + Contract *TrivialappTransactor + func (_Trivialapp *TrivialappTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Trivialapp *TrivialappTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TrivialappTransactorSession struct + Contract *TrivialappTransactor + TransactOpts bind.TransactOpts