Documentation ¶
Index ¶
- Variables
- type ExitFormatAllocation
- type ExitFormatAssetMetadata
- type ExitFormatSingleAssetExit
- type IMultiAssetHolderReclaimArgs
- type INitroTypesFixedPart
- type INitroTypesSignature
- type INitroTypesSignedVariablePart
- type INitroTypesVariablePart
- type IYellowAdjudicator
- type IYellowAdjudicatorAllocationUpdated
- type IYellowAdjudicatorAllocationUpdatedIterator
- type IYellowAdjudicatorCaller
- type IYellowAdjudicatorCallerRaw
- type IYellowAdjudicatorCallerSession
- type IYellowAdjudicatorChallengeCleared
- type IYellowAdjudicatorChallengeClearedIterator
- type IYellowAdjudicatorChallengeRegistered
- type IYellowAdjudicatorChallengeRegisteredIterator
- type IYellowAdjudicatorConcluded
- type IYellowAdjudicatorConcludedIterator
- type IYellowAdjudicatorDeposited
- type IYellowAdjudicatorDepositedIterator
- type IYellowAdjudicatorFilterer
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterAllocationUpdated(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorAllocationUpdatedIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterChallengeCleared(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorChallengeClearedIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterChallengeRegistered(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorChallengeRegisteredIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterConcluded(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorConcludedIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterDeposited(opts *bind.FilterOpts, destination [][32]byte) (*IYellowAdjudicatorDepositedIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterReclaimed(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorReclaimedIterator, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseAllocationUpdated(log types.Log) (*IYellowAdjudicatorAllocationUpdated, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseChallengeCleared(log types.Log) (*IYellowAdjudicatorChallengeCleared, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseChallengeRegistered(log types.Log) (*IYellowAdjudicatorChallengeRegistered, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseConcluded(log types.Log) (*IYellowAdjudicatorConcluded, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseDeposited(log types.Log) (*IYellowAdjudicatorDeposited, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseReclaimed(log types.Log) (*IYellowAdjudicatorReclaimed, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchAllocationUpdated(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorAllocationUpdated, ...) (event.Subscription, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchChallengeCleared(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorChallengeCleared, ...) (event.Subscription, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchChallengeRegistered(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorChallengeRegistered, ...) (event.Subscription, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchConcluded(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorConcluded, ...) (event.Subscription, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorDeposited, ...) (event.Subscription, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchReclaimed(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorReclaimed, ...) (event.Subscription, error)
- type IYellowAdjudicatorRaw
- func (_IYellowAdjudicator *IYellowAdjudicatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IYellowAdjudicator *IYellowAdjudicatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IYellowAdjudicatorReclaimed
- type IYellowAdjudicatorReclaimedIterator
- type IYellowAdjudicatorSession
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Deposit(asset common.Address, destination [32]byte, expectedHeld *big.Int, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) StateIsSupported(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (bool, string, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
- type IYellowAdjudicatorTransactor
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Challenge(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Checkpoint(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Conclude(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) ConcludeAndTransferAllAssets(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, destination [32]byte, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Reclaim(opts *bind.TransactOpts, reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Transfer(opts *bind.TransactOpts, assetIndex *big.Int, fromChannelId [32]byte, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) TransferAllAssets(opts *bind.TransactOpts, channelId [32]byte, ...) (*types.Transaction, error)
- type IYellowAdjudicatorTransactorRaw
- type IYellowAdjudicatorTransactorSession
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Deposit(asset common.Address, destination [32]byte, expectedHeld *big.Int, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, ...) (*types.Transaction, error)
- func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var IYellowAdjudicatorABI = IYellowAdjudicatorMetaData.ABI
IYellowAdjudicatorABI is the input ABI used to generate the binding from. Deprecated: Use IYellowAdjudicatorMetaData.ABI instead.
var IYellowAdjudicatorMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assetIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"initialHoldings\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"finalHoldings\",\"type\":\"uint256\"}],\"name\":\"AllocationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"newTurnNumRecord\",\"type\":\"uint48\"}],\"name\":\"ChallengeCleared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"finalizesAt\",\"type\":\"uint48\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"indexed\":false,\"internalType\":\"structINitroTypes.SignedVariablePart[]\",\"name\":\"proof\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"indexed\":false,\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"}],\"name\":\"ChallengeRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"finalizesAt\",\"type\":\"uint48\"}],\"name\":\"Concluded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destinationHoldings\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assetIndex\",\"type\":\"uint256\"}],\"name\":\"Reclaimed\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"participants\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"channelNonce\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"appDefinition\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"challengeDuration\",\"type\":\"uint48\"}],\"internalType\":\"structINitroTypes.FixedPart\",\"name\":\"fixedPart\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart[]\",\"name\":\"proof\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature\",\"name\":\"challengerSig\",\"type\":\"tuple\"}],\"name\":\"challenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"participants\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"channelNonce\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"appDefinition\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"challengeDuration\",\"type\":\"uint48\"}],\"internalType\":\"structINitroTypes.FixedPart\",\"name\":\"fixedPart\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart[]\",\"name\":\"proof\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"}],\"name\":\"checkpoint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"participants\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"channelNonce\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"appDefinition\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"challengeDuration\",\"type\":\"uint48\"}],\"internalType\":\"structINitroTypes.FixedPart\",\"name\":\"fixedPart\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"}],\"name\":\"conclude\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"participants\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"channelNonce\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"appDefinition\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"challengeDuration\",\"type\":\"uint48\"}],\"internalType\":\"structINitroTypes.FixedPart\",\"name\":\"fixedPart\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"}],\"name\":\"concludeAndTransferAllAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"expectedHeld\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"sourceChannelId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"sourceStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sourceOutcomeBytes\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sourceAssetIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"indexOfTargetInSource\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"targetStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"targetOutcomeBytes\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"targetAssetIndex\",\"type\":\"uint256\"}],\"internalType\":\"structIMultiAssetHolder.ReclaimArgs\",\"name\":\"reclaimArgs\",\"type\":\"tuple\"}],\"name\":\"reclaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"participants\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"channelNonce\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"appDefinition\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"challengeDuration\",\"type\":\"uint48\"}],\"internalType\":\"structINitroTypes.FixedPart\",\"name\":\"fixedPart\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart[]\",\"name\":\"proof\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"appData\",\"type\":\"bytes\"},{\"internalType\":\"uint48\",\"name\":\"turnNum\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"isFinal\",\"type\":\"bool\"}],\"internalType\":\"structINitroTypes.VariablePart\",\"name\":\"variablePart\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structINitroTypes.Signature[]\",\"name\":\"sigs\",\"type\":\"tuple[]\"}],\"internalType\":\"structINitroTypes.SignedVariablePart\",\"name\":\"candidate\",\"type\":\"tuple\"}],\"name\":\"stateIsSupported\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assetIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"fromChannelId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"outcomeBytes\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"indices\",\"type\":\"uint256[]\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumExitFormat.AssetType\",\"name\":\"assetType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.AssetMetadata\",\"name\":\"assetMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"allocationType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"structExitFormat.Allocation[]\",\"name\":\"allocations\",\"type\":\"tuple[]\"}],\"internalType\":\"structExitFormat.SingleAssetExit[]\",\"name\":\"outcome\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"}],\"name\":\"transferAllAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IYellowAdjudicatorMetaData contains all meta data concerning the IYellowAdjudicator contract.
Functions ¶
This section is empty.
Types ¶
type ExitFormatAllocation ¶
type ExitFormatAllocation struct { Destination [32]byte Amount *big.Int AllocationType uint8 Metadata []byte }
ExitFormatAllocation is an auto generated low-level Go binding around an user-defined struct.
type ExitFormatAssetMetadata ¶
ExitFormatAssetMetadata is an auto generated low-level Go binding around an user-defined struct.
type ExitFormatSingleAssetExit ¶
type ExitFormatSingleAssetExit struct { Asset common.Address AssetMetadata ExitFormatAssetMetadata Allocations []ExitFormatAllocation }
ExitFormatSingleAssetExit is an auto generated low-level Go binding around an user-defined struct.
type IMultiAssetHolderReclaimArgs ¶
type IMultiAssetHolderReclaimArgs struct { SourceChannelId [32]byte SourceStateHash [32]byte SourceOutcomeBytes []byte SourceAssetIndex *big.Int IndexOfTargetInSource *big.Int TargetStateHash [32]byte TargetOutcomeBytes []byte TargetAssetIndex *big.Int }
IMultiAssetHolderReclaimArgs is an auto generated low-level Go binding around an user-defined struct.
type INitroTypesFixedPart ¶
type INitroTypesFixedPart struct { Participants []common.Address ChannelNonce uint64 AppDefinition common.Address ChallengeDuration *big.Int }
INitroTypesFixedPart is an auto generated low-level Go binding around an user-defined struct.
type INitroTypesSignature ¶
INitroTypesSignature is an auto generated low-level Go binding around an user-defined struct.
type INitroTypesSignedVariablePart ¶
type INitroTypesSignedVariablePart struct { VariablePart INitroTypesVariablePart Sigs []INitroTypesSignature }
INitroTypesSignedVariablePart is an auto generated low-level Go binding around an user-defined struct.
type INitroTypesVariablePart ¶
type INitroTypesVariablePart struct { Outcome []ExitFormatSingleAssetExit AppData []byte TurnNum *big.Int IsFinal bool }
INitroTypesVariablePart is an auto generated low-level Go binding around an user-defined struct.
type IYellowAdjudicator ¶
type IYellowAdjudicator struct { IYellowAdjudicatorCaller // Read-only binding to the contract IYellowAdjudicatorTransactor // Write-only binding to the contract IYellowAdjudicatorFilterer // Log filterer for contract events }
IYellowAdjudicator is an auto generated Go binding around an Ethereum contract.
func NewIYellowAdjudicator ¶
func NewIYellowAdjudicator(address common.Address, backend bind.ContractBackend) (*IYellowAdjudicator, error)
NewIYellowAdjudicator creates a new instance of IYellowAdjudicator, bound to a specific deployed contract.
type IYellowAdjudicatorAllocationUpdated ¶
type IYellowAdjudicatorAllocationUpdated struct { ChannelId [32]byte AssetIndex *big.Int InitialHoldings *big.Int FinalHoldings *big.Int Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorAllocationUpdated represents a AllocationUpdated event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorAllocationUpdatedIterator ¶
type IYellowAdjudicatorAllocationUpdatedIterator struct { Event *IYellowAdjudicatorAllocationUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorAllocationUpdatedIterator is returned from FilterAllocationUpdated and is used to iterate over the raw logs and unpacked data for AllocationUpdated events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorAllocationUpdatedIterator) Close ¶
func (it *IYellowAdjudicatorAllocationUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorAllocationUpdatedIterator) Error ¶
func (it *IYellowAdjudicatorAllocationUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorAllocationUpdatedIterator) Next ¶
func (it *IYellowAdjudicatorAllocationUpdatedIterator) 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 IYellowAdjudicatorCaller ¶
type IYellowAdjudicatorCaller struct {
// contains filtered or unexported fields
}
IYellowAdjudicatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIYellowAdjudicatorCaller ¶
func NewIYellowAdjudicatorCaller(address common.Address, caller bind.ContractCaller) (*IYellowAdjudicatorCaller, error)
NewIYellowAdjudicatorCaller creates a new read-only instance of IYellowAdjudicator, bound to a specific deployed contract.
func (*IYellowAdjudicatorCaller) StateIsSupported ¶
func (_IYellowAdjudicator *IYellowAdjudicatorCaller) StateIsSupported(opts *bind.CallOpts, fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (bool, string, error)
StateIsSupported is a free data retrieval call binding the contract method 0x5685b7dc.
Solidity: function stateIsSupported((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) view returns(bool, string)
type IYellowAdjudicatorCallerRaw ¶
type IYellowAdjudicatorCallerRaw struct {
Contract *IYellowAdjudicatorCaller // Generic read-only contract binding to access the raw methods on
}
IYellowAdjudicatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IYellowAdjudicatorCallerRaw) Call ¶
func (_IYellowAdjudicator *IYellowAdjudicatorCallerRaw) 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 IYellowAdjudicatorCallerSession ¶
type IYellowAdjudicatorCallerSession struct { Contract *IYellowAdjudicatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IYellowAdjudicatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IYellowAdjudicatorCallerSession) StateIsSupported ¶
func (_IYellowAdjudicator *IYellowAdjudicatorCallerSession) StateIsSupported(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (bool, string, error)
StateIsSupported is a free data retrieval call binding the contract method 0x5685b7dc.
Solidity: function stateIsSupported((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) view returns(bool, string)
type IYellowAdjudicatorChallengeCleared ¶
type IYellowAdjudicatorChallengeCleared struct { ChannelId [32]byte NewTurnNumRecord *big.Int Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorChallengeCleared represents a ChallengeCleared event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorChallengeClearedIterator ¶
type IYellowAdjudicatorChallengeClearedIterator struct { Event *IYellowAdjudicatorChallengeCleared // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorChallengeClearedIterator is returned from FilterChallengeCleared and is used to iterate over the raw logs and unpacked data for ChallengeCleared events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorChallengeClearedIterator) Close ¶
func (it *IYellowAdjudicatorChallengeClearedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorChallengeClearedIterator) Error ¶
func (it *IYellowAdjudicatorChallengeClearedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorChallengeClearedIterator) Next ¶
func (it *IYellowAdjudicatorChallengeClearedIterator) 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 IYellowAdjudicatorChallengeRegistered ¶
type IYellowAdjudicatorChallengeRegistered struct { ChannelId [32]byte FinalizesAt *big.Int Proof []INitroTypesSignedVariablePart Candidate INitroTypesSignedVariablePart Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorChallengeRegistered represents a ChallengeRegistered event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorChallengeRegisteredIterator ¶
type IYellowAdjudicatorChallengeRegisteredIterator struct { Event *IYellowAdjudicatorChallengeRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorChallengeRegisteredIterator is returned from FilterChallengeRegistered and is used to iterate over the raw logs and unpacked data for ChallengeRegistered events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorChallengeRegisteredIterator) Close ¶
func (it *IYellowAdjudicatorChallengeRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorChallengeRegisteredIterator) Error ¶
func (it *IYellowAdjudicatorChallengeRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorChallengeRegisteredIterator) Next ¶
func (it *IYellowAdjudicatorChallengeRegisteredIterator) 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 IYellowAdjudicatorConcluded ¶
type IYellowAdjudicatorConcluded struct { ChannelId [32]byte FinalizesAt *big.Int Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorConcluded represents a Concluded event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorConcludedIterator ¶
type IYellowAdjudicatorConcludedIterator struct { Event *IYellowAdjudicatorConcluded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorConcludedIterator is returned from FilterConcluded and is used to iterate over the raw logs and unpacked data for Concluded events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorConcludedIterator) Close ¶
func (it *IYellowAdjudicatorConcludedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorConcludedIterator) Error ¶
func (it *IYellowAdjudicatorConcludedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorConcludedIterator) Next ¶
func (it *IYellowAdjudicatorConcludedIterator) 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 IYellowAdjudicatorDeposited ¶
type IYellowAdjudicatorDeposited struct { Destination [32]byte Asset common.Address DestinationHoldings *big.Int Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorDeposited represents a Deposited event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorDepositedIterator ¶
type IYellowAdjudicatorDepositedIterator struct { Event *IYellowAdjudicatorDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorDepositedIterator) Close ¶
func (it *IYellowAdjudicatorDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorDepositedIterator) Error ¶
func (it *IYellowAdjudicatorDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorDepositedIterator) Next ¶
func (it *IYellowAdjudicatorDepositedIterator) 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 IYellowAdjudicatorFilterer ¶
type IYellowAdjudicatorFilterer struct {
// contains filtered or unexported fields
}
IYellowAdjudicatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIYellowAdjudicatorFilterer ¶
func NewIYellowAdjudicatorFilterer(address common.Address, filterer bind.ContractFilterer) (*IYellowAdjudicatorFilterer, error)
NewIYellowAdjudicatorFilterer creates a new log filterer instance of IYellowAdjudicator, bound to a specific deployed contract.
func (*IYellowAdjudicatorFilterer) FilterAllocationUpdated ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterAllocationUpdated(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorAllocationUpdatedIterator, error)
FilterAllocationUpdated is a free log retrieval operation binding the contract event 0xc36da2054c5669d6dac211b7366d59f2d369151c21edf4940468614b449e0b9a.
Solidity: event AllocationUpdated(bytes32 indexed channelId, uint256 assetIndex, uint256 initialHoldings, uint256 finalHoldings)
func (*IYellowAdjudicatorFilterer) FilterChallengeCleared ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterChallengeCleared(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorChallengeClearedIterator, error)
FilterChallengeCleared is a free log retrieval operation binding the contract event 0x07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0.
Solidity: event ChallengeCleared(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*IYellowAdjudicatorFilterer) FilterChallengeRegistered ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterChallengeRegistered(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorChallengeRegisteredIterator, error)
FilterChallengeRegistered is a free log retrieval operation binding the contract event 0x0aa12461ee6c137332989aa12cec79f4772ab2c1a8732a382aada7e9f3ec9d34.
Solidity: event ChallengeRegistered(bytes32 indexed channelId, uint48 finalizesAt, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate)
func (*IYellowAdjudicatorFilterer) FilterConcluded ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterConcluded(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorConcludedIterator, error)
FilterConcluded is a free log retrieval operation binding the contract event 0x4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901.
Solidity: event Concluded(bytes32 indexed channelId, uint48 finalizesAt)
func (*IYellowAdjudicatorFilterer) FilterDeposited ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterDeposited(opts *bind.FilterOpts, destination [][32]byte) (*IYellowAdjudicatorDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b.
Solidity: event Deposited(bytes32 indexed destination, address asset, uint256 destinationHoldings)
func (*IYellowAdjudicatorFilterer) FilterReclaimed ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) FilterReclaimed(opts *bind.FilterOpts, channelId [][32]byte) (*IYellowAdjudicatorReclaimedIterator, error)
FilterReclaimed is a free log retrieval operation binding the contract event 0x4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b.
Solidity: event Reclaimed(bytes32 indexed channelId, uint256 assetIndex)
func (*IYellowAdjudicatorFilterer) ParseAllocationUpdated ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseAllocationUpdated(log types.Log) (*IYellowAdjudicatorAllocationUpdated, error)
ParseAllocationUpdated is a log parse operation binding the contract event 0xc36da2054c5669d6dac211b7366d59f2d369151c21edf4940468614b449e0b9a.
Solidity: event AllocationUpdated(bytes32 indexed channelId, uint256 assetIndex, uint256 initialHoldings, uint256 finalHoldings)
func (*IYellowAdjudicatorFilterer) ParseChallengeCleared ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseChallengeCleared(log types.Log) (*IYellowAdjudicatorChallengeCleared, error)
ParseChallengeCleared is a log parse operation binding the contract event 0x07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0.
Solidity: event ChallengeCleared(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*IYellowAdjudicatorFilterer) ParseChallengeRegistered ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseChallengeRegistered(log types.Log) (*IYellowAdjudicatorChallengeRegistered, error)
ParseChallengeRegistered is a log parse operation binding the contract event 0x0aa12461ee6c137332989aa12cec79f4772ab2c1a8732a382aada7e9f3ec9d34.
Solidity: event ChallengeRegistered(bytes32 indexed channelId, uint48 finalizesAt, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate)
func (*IYellowAdjudicatorFilterer) ParseConcluded ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseConcluded(log types.Log) (*IYellowAdjudicatorConcluded, error)
ParseConcluded is a log parse operation binding the contract event 0x4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901.
Solidity: event Concluded(bytes32 indexed channelId, uint48 finalizesAt)
func (*IYellowAdjudicatorFilterer) ParseDeposited ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseDeposited(log types.Log) (*IYellowAdjudicatorDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b.
Solidity: event Deposited(bytes32 indexed destination, address asset, uint256 destinationHoldings)
func (*IYellowAdjudicatorFilterer) ParseReclaimed ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) ParseReclaimed(log types.Log) (*IYellowAdjudicatorReclaimed, error)
ParseReclaimed is a log parse operation binding the contract event 0x4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b.
Solidity: event Reclaimed(bytes32 indexed channelId, uint256 assetIndex)
func (*IYellowAdjudicatorFilterer) WatchAllocationUpdated ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchAllocationUpdated(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorAllocationUpdated, channelId [][32]byte) (event.Subscription, error)
WatchAllocationUpdated is a free log subscription operation binding the contract event 0xc36da2054c5669d6dac211b7366d59f2d369151c21edf4940468614b449e0b9a.
Solidity: event AllocationUpdated(bytes32 indexed channelId, uint256 assetIndex, uint256 initialHoldings, uint256 finalHoldings)
func (*IYellowAdjudicatorFilterer) WatchChallengeCleared ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchChallengeCleared(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorChallengeCleared, channelId [][32]byte) (event.Subscription, error)
WatchChallengeCleared is a free log subscription operation binding the contract event 0x07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0.
Solidity: event ChallengeCleared(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*IYellowAdjudicatorFilterer) WatchChallengeRegistered ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchChallengeRegistered(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorChallengeRegistered, channelId [][32]byte) (event.Subscription, error)
WatchChallengeRegistered is a free log subscription operation binding the contract event 0x0aa12461ee6c137332989aa12cec79f4772ab2c1a8732a382aada7e9f3ec9d34.
Solidity: event ChallengeRegistered(bytes32 indexed channelId, uint48 finalizesAt, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate)
func (*IYellowAdjudicatorFilterer) WatchConcluded ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchConcluded(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorConcluded, channelId [][32]byte) (event.Subscription, error)
WatchConcluded is a free log subscription operation binding the contract event 0x4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901.
Solidity: event Concluded(bytes32 indexed channelId, uint48 finalizesAt)
func (*IYellowAdjudicatorFilterer) WatchDeposited ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorDeposited, destination [][32]byte) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b.
Solidity: event Deposited(bytes32 indexed destination, address asset, uint256 destinationHoldings)
func (*IYellowAdjudicatorFilterer) WatchReclaimed ¶
func (_IYellowAdjudicator *IYellowAdjudicatorFilterer) WatchReclaimed(opts *bind.WatchOpts, sink chan<- *IYellowAdjudicatorReclaimed, channelId [][32]byte) (event.Subscription, error)
WatchReclaimed is a free log subscription operation binding the contract event 0x4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b.
Solidity: event Reclaimed(bytes32 indexed channelId, uint256 assetIndex)
type IYellowAdjudicatorRaw ¶
type IYellowAdjudicatorRaw struct {
Contract *IYellowAdjudicator // Generic contract binding to access the raw methods on
}
IYellowAdjudicatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IYellowAdjudicatorRaw) Call ¶
func (_IYellowAdjudicator *IYellowAdjudicatorRaw) 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 (*IYellowAdjudicatorRaw) Transact ¶
func (_IYellowAdjudicator *IYellowAdjudicatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IYellowAdjudicatorRaw) Transfer ¶
func (_IYellowAdjudicator *IYellowAdjudicatorRaw) 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 IYellowAdjudicatorReclaimed ¶
type IYellowAdjudicatorReclaimed struct { ChannelId [32]byte AssetIndex *big.Int Raw types.Log // Blockchain specific contextual infos }
IYellowAdjudicatorReclaimed represents a Reclaimed event raised by the IYellowAdjudicator contract.
type IYellowAdjudicatorReclaimedIterator ¶
type IYellowAdjudicatorReclaimedIterator struct { Event *IYellowAdjudicatorReclaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IYellowAdjudicatorReclaimedIterator is returned from FilterReclaimed and is used to iterate over the raw logs and unpacked data for Reclaimed events raised by the IYellowAdjudicator contract.
func (*IYellowAdjudicatorReclaimedIterator) Close ¶
func (it *IYellowAdjudicatorReclaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IYellowAdjudicatorReclaimedIterator) Error ¶
func (it *IYellowAdjudicatorReclaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IYellowAdjudicatorReclaimedIterator) Next ¶
func (it *IYellowAdjudicatorReclaimedIterator) 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 IYellowAdjudicatorSession ¶
type IYellowAdjudicatorSession struct { Contract *IYellowAdjudicator // 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 }
IYellowAdjudicatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IYellowAdjudicatorSession) Challenge ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart, challengerSig INitroTypesSignature) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x8286a060.
Solidity: function challenge((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate, (uint8,bytes32,bytes32) challengerSig) returns()
func (*IYellowAdjudicatorSession) Checkpoint ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0x6d2a9c92.
Solidity: function checkpoint((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorSession) Conclude ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Conclude is a paid mutator transaction binding the contract method 0xee049b50.
Solidity: function conclude((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorSession) ConcludeAndTransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
ConcludeAndTransferAllAssets is a paid mutator transaction binding the contract method 0xec346235.
Solidity: function concludeAndTransferAllAssets((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorSession) Deposit ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Deposit(asset common.Address, destination [32]byte, expectedHeld *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x2fb1d270.
Solidity: function deposit(address asset, bytes32 destination, uint256 expectedHeld, uint256 amount) payable returns()
func (*IYellowAdjudicatorSession) Reclaim ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
Reclaim is a paid mutator transaction binding the contract method 0xd3c4e738.
Solidity: function reclaim((bytes32,bytes32,bytes,uint256,uint256,bytes32,bytes,uint256) reclaimArgs) returns()
func (*IYellowAdjudicatorSession) StateIsSupported ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) StateIsSupported(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (bool, string, error)
StateIsSupported is a free data retrieval call binding the contract method 0x5685b7dc.
Solidity: function stateIsSupported((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) view returns(bool, string)
func (*IYellowAdjudicatorSession) Transfer ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, stateHash [32]byte, indices []*big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0x3033730e.
Solidity: function transfer(uint256 assetIndex, bytes32 fromChannelId, bytes outcomeBytes, bytes32 stateHash, uint256[] indices) returns()
func (*IYellowAdjudicatorSession) TransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
TransferAllAssets is a paid mutator transaction binding the contract method 0x31afa0b4.
Solidity: function transferAllAssets(bytes32 channelId, (address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[] outcome, bytes32 stateHash) returns()
type IYellowAdjudicatorTransactor ¶
type IYellowAdjudicatorTransactor struct {
// contains filtered or unexported fields
}
IYellowAdjudicatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIYellowAdjudicatorTransactor ¶
func NewIYellowAdjudicatorTransactor(address common.Address, transactor bind.ContractTransactor) (*IYellowAdjudicatorTransactor, error)
NewIYellowAdjudicatorTransactor creates a new write-only instance of IYellowAdjudicator, bound to a specific deployed contract.
func (*IYellowAdjudicatorTransactor) Challenge ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Challenge(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart, challengerSig INitroTypesSignature) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x8286a060.
Solidity: function challenge((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate, (uint8,bytes32,bytes32) challengerSig) returns()
func (*IYellowAdjudicatorTransactor) Checkpoint ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Checkpoint(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0x6d2a9c92.
Solidity: function checkpoint((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactor) Conclude ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Conclude(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Conclude is a paid mutator transaction binding the contract method 0xee049b50.
Solidity: function conclude((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactor) ConcludeAndTransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) ConcludeAndTransferAllAssets(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
ConcludeAndTransferAllAssets is a paid mutator transaction binding the contract method 0xec346235.
Solidity: function concludeAndTransferAllAssets((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactor) Deposit ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, destination [32]byte, expectedHeld *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x2fb1d270.
Solidity: function deposit(address asset, bytes32 destination, uint256 expectedHeld, uint256 amount) payable returns()
func (*IYellowAdjudicatorTransactor) Reclaim ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Reclaim(opts *bind.TransactOpts, reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
Reclaim is a paid mutator transaction binding the contract method 0xd3c4e738.
Solidity: function reclaim((bytes32,bytes32,bytes,uint256,uint256,bytes32,bytes,uint256) reclaimArgs) returns()
func (*IYellowAdjudicatorTransactor) Transfer ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) Transfer(opts *bind.TransactOpts, assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, stateHash [32]byte, indices []*big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0x3033730e.
Solidity: function transfer(uint256 assetIndex, bytes32 fromChannelId, bytes outcomeBytes, bytes32 stateHash, uint256[] indices) returns()
func (*IYellowAdjudicatorTransactor) TransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactor) TransferAllAssets(opts *bind.TransactOpts, channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
TransferAllAssets is a paid mutator transaction binding the contract method 0x31afa0b4.
Solidity: function transferAllAssets(bytes32 channelId, (address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[] outcome, bytes32 stateHash) returns()
type IYellowAdjudicatorTransactorRaw ¶
type IYellowAdjudicatorTransactorRaw struct {
Contract *IYellowAdjudicatorTransactor // Generic write-only contract binding to access the raw methods on
}
IYellowAdjudicatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IYellowAdjudicatorTransactorRaw) Transact ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IYellowAdjudicatorTransactorRaw) Transfer ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorRaw) 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 IYellowAdjudicatorTransactorSession ¶
type IYellowAdjudicatorTransactorSession struct { Contract *IYellowAdjudicatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IYellowAdjudicatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IYellowAdjudicatorTransactorSession) Challenge ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart, challengerSig INitroTypesSignature) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0x8286a060.
Solidity: function challenge((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate, (uint8,bytes32,bytes32) challengerSig) returns()
func (*IYellowAdjudicatorTransactorSession) Checkpoint ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0x6d2a9c92.
Solidity: function checkpoint((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[])[] proof, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactorSession) Conclude ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
Conclude is a paid mutator transaction binding the contract method 0xee049b50.
Solidity: function conclude((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactorSession) ConcludeAndTransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
ConcludeAndTransferAllAssets is a paid mutator transaction binding the contract method 0xec346235.
Solidity: function concludeAndTransferAllAssets((address[],uint64,address,uint48) fixedPart, (((address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[],bytes,uint48,bool),(uint8,bytes32,bytes32)[]) candidate) returns()
func (*IYellowAdjudicatorTransactorSession) Deposit ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Deposit(asset common.Address, destination [32]byte, expectedHeld *big.Int, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x2fb1d270.
Solidity: function deposit(address asset, bytes32 destination, uint256 expectedHeld, uint256 amount) payable returns()
func (*IYellowAdjudicatorTransactorSession) Reclaim ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
Reclaim is a paid mutator transaction binding the contract method 0xd3c4e738.
Solidity: function reclaim((bytes32,bytes32,bytes,uint256,uint256,bytes32,bytes,uint256) reclaimArgs) returns()
func (*IYellowAdjudicatorTransactorSession) Transfer ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, stateHash [32]byte, indices []*big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0x3033730e.
Solidity: function transfer(uint256 assetIndex, bytes32 fromChannelId, bytes outcomeBytes, bytes32 stateHash, uint256[] indices) returns()
func (*IYellowAdjudicatorTransactorSession) TransferAllAssets ¶
func (_IYellowAdjudicator *IYellowAdjudicatorTransactorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
TransferAllAssets is a paid mutator transaction binding the contract method 0x31afa0b4.
Solidity: function transferAllAssets(bytes32 channelId, (address,(uint8,bytes),(bytes32,uint256,uint8,bytes)[])[] outcome, bytes32 stateHash) returns()