Documentation ¶
Index ¶
- Variables
- type ExitFormatAllocation
- type ExitFormatAssetMetadata
- type ExitFormatSingleAssetExit
- type IMultiAssetHolderReclaimArgs
- type INitroTypesFixedPart
- type INitroTypesSignature
- type INitroTypesSignedVariablePart
- type INitroTypesVariablePart
- type YellowAdjudicator
- type YellowAdjudicatorAllocationUpdated
- type YellowAdjudicatorAllocationUpdatedIterator
- type YellowAdjudicatorCaller
- func (_YellowAdjudicator *YellowAdjudicatorCaller) ComputeReclaimEffects(opts *bind.CallOpts, sourceAllocations []ExitFormatAllocation, ...) ([]ExitFormatAllocation, error)
- func (_YellowAdjudicator *YellowAdjudicatorCaller) ComputeTransferEffectsAndInteractions(opts *bind.CallOpts, initialHoldings *big.Int, ...) (struct{ ... }, error)
- func (_YellowAdjudicator *YellowAdjudicatorCaller) Holdings(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (*big.Int, error)
- func (_YellowAdjudicator *YellowAdjudicatorCaller) StateIsSupported(opts *bind.CallOpts, fixedPart INitroTypesFixedPart, ...) (bool, string, error)
- func (_YellowAdjudicator *YellowAdjudicatorCaller) StatusOf(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)
- func (_YellowAdjudicator *YellowAdjudicatorCaller) UnpackStatus(opts *bind.CallOpts, channelId [32]byte) (struct{ ... }, error)
- type YellowAdjudicatorCallerRaw
- type YellowAdjudicatorCallerSession
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) ComputeReclaimEffects(sourceAllocations []ExitFormatAllocation, ...) ([]ExitFormatAllocation, error)
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) ComputeTransferEffectsAndInteractions(initialHoldings *big.Int, allocations []ExitFormatAllocation, ...) (struct{ ... }, error)
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) Holdings(arg0 common.Address, arg1 [32]byte) (*big.Int, error)
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) StateIsSupported(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (bool, string, error)
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) StatusOf(arg0 [32]byte) ([32]byte, error)
- func (_YellowAdjudicator *YellowAdjudicatorCallerSession) UnpackStatus(channelId [32]byte) (struct{ ... }, error)
- type YellowAdjudicatorChallengeCleared
- type YellowAdjudicatorChallengeClearedIterator
- type YellowAdjudicatorChallengeRegistered
- type YellowAdjudicatorChallengeRegisteredIterator
- type YellowAdjudicatorCheckpointed
- type YellowAdjudicatorCheckpointedIterator
- type YellowAdjudicatorConcluded
- type YellowAdjudicatorConcludedIterator
- type YellowAdjudicatorDeposited
- type YellowAdjudicatorDepositedIterator
- type YellowAdjudicatorFilterer
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterAllocationUpdated(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorAllocationUpdatedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterChallengeCleared(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorChallengeClearedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterChallengeRegistered(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorChallengeRegisteredIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterCheckpointed(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorCheckpointedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterConcluded(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorConcludedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterDeposited(opts *bind.FilterOpts, destination [][32]byte) (*YellowAdjudicatorDepositedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterReclaimed(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorReclaimedIterator, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseAllocationUpdated(log types.Log) (*YellowAdjudicatorAllocationUpdated, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseChallengeCleared(log types.Log) (*YellowAdjudicatorChallengeCleared, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseChallengeRegistered(log types.Log) (*YellowAdjudicatorChallengeRegistered, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseCheckpointed(log types.Log) (*YellowAdjudicatorCheckpointed, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseConcluded(log types.Log) (*YellowAdjudicatorConcluded, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseDeposited(log types.Log) (*YellowAdjudicatorDeposited, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseReclaimed(log types.Log) (*YellowAdjudicatorReclaimed, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchAllocationUpdated(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorAllocationUpdated, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchChallengeCleared(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorChallengeCleared, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchChallengeRegistered(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorChallengeRegistered, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchCheckpointed(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorCheckpointed, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchConcluded(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorConcluded, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorDeposited, ...) (event.Subscription, error)
- func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchReclaimed(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorReclaimed, ...) (event.Subscription, error)
- type YellowAdjudicatorRaw
- func (_YellowAdjudicator *YellowAdjudicatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_YellowAdjudicator *YellowAdjudicatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type YellowAdjudicatorReclaimed
- type YellowAdjudicatorReclaimedIterator
- type YellowAdjudicatorSession
- func (_YellowAdjudicator *YellowAdjudicatorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) ComputeReclaimEffects(sourceAllocations []ExitFormatAllocation, ...) ([]ExitFormatAllocation, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) ComputeTransferEffectsAndInteractions(initialHoldings *big.Int, allocations []ExitFormatAllocation, ...) (struct{ ... }, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Deposit(asset common.Address, channelId [32]byte, expectedHeld *big.Int, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Holdings(arg0 common.Address, arg1 [32]byte) (*big.Int, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) StateIsSupported(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (bool, string, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) StatusOf(arg0 [32]byte) ([32]byte, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorSession) UnpackStatus(channelId [32]byte) (struct{ ... }, error)
- type YellowAdjudicatorTransactor
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Challenge(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Checkpoint(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Conclude(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) ConcludeAndTransferAllAssets(opts *bind.TransactOpts, fixedPart INitroTypesFixedPart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, channelId [32]byte, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Reclaim(opts *bind.TransactOpts, reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) Transfer(opts *bind.TransactOpts, assetIndex *big.Int, fromChannelId [32]byte, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactor) TransferAllAssets(opts *bind.TransactOpts, channelId [32]byte, ...) (*types.Transaction, error)
- type YellowAdjudicatorTransactorRaw
- type YellowAdjudicatorTransactorSession
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Challenge(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Checkpoint(fixedPart INitroTypesFixedPart, proof []INitroTypesSignedVariablePart, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Conclude(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) ConcludeAndTransferAllAssets(fixedPart INitroTypesFixedPart, candidate INitroTypesSignedVariablePart) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Deposit(asset common.Address, channelId [32]byte, expectedHeld *big.Int, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Reclaim(reclaimArgs IMultiAssetHolderReclaimArgs) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Transfer(assetIndex *big.Int, fromChannelId [32]byte, outcomeBytes []byte, ...) (*types.Transaction, error)
- func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) TransferAllAssets(channelId [32]byte, outcome []ExitFormatSingleAssetExit, stateHash [32]byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var YellowAdjudicatorABI = YellowAdjudicatorMetaData.ABI
YellowAdjudicatorABI is the input ABI used to generate the binding from. Deprecated: Use YellowAdjudicatorMetaData.ABI instead.
var YellowAdjudicatorBin = YellowAdjudicatorMetaData.Bin
YellowAdjudicatorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use YellowAdjudicatorMetaData.Bin instead.
var YellowAdjudicatorMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"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\":\"newTurnNumRecord\",\"type\":\"uint48\"}],\"name\":\"Checkpointed\",\"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\":\"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\":\"sourceAllocations\",\"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\":\"targetAllocations\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"indexOfTargetInSource\",\"type\":\"uint256\"}],\"name\":\"compute_reclaim_effects\",\"outputs\":[{\"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\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"initialHoldings\",\"type\":\"uint256\"},{\"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\":\"uint256[]\",\"name\":\"indices\",\"type\":\"uint256[]\"}],\"name\":\"compute_transfer_effects_and_interactions\",\"outputs\":[{\"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\":\"newAllocations\",\"type\":\"tuple[]\"},{\"internalType\":\"bool\",\"name\":\"allocatesOnlyZeros\",\"type\":\"bool\"},{\"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\":\"exitAllocations\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"totalPayouts\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"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\":\"channelId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"expectedHeld\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"holdings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"statusOf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"channelId\",\"type\":\"bytes32\"}],\"name\":\"unpackStatus\",\"outputs\":[{\"internalType\":\"uint48\",\"name\":\"turnNumRecord\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"finalizesAt\",\"type\":\"uint48\"},{\"internalType\":\"uint160\",\"name\":\"fingerprint\",\"type\":\"uint160\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50614409806100206000396000f3fe6080604052600436106100dd5760003560e01c80635685b7dc1161007f578063c7df14e211610059578063c7df14e21461029f578063d3c4e738146102cc578063ec346235146102ec578063ee049b501461030c57600080fd5b80635685b7dc146102315780636d2a9c921461025f5780638286a0601461027f57600080fd5b80633033730e116100bb5780633033730e1461017657806331afa0b414610196578063552cfa50146101b6578063566d54c61461020457600080fd5b806311e9f178146100e2578063166e56cd1461011b5780632fb1d27014610161575b600080fd5b3480156100ee57600080fd5b506101026100fd366004612de0565b61032c565b6040516101129493929190612f21565b60405180910390f35b34801561012757600080fd5b50610153610136366004612f85565b600160209081526000928352604080842090915290825290205481565b604051908152602001610112565b61017461016f366004612fb1565b61076c565b005b34801561018257600080fd5b50610174610191366004612fec565b610918565b3480156101a257600080fd5b506101746101b13660046131ad565b6109a4565b3480156101c257600080fd5b506101d66101d13660046131fc565b610df5565b6040805165ffffffffffff94851681529390921660208401526001600160a01b031690820152606001610112565b34801561021057600080fd5b5061022461021f366004613215565b610e10565b6040516101129190613270565b34801561023d57600080fd5b5061025161024c366004613295565b611246565b60405161011292919061335b565b34801561026b57600080fd5b5061017461027a3660046136ab565b61130d565b34801561028b57600080fd5b5061017461029a366004613728565b611469565b3480156102ab57600080fd5b506101536102ba3660046131fc565b60006020819052908152604090205481565b3480156102d857600080fd5b506101746102e73660046137c1565b6115f5565b3480156102f857600080fd5b50610174610307366004613891565b611677565b34801561031857600080fd5b50610174610327366004613891565b61169b565b606060006060600080855111610343578551610346565b84515b6001600160401b0381111561035d5761035d612b15565b6040519080825280602002602001820160405280156103ae57816020015b604080516080810182526000808252602080830182905292820152606080820152825260001990920191018161037b5790505b5091506000905085516001600160401b038111156103ce576103ce612b15565b60405190808252806020026020018201604052801561041f57816020015b60408051608081018252600080825260208083018290529282015260608082015282526000199092019101816103ec5790505b50935060019250866000805b885181101561076057888181518110610446576104466138f4565b602002602001015160000151878281518110610464576104646138f4565b60200260200101516000018181525050888181518110610486576104866138f4565b6020026020010151604001518782815181106104a4576104a46138f4565b60200260200101516040019060ff16908160ff16815250508881815181106104ce576104ce6138f4565b6020026020010151606001518782815181106104ec576104ec6138f4565b60200260200101516060018190525060006105248a8381518110610512576105126138f4565b602002602001015160200151856116a5565b9050885160001480610559575088518310801561055957508189848151811061054f5761054f6138f4565b6020026020010151145b156106d557600260ff168a8481518110610575576105756138f4565b60200260200101516040015160ff16036105d65760405162461bcd60e51b815260206004820152601b60248201527f63616e6e6f74207472616e7366657220612067756172616e746565000000000060448201526064015b60405180910390fd5b808a83815181106105e9576105e96138f4565b6020026020010151602001516105ff9190613936565b888381518110610611576106116138f4565b6020026020010151602001818152505060405180608001604052808b848151811061063e5761063e6138f4565b60200260200101516000015181526020018281526020018b8481518110610667576106676138f4565b60200260200101516040015160ff1681526020018b848151811061068d5761068d6138f4565b6020026020010151606001518152508684815181106106ae576106ae6138f4565b60209081029190910101526106c38186613949565b94506106ce8361395c565b9250610716565b8982815181106106e7576106e76138f4565b602002602001015160200151888381518110610705576107056138f4565b602002602001015160200181815250505b878281518110610728576107286138f4565b60200260200101516020015160001461074057600096505b61074a8185613936565b93505080806107589061395c565b91505061042b565b50505093509350935093565b6107778360a01c1590565b156107c45760405162461bcd60e51b815260206004820152601f60248201527f4465706f73697420746f2065787465726e616c2064657374696e6174696f6e0060448201526064016105cd565b6001600160a01b038416600090815260016020908152604080832086845290915290205482811461082e5760405162461bcd60e51b81526020600482015260146024820152731a195b1908084f48195e1c1958dd195912195b1960621b60448201526064016105cd565b6001600160a01b0385166108905781341461088b5760405162461bcd60e51b815260206004820152601f60248201527f496e636f7272656374206d73672e76616c756520666f72206465706f7369740060448201526064016105cd565b6108a5565b6108a56001600160a01b0386163330856116bf565b6108af8282613949565b6001600160a01b03861660008181526001602090815260408083208984528252918290208490558151928352820183905291925085917f87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b91015b60405180910390a25050505050565b600080600061092a888589888a611719565b925092509250600080600061095d84878d8151811061094b5761094b6138f4565b6020026020010151604001518961032c565b935093505092506109748b868c8b8a888a8861179d565b610997868c81518110610989576109896138f4565b60200260200101518361188d565b5050505050505050505050565b6109ad836118c5565b6109c0816109ba8461192a565b85611943565b81516001906000906001600160401b038111156109df576109df612b15565b604051908082528060200260200182016040528015610a1857816020015b610a05612ad3565b8152602001906001900390816109fd5790505b509050600084516001600160401b03811115610a3657610a36612b15565b604051908082528060200260200182016040528015610a5f578160200160208202803683370190505b509050600085516001600160401b03811115610a7d57610a7d612b15565b604051908082528060200260200182016040528015610aa6578160200160208202803683370190505b50905060005b8651811015610c71576000878281518110610ac957610ac96138f4565b602002602001015190506000816040015190506000898481518110610af057610af06138f4565b602002602001015160000151905060016000826001600160a01b03166001600160a01b0316815260200190815260200160002060008c815260200190815260200160002054868581518110610b4757610b476138f4565b602002602001018181525050600080600080610bbf8a8981518110610b6e57610b6e6138f4565b60200260200101518760006001600160401b03811115610b9057610b90612b15565b604051908082528060200260200182016040528015610bb9578160200160208202803683370190505b5061032c565b935093509350935082610bd15760009b505b80898981518110610be457610be46138f4565b602002602001018181525050838e8981518110610c0357610c036138f4565b6020026020010151604001819052506040518060600160405280866001600160a01b0316815260200188602001518152602001838152508b8981518110610c4c57610c4c6138f4565b6020026020010181905250505050505050508080610c699061395c565b915050610aac565b5060005b8651811015610db5576000878281518110610c9257610c926138f4565b6020026020010151600001519050828281518110610cb257610cb26138f4565b602002602001015160016000836001600160a01b03166001600160a01b0316815260200190815260200160002060008b81526020019081526020016000206000828254610cff9190613936565b92505081905550887fc36da2054c5669d6dac211b7366d59f2d369151c21edf4940468614b449e0b9a83868581518110610d3b57610d3b6138f4565b602002602001015160016000866001600160a01b03166001600160a01b0316815260200190815260200160002060008e815260200190815260200160002054604051610d9a939291909283526020830191909152604082015260600190565b60405180910390a25080610dad8161395c565b915050610c75565b508315610dd057600087815260208190526040812055610de3565b610de38786610dde8961192a565b6119da565b610dec83611a40565b50505050505050565b6000806000610e0384611a80565b9196909550909350915050565b6060600060018551610e229190613936565b6001600160401b03811115610e3957610e39612b15565b604051908082528060200260200182016040528015610e8a57816020015b6040805160808101825260008082526020808301829052928201526060808201528252600019909201910181610e575790505b5090506000858481518110610ea157610ea16138f4565b602002602001015190506000610eba8260600151611acd565b9050600080808080805b8c51811015611114578a8103610edd5760019550611102565b60405180608001604052808e8381518110610efa57610efa6138f4565b60200260200101516000015181526020018e8381518110610f1d57610f1d6138f4565b60200260200101516020015181526020018e8381518110610f4057610f406138f4565b60200260200101516040015160ff1681526020018e8381518110610f6657610f666138f4565b602002602001015160600151815250898381518110610f8757610f876138f4565b602002602001018190525084158015610fc0575086600001518d8281518110610fb257610fb26138f4565b602002602001015160000151145b15611042578b600081518110610fd857610fd86138f4565b602002602001015160200151898381518110610ff657610ff66138f4565b602002602001015160200181815161100e9190613949565b9052508b518c90600090611024576110246138f4565b6020026020010151602001518361103b9190613949565b9250600194505b83158015611070575086602001518d8281518110611062576110626138f4565b602002602001015160000151145b156110f4578b600181518110611088576110886138f4565b6020026020010151602001518983815181106110a6576110a66138f4565b60200260200101516020018181516110be9190613949565b9052508b518c9060019081106110d6576110d66138f4565b602002602001015160200151836110ed9190613949565b9250600193505b816110fe8161395c565b9250505b8061110c8161395c565b915050610ec4565b508461115a5760405162461bcd60e51b815260206004820152601560248201527418dbdd5b19081b9bdd08199a5b99081d185c99d95d605a1b60448201526064016105cd565b8361119d5760405162461bcd60e51b815260206004820152601360248201527218dbdd5b19081b9bdd08199a5b99081b19599d606a1b60448201526064016105cd565b826111e15760405162461bcd60e51b815260206004820152601460248201527318dbdd5b19081b9bdd08199a5b99081c9a59da1d60621b60448201526064016105cd565b866020015182146112345760405162461bcd60e51b815260206004820181905260248201527f746f74616c5265636c61696d6564213d67756172616e7465652e616d6f756e7460448201526064016105cd565b509596505050505050505b9392505050565b6000606061125986820160408801613975565b6001600160a01b0316639936d8128761128361127482613992565b61127e898b61399e565b611af5565b61129d61128f8b613992565b611298896139ab565b611be7565b6040518463ffffffff1660e01b81526004016112bb93929190613c0c565b600060405180830381865afa1580156112d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113009190810190613d0f565b9150915094509492505050565b600061131884611d01565b82516040015190915061132a82611d47565b6113348282611da5565b60006060611343878787611e13565b909250905080826113675760405162461bcd60e51b81526004016105cd9190613d69565b50600061137385611eae565b90506113b560405180608001604052808665ffffffffffff168152602001600065ffffffffffff1681526020016000801b81526020016000801b815250611ef8565b6000868152602081905260408120919091558160028111156113d9576113d961390a565b036114205760405165ffffffffffff8516815285907ff3f2d5574c50e581f1a2371fac7dee87f7c6d599a496765fbfa2547ce7fd5f1a9060200160405180910390a261145f565b60405165ffffffffffff8516815285907f07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0906020015b60405180910390a25b5050505050505050565b600061147485611d01565b835160400151909150600061148883611eae565b60028111156114995761149961390a565b036114ad576114a88282611f8f565b6114e1565b60016114b883611eae565b60028111156114c9576114c961390a565b036114d8576114a88282611da5565b6114e182611d47565b600060606114f0888888611e13565b909250905080826115145760405162461bcd60e51b81526004016105cd9190613d69565b506000611525898860000151611ffe565b9050611536818a600001518861204a565b847f0aa12461ee6c137332989aa12cec79f4772ab2c1a8732a382aada7e9f3ec9d348a60600151426115689190613d7c565b8a8a60405161157993929190613e1a565b60405180910390a26115d860405180608001604052808665ffffffffffff1681526020018b60600151426115ad9190613d7c565b65ffffffffffff1681526020018381526020016115d18a600001516000015161192a565b9052611ef8565b600095865260208690526040909520949094555050505050505050565b600080611601836120f7565b91509150606060008385606001518151811061161f5761161f6138f4565b60200260200101516040015190506000838660e0015181518110611645576116456138f4565b602002602001015160400151905061166282828860800151610e10565b925050506116718484836122ef565b50505050565b6000611683838361236c565b82515190915061169690829060006109a4565b505050565b611696828261236c565b60008183116116b457826116b6565b815b90505b92915050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116719085906124c1565b606060008061172787612524565b611730866118c5565b61174285858051906020012088611943565b61174b846125d0565b925082888151811061175f5761175f6138f4565b602090810291909101810151516001600160a01b03811660009081526001835260408082209982529890925296902054929895975091955050505050565b6001600160a01b0387166000908152600160209081526040808320898452909152812080548392906117d0908490613936565b92505081905550828489815181106117ea576117ea6138f4565b60200260200101516040018190525061182a86868660405160200161180f9190613e95565b604051602081830303815290604052805190602001206119da565b6001600160a01b03871660009081526001602090815260408083208984528252918290205482518b81529182018590529181019190915286907fc36da2054c5669d6dac211b7366d59f2d369151c21edf4940468614b449e0b9a90606001611456565b6118c1604051806060016040528084600001516001600160a01b0316815260200184602001518152602001838152506125e6565b5050565b60026118d082611eae565b60028111156118e1576118e161390a565b146119275760405162461bcd60e51b815260206004820152601660248201527521b430b73732b6103737ba103334b730b634bd32b21760511b60448201526064016105cd565b50565b6000611935826126b2565b805190602001209050919050565b600061194e82611a80565b6040805160208082018a90528183018990528251808303840181526060909201909252805191012090935091506119829050565b6001600160a01b0316816001600160a01b0316146116715760405162461bcd60e51b81526020600482015260156024820152741a5b98dbdc9c9958dd08199a5b99d95c9c1c9a5b9d605a1b60448201526064016105cd565b6000806119e685611a80565b50915091506000611a2660405180608001604052808565ffffffffffff1681526020018465ffffffffffff16815260200187815260200186815250611ef8565b600096875260208790526040909620959095555050505050565b60005b81518110156118c157611a6e828281518110611a6157611a616138f4565b60200260200101516125e6565b80611a788161395c565b915050611a43565b60008181526020819052604081205481908190610100611aa1603082613ea8565b61ffff811683901c95509050611ab8603082613ea8565b949661ffff90951682901c9550909392505050565b6040805180820190915260008082526020820152818060200190518101906116b99190613ec3565b6060600082516001600160401b03811115611b1257611b12612b15565b604051908082528060200260200182016040528015611b7d57816020015b611b6a6040805160c08101825260609181018281528282019290925260006080820181905260a08201529081908152602001600081525090565b815260200190600190039081611b305790505b50905060005b8351811015611bdf57611baf85858381518110611ba257611ba26138f4565b6020026020010151611be7565b828281518110611bc157611bc16138f4565b60200260200101819052508080611bd79061395c565b915050611b83565b509392505050565b611c216040805160c08101825260609181018281528282019290925260006080820181905260a08201529081908152602001600081525090565b60408051808201909152825181526000602082018190525b836020015151811015611bdf576000611c7c611c59878760000151611ffe565b86602001518481518110611c6f57611c6f6138f4565b60200260200101516126db565b905060005b865151811015611cec578651805182908110611c9f57611c9f6138f4565b60200260200101516001600160a01b0316826001600160a01b031603611cda57611cca816002613fd9565b6020850180519091179052611cec565b80611ce48161395c565b915050611c81565b50508080611cf99061395c565b915050611c39565b60008160000151826020015183604001518460600151604051602001611d2a949392919061401e565b604051602081830303815290604052805190602001209050919050565b6002611d5282611eae565b6002811115611d6357611d6361390a565b036119275760405162461bcd60e51b815260206004820152601260248201527121b430b73732b6103334b730b634bd32b21760711b60448201526064016105cd565b6000611db083611a80565b505090508065ffffffffffff168265ffffffffffff16116116965760405162461bcd60e51b815260206004820152601c60248201527f7475726e4e756d5265636f7264206e6f7420696e637265617365642e0000000060448201526064016105cd565b6000606084604001516001600160a01b0316639936d81286611e358888611af5565b611e3f8988611be7565b6040518463ffffffff1660e01b8152600401611e5d93929190614067565b600060405180830381865afa158015611e7a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ea29190810190613d0f565b91509150935093915050565b600080611eba83611a80565b509150508065ffffffffffff16600003611ed75750600092915050565b428165ffffffffffff1611611eef5750600292915050565b50600192915050565b600080610100611f09603082613ea8565b845165ffffffffffff1661ffff82161b92509050611f28603082613ea8565b90508061ffff16846020015165ffffffffffff16901b82179150611f7b84604001518560600151604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6001600160a01b0316919091179392505050565b6000611f9a83611a80565b505090508065ffffffffffff168265ffffffffffff1610156116965760405162461bcd60e51b815260206004820152601860248201527f7475726e4e756d5265636f7264206465637265617365642e000000000000000060448201526064016105cd565b600061200983611d01565b60208084015184516040808701516060880151915161202c9695919291016140cf565b60405160208183030381529060405280519060200120905092915050565b600061209f8460405160200161208391815260406020820181905260099082015268666f7263654d6f766560b81b606082015260800190565b60405160208183030381529060405280519060200120836126db565b90506120ab81846127f6565b6116715760405162461bcd60e51b815260206004820152601f60248201527f4368616c6c656e676572206973206e6f742061207061727469636970616e740060448201526064016105cd565b8051604082015160608381015160c085015160e086015192948594909390929190612121856118c5565b6121378860200151858051906020012087611943565b612140846125d0565b965061214b826125d0565b95506000878481518110612161576121616138f4565b6020908102919091010151519050600260ff16888581518110612186576121866138f4565b6020026020010151604001518a60800151815181106121a7576121a76138f4565b60200260200101516040015160ff16146122035760405162461bcd60e51b815260206004820152601a60248201527f6e6f7420612067756172616e74656520616c6c6f636174696f6e00000000000060448201526064016105cd565b6000888581518110612217576122176138f4565b6020026020010151604001518a6080015181518110612238576122386138f4565b6020026020010151600001519050816001600160a01b0316888481518110612262576122626138f4565b6020026020010151600001516001600160a01b0316146122c45760405162461bcd60e51b815260206004820152601d60248201527f746172676574417373657420213d2067756172616e746565417373657400000060448201526064016105cd565b6122cd816118c5565b6122e38a60a00151858051906020012083611943565b50505050505050915091565b825160608401518351839085908390811061230c5761230c6138f4565b6020026020010151604001819052506123358286602001518660405160200161180f9190613e95565b845160608601516040519081527f4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b90602001610909565b600061237783611d01565b905061238281611d47565b8151606001516123ca5760405162461bcd60e51b815260206004820152601360248201527214dd185d19481b5d5cdd08189948199a5b985b606a1b60448201526064016105cd565b60006123d68484611be7565b90508360000151516123eb826020015161285b565b60ff16146124285760405162461bcd60e51b815260206004820152600a60248201526921756e616e696d6f757360b01b60448201526064016105cd565b61246d6040518060800160405280600065ffffffffffff1681526020014265ffffffffffff1681526020016000801b81526020016115d186600001516000015161192a565b60008381526020818152604091829020929092555165ffffffffffff4216815283917f4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901910160405180910390a25092915050565b60006124d66001600160a01b03841683612886565b905080516000141580156124fb5750808060200190518101906124f9919061411c565b155b1561169657604051635274afe760e01b81526001600160a01b03841660048201526024016105cd565b60005b8151612534826001613949565b10156118c15781612546826001613949565b81518110612556576125566138f4565b6020026020010151828281518110612570576125706138f4565b6020026020010151106125be5760405162461bcd60e51b8152602060048201526016602482015275125b991a58d95cc81b5d5cdd081899481cdbdc9d195960521b60448201526064016105cd565b806125c88161395c565b915050612527565b6060818060200190518101906116b9919061423a565b805160005b82604001515181101561169657600083604001518281518110612610576126106138f4565b6020026020010151600001519050600084604001518381518110612636576126366138f4565b602002602001015160200151905061264f8260a01c1590565b156126645761265f848383612894565b61269d565b6001600160a01b038416600090815260016020908152604080832085845290915281208054839290612697908490613949565b90915550505b505080806126aa9061395c565b9150506125eb565b6060816040516020016126c59190613e95565b6040516020818303038152906040529050919050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018390526000908190605c01604051602081830303815290604052805190602001209050600060018285600001518660200151876040015160405160008152602001604052604051612775949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015612797573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166127ee5760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016105cd565b949350505050565b6000805b825181101561285157828181518110612815576128156138f4565b60200260200101516001600160a01b0316846001600160a01b03160361283f5760019150506116b9565b806128498161395c565b9150506127fa565b5060009392505050565b6000805b82156116b957612870600184613936565b909216918061287e81614398565b91505061285f565b60606116b6838360006129b1565b6001600160a01b03831661293e576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146128ef576040519150601f19603f3d011682016040523d82523d6000602084013e6128f4565b606091505b50509050806116715760405162461bcd60e51b8152602060048201526016602482015275086deead8c840dcdee840e8e4c2dce6cccae4408aa8960531b60448201526064016105cd565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af115801561298d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611671919061411c565b6060814710156129d65760405163cd78605960e01b81523060048201526024016105cd565b600080856001600160a01b031684866040516129f291906143b7565b60006040518083038185875af1925050503d8060008114612a2f576040519150601f19603f3d011682016040523d82523d6000602084013e612a34565b606091505b5091509150612a44868383612a4e565b9695505050505050565b606082612a6357612a5e82612aaa565b61123f565b8151158015612a7a57506001600160a01b0384163b155b15612aa357604051639996b31560e01b81526001600160a01b03851660048201526024016105cd565b508061123f565b805115612aba5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b604051806060016040528060006001600160a01b03168152602001612af6612b03565b8152602001606081525090565b60408051808201909152806000612af6565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715612b4d57612b4d612b15565b60405290565b604051606081016001600160401b0381118282101715612b4d57612b4d612b15565b604080519081016001600160401b0381118282101715612b4d57612b4d612b15565b60405161010081016001600160401b0381118282101715612b4d57612b4d612b15565b604051601f8201601f191681016001600160401b0381118282101715612be257612be2612b15565b604052919050565b60006001600160401b03821115612c0357612c03612b15565b5060051b60200190565b60ff8116811461192757600080fd5b60006001600160401b03821115612c3557612c35612b15565b50601f01601f191660200190565b600082601f830112612c5457600080fd5b8135612c67612c6282612c1c565b612bba565b818152846020838601011115612c7c57600080fd5b816020850160208301376000918101602001919091529392505050565b600082601f830112612caa57600080fd5b81356020612cba612c6283612bea565b82815260059290921b84018101918181019086841115612cd957600080fd5b8286015b84811015612d7a5780356001600160401b0380821115612cfd5760008081fd5b908801906080828b03601f1901811315612d175760008081fd5b612d1f612b2b565b87840135815260408085013589830152606080860135612d3e81612c0d565b83830152928501359284841115612d5757600091508182fd5b612d658e8b86890101612c43565b90830152508652505050918301918301612cdd565b509695505050505050565b600082601f830112612d9657600080fd5b81356020612da6612c6283612bea565b82815260059290921b84018101918181019086841115612dc557600080fd5b8286015b84811015612d7a5780358352918301918301612dc9565b600080600060608486031215612df557600080fd5b8335925060208401356001600160401b0380821115612e1357600080fd5b612e1f87838801612c99565b93506040860135915080821115612e3557600080fd5b50612e4286828701612d85565b9150509250925092565b60005b83811015612e67578181015183820152602001612e4f565b50506000910152565b60008151808452612e88816020860160208601612e4c565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015612f1457858303601f19018952815180518452848101518585015260408082015160ff1690850152606090810151608091850182905290612f0081860183612e70565b9a86019a9450505090830190600101612eb9565b5090979650505050505050565b608081526000612f346080830187612e9c565b85151560208401528281036040840152612f4e8186612e9c565b91505082606083015295945050505050565b6001600160a01b038116811461192757600080fd5b8035612f8081612f60565b919050565b60008060408385031215612f9857600080fd5b8235612fa381612f60565b946020939093013593505050565b60008060008060808587031215612fc757600080fd5b8435612fd281612f60565b966020860135965060408601359560600135945092505050565b600080600080600060a0868803121561300457600080fd5b853594506020860135935060408601356001600160401b038082111561302957600080fd5b61303589838a01612c43565b945060608801359350608088013591508082111561305257600080fd5b5061305f88828901612d85565b9150509295509295909350565b6004811061192757600080fd5b600082601f83011261308a57600080fd5b8135602061309a612c6283612bea565b82815260059290921b840181019181810190868411156130b957600080fd5b8286015b84811015612d7a5780356001600160401b03808211156130dc57600080fd5b90880190601f196060838c03820112156130f557600080fd5b6130fd612b53565b8784013561310a81612f60565b815260408401358381111561311e57600080fd5b84016040818e038401121561313257600080fd5b61313a612b75565b9250888101356131498161306c565b835260408101358481111561315d57600080fd5b61316b8e8b83850101612c43565b8a85015250508188820152606084013591508282111561318a57600080fd5b6131988c8984870101612c99565b604082015286525050509183019183016130bd565b6000806000606084860312156131c257600080fd5b8335925060208401356001600160401b038111156131df57600080fd5b6131eb86828701613079565b925050604084013590509250925092565b60006020828403121561320e57600080fd5b5035919050565b60008060006060848603121561322a57600080fd5b83356001600160401b038082111561324157600080fd5b61324d87838801612c99565b9450602086013591508082111561326357600080fd5b506131eb86828701612c99565b6020815260006116b66020830184612e9c565b6000604082840312156116b457600080fd5b600080600080606085870312156132ab57600080fd5b84356001600160401b03808211156132c257600080fd5b90860190608082890312156132d657600080fd5b909450602086013590808211156132ec57600080fd5b818701915087601f83011261330057600080fd5b81358181111561330f57600080fd5b8860208260051b850101111561332457600080fd5b60208301955080945050604087013591508082111561334257600080fd5b5061334f87828801613283565b91505092959194509250565b82151581526040602082015260006127ee6040830184612e70565b80356001600160401b0381168114612f8057600080fd5b803565ffffffffffff81168114612f8057600080fd5b6000608082840312156133b557600080fd5b6133bd612b2b565b905081356001600160401b038111156133d557600080fd5b8201601f810184136133e657600080fd5b803560206133f6612c6283612bea565b82815260059290921b8301810191818101908784111561341557600080fd5b938201935b8385101561343c57843561342d81612f60565b8252938201939082019061341a565b85525061344a858201613376565b8185015250505061345d60408301612f75565b604082015261346e6060830161338d565b606082015292915050565b801515811461192757600080fd5b60006060828403121561349957600080fd5b6134a1612b53565b905081356134ae81612c0d565b80825250602082013560208201526040820135604082015292915050565b600082601f8301126134dd57600080fd5b813560206134ed612c6283612bea565b8281526060928302850182019282820191908785111561350c57600080fd5b8387015b85811015612f14576135228982613487565b8452928401928101613510565b60006040828403121561354157600080fd5b613549612b75565b905081356001600160401b038082111561356257600080fd5b908301906080828603121561357657600080fd5b61357e612b2b565b82358281111561358d57600080fd5b61359987828601613079565b8252506020830135828111156135ae57600080fd5b6135ba87828601612c43565b6020830152506135cc6040840161338d565b6040820152606083013592506135e183613479565b8260608201528084525060208401359150808211156135ff57600080fd5b5061360c848285016134cc565b60208301525092915050565b6000613626612c6284612bea565b8381529050602080820190600585901b84018681111561364557600080fd5b845b818110156136805780356001600160401b038111156136665760008081fd5b6136728982890161352f565b855250928201928201613647565b505050509392505050565b600082601f83011261369c57600080fd5b6116b683833560208501613618565b6000806000606084860312156136c057600080fd5b83356001600160401b03808211156136d757600080fd5b6136e3878388016133a3565b945060208601359150808211156136f957600080fd5b6137058783880161368b565b9350604086013591508082111561371b57600080fd5b50612e428682870161352f565b60008060008060c0858703121561373e57600080fd5b84356001600160401b038082111561375557600080fd5b613761888389016133a3565b9550602087013591508082111561377757600080fd5b6137838883890161368b565b9450604087013591508082111561379957600080fd5b506137a68782880161352f565b9250506137b68660608701613487565b905092959194509250565b6000602082840312156137d357600080fd5b81356001600160401b03808211156137ea57600080fd5b9083019061010082860312156137ff57600080fd5b613807612b97565b823581526020830135602082015260408301358281111561382757600080fd5b61383387828601612c43565b604083015250606083013560608201526080830135608082015260a083013560a082015260c08301358281111561386957600080fd5b61387587828601612c43565b60c08301525060e083013560e082015280935050505092915050565b600080604083850312156138a457600080fd5b82356001600160401b03808211156138bb57600080fd5b6138c7868387016133a3565b935060208501359150808211156138dd57600080fd5b506138ea8582860161352f565b9150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156116b9576116b9613920565b808201808211156116b9576116b9613920565b60006001820161396e5761396e613920565b5060010190565b60006020828403121561398757600080fd5b813561123f81612f60565b60006116b936836133a3565b60006116b6368484613618565b60006116b9368361352f565b8183526000602080850194508260005b858110156139f55781356139da81612f60565b6001600160a01b0316875295820195908201906001016139c7565b509495945050505050565b600081518084526020808501808196508360051b8101915082860160005b85811015613a75578284038952815180518552858101518686015260408082015160ff1690860152606090810151608091860182905290613a6181870183612e70565b9a87019a9550505090840190600101613a1e565b5091979650505050505050565b600081518084526020808501808196508360051b810191508286016000805b86811015613b34578385038a528251606060018060a01b03825116875287820151818989015280516004808210613ae557634e487b7160e01b875260218152602487fd5b5091880191909152870151604060808801819052613b0660a0890183612e70565b91508083015192508782038189015250613b208183613a00565b9b88019b9650505091850191600101613aa1565b509298975050505050505050565b6000815160808452613b576080850182613a82565b905060208301518482036020860152613b708282612e70565b91505065ffffffffffff60408401511660408501526060830151151560608501528091505092915050565b6000815160408452613bb06040850182613b42565b602093840151949093019390935250919050565b600081518084526020808501808196508360051b8101915082860160005b85811015613a75578284038952613bfa848351613b9b565b98850198935090840190600101613be2565b6060815260008435601e19863603018112613c2657600080fd5b85016020810190356001600160401b03811115613c4257600080fd5b8060051b3603821315613c5457600080fd5b60806060850152613c6960e0850182846139b7565b915050613c7860208701613376565b6001600160401b03166080840152613c9260408701612f75565b6001600160a01b031660a0840152613cac6060870161338d565b65ffffffffffff1660c08401528281036020840152613ccb8186613bc4565b90508281036040840152612a448185613b9b565b6000613ced612c6284612c1c565b9050828152838383011115613d0157600080fd5b61123f836020830184612e4c565b60008060408385031215613d2257600080fd5b8251613d2d81613479565b60208401519092506001600160401b03811115613d4957600080fd5b8301601f81018513613d5a57600080fd5b6138ea85825160208401613cdf565b6020815260006116b66020830184612e70565b65ffffffffffff818116838216019080821115613d9b57613d9b613920565b5092915050565b600060408251818552613db782860182613b42565b60208581015187830388830152805180845290820193509091600091908301905b80831015613e0e578451805160ff1683528481015185840152860151868301529383019360019290920191606090910190613dd8565b50979650505050505050565b60006060820165ffffffffffff86168352602060608185015281865180845260808601915060808160051b870101935082880160005b82811015613e7e57607f19888703018452613e6c868351613da2565b95509284019290840190600101613e50565b50505050508281036040840152612a448185613da2565b6020815260006116b66020830184613a82565b61ffff828116828216039080821115613d9b57613d9b613920565b600060408284031215613ed557600080fd5b613edd612b75565b82518152602083015160208201528091505092915050565b600181815b80851115613f30578160001904821115613f1657613f16613920565b80851615613f2357918102915b93841c9390800290613efa565b509250929050565b600082613f47575060016116b9565b81613f54575060006116b9565b8160018114613f6a5760028114613f7457613f90565b60019150506116b9565b60ff841115613f8557613f85613920565b50506001821b6116b9565b5060208310610133831016604e8410600b8410161715613fb3575081810a6116b9565b613fbd8383613ef5565b8060001904821115613fd157613fd1613920565b029392505050565b60006116b68383613f38565b600081518084526020808501945080840160005b838110156139f55781516001600160a01b031687529582019590820190600101613ff9565b6080815260006140316080830187613fe5565b6001600160401b03959095166020830152506001600160a01b0392909216604083015265ffffffffffff16606090910152919050565b60608152600084516080606084015261408360e0840182613fe5565b6020878101516001600160401b0316608086015260408801516001600160a01b031660a0860152606088015165ffffffffffff1660c0860152848203908501529050613ccb8186613bc4565b85815260a0602082015260006140e860a0830187612e70565b82810360408401526140fa8187613a82565b65ffffffffffff95909516606084015250509015156080909101529392505050565b60006020828403121561412e57600080fd5b815161123f81613479565b600082601f83011261414a57600080fd5b6116b683835160208501613cdf565b600082601f83011261416a57600080fd5b8151602061417a612c6283612bea565b82815260059290921b8401810191818101908684111561419957600080fd5b8286015b84811015612d7a5780516001600160401b03808211156141bd5760008081fd5b908801906080828b03601f19018113156141d75760008081fd5b6141df612b2b565b878401518152604080850151898301526060808601516141fe81612c0d565b8383015292850151928484111561421757600091508182fd5b6142258e8b86890101614139565b9083015250865250505091830191830161419d565b60006020828403121561424c57600080fd5b81516001600160401b038082111561426357600080fd5b818401915084601f83011261427757600080fd5b8151614285612c6282612bea565b8082825260208201915060208360051b8601019250878311156142a757600080fd5b602085015b83811015613e0e578051858111156142c357600080fd5b8601601f196060828c03820112156142da57600080fd5b6142e2612b53565b60208301516142f081612f60565b815260408301518881111561430457600080fd5b83016040818e038401121561431857600080fd5b614320612b75565b925060208101516143308161306c565b835260408101518981111561434457600080fd5b6143538e602083850101614139565b60208501525050816020820152606083015191508782111561437457600080fd5b6143838c602084860101614159565b604082015285525050602092830192016142ac565b600060ff821660ff81036143ae576143ae613920565b60010192915050565b600082516143c9818460208701612e4c565b919091019291505056fea2646970667358221220b8be4aeb39effbbf3e7d2464d4c060dbc6ede553e732c0f7c993ee6ae66fbfc164736f6c63430008140033",
}
YellowAdjudicatorMetaData contains all meta data concerning the YellowAdjudicator 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 YellowAdjudicator ¶
type YellowAdjudicator struct { YellowAdjudicatorCaller // Read-only binding to the contract YellowAdjudicatorTransactor // Write-only binding to the contract YellowAdjudicatorFilterer // Log filterer for contract events }
YellowAdjudicator is an auto generated Go binding around an Ethereum contract.
func DeployYellowAdjudicator ¶
func DeployYellowAdjudicator(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *YellowAdjudicator, error)
DeployYellowAdjudicator deploys a new Ethereum contract, binding an instance of YellowAdjudicator to it.
func NewYellowAdjudicator ¶
func NewYellowAdjudicator(address common.Address, backend bind.ContractBackend) (*YellowAdjudicator, error)
NewYellowAdjudicator creates a new instance of YellowAdjudicator, bound to a specific deployed contract.
type YellowAdjudicatorAllocationUpdated ¶
type YellowAdjudicatorAllocationUpdated struct { ChannelId [32]byte AssetIndex *big.Int InitialHoldings *big.Int FinalHoldings *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorAllocationUpdated represents a AllocationUpdated event raised by the YellowAdjudicator contract.
type YellowAdjudicatorAllocationUpdatedIterator ¶
type YellowAdjudicatorAllocationUpdatedIterator struct { Event *YellowAdjudicatorAllocationUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorAllocationUpdatedIterator is returned from FilterAllocationUpdated and is used to iterate over the raw logs and unpacked data for AllocationUpdated events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorAllocationUpdatedIterator) Close ¶
func (it *YellowAdjudicatorAllocationUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorAllocationUpdatedIterator) Error ¶
func (it *YellowAdjudicatorAllocationUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorAllocationUpdatedIterator) Next ¶
func (it *YellowAdjudicatorAllocationUpdatedIterator) 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 YellowAdjudicatorCaller ¶
type YellowAdjudicatorCaller struct {
// contains filtered or unexported fields
}
YellowAdjudicatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewYellowAdjudicatorCaller ¶
func NewYellowAdjudicatorCaller(address common.Address, caller bind.ContractCaller) (*YellowAdjudicatorCaller, error)
NewYellowAdjudicatorCaller creates a new read-only instance of YellowAdjudicator, bound to a specific deployed contract.
func (*YellowAdjudicatorCaller) ComputeReclaimEffects ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) ComputeReclaimEffects(opts *bind.CallOpts, sourceAllocations []ExitFormatAllocation, targetAllocations []ExitFormatAllocation, indexOfTargetInSource *big.Int) ([]ExitFormatAllocation, error)
ComputeReclaimEffects is a free data retrieval call binding the contract method 0x566d54c6.
Solidity: function compute_reclaim_effects((bytes32,uint256,uint8,bytes)[] sourceAllocations, (bytes32,uint256,uint8,bytes)[] targetAllocations, uint256 indexOfTargetInSource) pure returns((bytes32,uint256,uint8,bytes)[])
func (*YellowAdjudicatorCaller) ComputeTransferEffectsAndInteractions ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) ComputeTransferEffectsAndInteractions(opts *bind.CallOpts, initialHoldings *big.Int, allocations []ExitFormatAllocation, indices []*big.Int) (struct { NewAllocations []ExitFormatAllocation AllocatesOnlyZeros bool ExitAllocations []ExitFormatAllocation TotalPayouts *big.Int }, error)
ComputeTransferEffectsAndInteractions is a free data retrieval call binding the contract method 0x11e9f178.
Solidity: function compute_transfer_effects_and_interactions(uint256 initialHoldings, (bytes32,uint256,uint8,bytes)[] allocations, uint256[] indices) pure returns((bytes32,uint256,uint8,bytes)[] newAllocations, bool allocatesOnlyZeros, (bytes32,uint256,uint8,bytes)[] exitAllocations, uint256 totalPayouts)
func (*YellowAdjudicatorCaller) Holdings ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) Holdings(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (*big.Int, error)
Holdings is a free data retrieval call binding the contract method 0x166e56cd.
Solidity: function holdings(address , bytes32 ) view returns(uint256)
func (*YellowAdjudicatorCaller) StateIsSupported ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) 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)
func (*YellowAdjudicatorCaller) StatusOf ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) StatusOf(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)
StatusOf is a free data retrieval call binding the contract method 0xc7df14e2.
Solidity: function statusOf(bytes32 ) view returns(bytes32)
func (*YellowAdjudicatorCaller) UnpackStatus ¶
func (_YellowAdjudicator *YellowAdjudicatorCaller) UnpackStatus(opts *bind.CallOpts, channelId [32]byte) (struct { TurnNumRecord *big.Int FinalizesAt *big.Int Fingerprint *big.Int }, error)
UnpackStatus is a free data retrieval call binding the contract method 0x552cfa50.
Solidity: function unpackStatus(bytes32 channelId) view returns(uint48 turnNumRecord, uint48 finalizesAt, uint160 fingerprint)
type YellowAdjudicatorCallerRaw ¶
type YellowAdjudicatorCallerRaw struct {
Contract *YellowAdjudicatorCaller // Generic read-only contract binding to access the raw methods on
}
YellowAdjudicatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*YellowAdjudicatorCallerRaw) Call ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerRaw) 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 YellowAdjudicatorCallerSession ¶
type YellowAdjudicatorCallerSession struct { Contract *YellowAdjudicatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
YellowAdjudicatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*YellowAdjudicatorCallerSession) ComputeReclaimEffects ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) ComputeReclaimEffects(sourceAllocations []ExitFormatAllocation, targetAllocations []ExitFormatAllocation, indexOfTargetInSource *big.Int) ([]ExitFormatAllocation, error)
ComputeReclaimEffects is a free data retrieval call binding the contract method 0x566d54c6.
Solidity: function compute_reclaim_effects((bytes32,uint256,uint8,bytes)[] sourceAllocations, (bytes32,uint256,uint8,bytes)[] targetAllocations, uint256 indexOfTargetInSource) pure returns((bytes32,uint256,uint8,bytes)[])
func (*YellowAdjudicatorCallerSession) ComputeTransferEffectsAndInteractions ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) ComputeTransferEffectsAndInteractions(initialHoldings *big.Int, allocations []ExitFormatAllocation, indices []*big.Int) (struct { NewAllocations []ExitFormatAllocation AllocatesOnlyZeros bool ExitAllocations []ExitFormatAllocation TotalPayouts *big.Int }, error)
ComputeTransferEffectsAndInteractions is a free data retrieval call binding the contract method 0x11e9f178.
Solidity: function compute_transfer_effects_and_interactions(uint256 initialHoldings, (bytes32,uint256,uint8,bytes)[] allocations, uint256[] indices) pure returns((bytes32,uint256,uint8,bytes)[] newAllocations, bool allocatesOnlyZeros, (bytes32,uint256,uint8,bytes)[] exitAllocations, uint256 totalPayouts)
func (*YellowAdjudicatorCallerSession) Holdings ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) Holdings(arg0 common.Address, arg1 [32]byte) (*big.Int, error)
Holdings is a free data retrieval call binding the contract method 0x166e56cd.
Solidity: function holdings(address , bytes32 ) view returns(uint256)
func (*YellowAdjudicatorCallerSession) StateIsSupported ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) 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 (*YellowAdjudicatorCallerSession) StatusOf ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) StatusOf(arg0 [32]byte) ([32]byte, error)
StatusOf is a free data retrieval call binding the contract method 0xc7df14e2.
Solidity: function statusOf(bytes32 ) view returns(bytes32)
func (*YellowAdjudicatorCallerSession) UnpackStatus ¶
func (_YellowAdjudicator *YellowAdjudicatorCallerSession) UnpackStatus(channelId [32]byte) (struct { TurnNumRecord *big.Int FinalizesAt *big.Int Fingerprint *big.Int }, error)
UnpackStatus is a free data retrieval call binding the contract method 0x552cfa50.
Solidity: function unpackStatus(bytes32 channelId) view returns(uint48 turnNumRecord, uint48 finalizesAt, uint160 fingerprint)
type YellowAdjudicatorChallengeCleared ¶
type YellowAdjudicatorChallengeCleared struct { ChannelId [32]byte NewTurnNumRecord *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorChallengeCleared represents a ChallengeCleared event raised by the YellowAdjudicator contract.
type YellowAdjudicatorChallengeClearedIterator ¶
type YellowAdjudicatorChallengeClearedIterator struct { Event *YellowAdjudicatorChallengeCleared // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorChallengeClearedIterator is returned from FilterChallengeCleared and is used to iterate over the raw logs and unpacked data for ChallengeCleared events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorChallengeClearedIterator) Close ¶
func (it *YellowAdjudicatorChallengeClearedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorChallengeClearedIterator) Error ¶
func (it *YellowAdjudicatorChallengeClearedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorChallengeClearedIterator) Next ¶
func (it *YellowAdjudicatorChallengeClearedIterator) 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 YellowAdjudicatorChallengeRegistered ¶
type YellowAdjudicatorChallengeRegistered struct { ChannelId [32]byte FinalizesAt *big.Int Proof []INitroTypesSignedVariablePart Candidate INitroTypesSignedVariablePart Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorChallengeRegistered represents a ChallengeRegistered event raised by the YellowAdjudicator contract.
type YellowAdjudicatorChallengeRegisteredIterator ¶
type YellowAdjudicatorChallengeRegisteredIterator struct { Event *YellowAdjudicatorChallengeRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorChallengeRegisteredIterator is returned from FilterChallengeRegistered and is used to iterate over the raw logs and unpacked data for ChallengeRegistered events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorChallengeRegisteredIterator) Close ¶
func (it *YellowAdjudicatorChallengeRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorChallengeRegisteredIterator) Error ¶
func (it *YellowAdjudicatorChallengeRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorChallengeRegisteredIterator) Next ¶
func (it *YellowAdjudicatorChallengeRegisteredIterator) 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 YellowAdjudicatorCheckpointed ¶ added in v0.0.5
type YellowAdjudicatorCheckpointed struct { ChannelId [32]byte NewTurnNumRecord *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorCheckpointed represents a Checkpointed event raised by the YellowAdjudicator contract.
type YellowAdjudicatorCheckpointedIterator ¶ added in v0.0.5
type YellowAdjudicatorCheckpointedIterator struct { Event *YellowAdjudicatorCheckpointed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorCheckpointedIterator is returned from FilterCheckpointed and is used to iterate over the raw logs and unpacked data for Checkpointed events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorCheckpointedIterator) Close ¶ added in v0.0.5
func (it *YellowAdjudicatorCheckpointedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorCheckpointedIterator) Error ¶ added in v0.0.5
func (it *YellowAdjudicatorCheckpointedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorCheckpointedIterator) Next ¶ added in v0.0.5
func (it *YellowAdjudicatorCheckpointedIterator) 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 YellowAdjudicatorConcluded ¶
type YellowAdjudicatorConcluded struct { ChannelId [32]byte FinalizesAt *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorConcluded represents a Concluded event raised by the YellowAdjudicator contract.
type YellowAdjudicatorConcludedIterator ¶
type YellowAdjudicatorConcludedIterator struct { Event *YellowAdjudicatorConcluded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorConcludedIterator is returned from FilterConcluded and is used to iterate over the raw logs and unpacked data for Concluded events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorConcludedIterator) Close ¶
func (it *YellowAdjudicatorConcludedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorConcludedIterator) Error ¶
func (it *YellowAdjudicatorConcludedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorConcludedIterator) Next ¶
func (it *YellowAdjudicatorConcludedIterator) 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 YellowAdjudicatorDeposited ¶
type YellowAdjudicatorDeposited struct { Destination [32]byte Asset common.Address DestinationHoldings *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorDeposited represents a Deposited event raised by the YellowAdjudicator contract.
type YellowAdjudicatorDepositedIterator ¶
type YellowAdjudicatorDepositedIterator struct { Event *YellowAdjudicatorDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorDepositedIterator) Close ¶
func (it *YellowAdjudicatorDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorDepositedIterator) Error ¶
func (it *YellowAdjudicatorDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorDepositedIterator) Next ¶
func (it *YellowAdjudicatorDepositedIterator) 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 YellowAdjudicatorFilterer ¶
type YellowAdjudicatorFilterer struct {
// contains filtered or unexported fields
}
YellowAdjudicatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewYellowAdjudicatorFilterer ¶
func NewYellowAdjudicatorFilterer(address common.Address, filterer bind.ContractFilterer) (*YellowAdjudicatorFilterer, error)
NewYellowAdjudicatorFilterer creates a new log filterer instance of YellowAdjudicator, bound to a specific deployed contract.
func (*YellowAdjudicatorFilterer) FilterAllocationUpdated ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterAllocationUpdated(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorAllocationUpdatedIterator, 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 (*YellowAdjudicatorFilterer) FilterChallengeCleared ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterChallengeCleared(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorChallengeClearedIterator, error)
FilterChallengeCleared is a free log retrieval operation binding the contract event 0x07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0.
Solidity: event ChallengeCleared(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*YellowAdjudicatorFilterer) FilterChallengeRegistered ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterChallengeRegistered(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorChallengeRegisteredIterator, 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 (*YellowAdjudicatorFilterer) FilterCheckpointed ¶ added in v0.0.5
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterCheckpointed(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorCheckpointedIterator, error)
FilterCheckpointed is a free log retrieval operation binding the contract event 0xf3f2d5574c50e581f1a2371fac7dee87f7c6d599a496765fbfa2547ce7fd5f1a.
Solidity: event Checkpointed(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*YellowAdjudicatorFilterer) FilterConcluded ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterConcluded(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorConcludedIterator, error)
FilterConcluded is a free log retrieval operation binding the contract event 0x4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901.
Solidity: event Concluded(bytes32 indexed channelId, uint48 finalizesAt)
func (*YellowAdjudicatorFilterer) FilterDeposited ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterDeposited(opts *bind.FilterOpts, destination [][32]byte) (*YellowAdjudicatorDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b.
Solidity: event Deposited(bytes32 indexed destination, address asset, uint256 destinationHoldings)
func (*YellowAdjudicatorFilterer) FilterReclaimed ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) FilterReclaimed(opts *bind.FilterOpts, channelId [][32]byte) (*YellowAdjudicatorReclaimedIterator, error)
FilterReclaimed is a free log retrieval operation binding the contract event 0x4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b.
Solidity: event Reclaimed(bytes32 indexed channelId, uint256 assetIndex)
func (*YellowAdjudicatorFilterer) ParseAllocationUpdated ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseAllocationUpdated(log types.Log) (*YellowAdjudicatorAllocationUpdated, 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 (*YellowAdjudicatorFilterer) ParseChallengeCleared ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseChallengeCleared(log types.Log) (*YellowAdjudicatorChallengeCleared, error)
ParseChallengeCleared is a log parse operation binding the contract event 0x07da0a0674fb921e484018c8b81d80e292745e5d8ed134b580c8b9c631c5e9e0.
Solidity: event ChallengeCleared(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*YellowAdjudicatorFilterer) ParseChallengeRegistered ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseChallengeRegistered(log types.Log) (*YellowAdjudicatorChallengeRegistered, 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 (*YellowAdjudicatorFilterer) ParseCheckpointed ¶ added in v0.0.5
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseCheckpointed(log types.Log) (*YellowAdjudicatorCheckpointed, error)
ParseCheckpointed is a log parse operation binding the contract event 0xf3f2d5574c50e581f1a2371fac7dee87f7c6d599a496765fbfa2547ce7fd5f1a.
Solidity: event Checkpointed(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*YellowAdjudicatorFilterer) ParseConcluded ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseConcluded(log types.Log) (*YellowAdjudicatorConcluded, error)
ParseConcluded is a log parse operation binding the contract event 0x4f465027a3d06ea73dd12be0f5c5fc0a34e21f19d6eaed4834a7a944edabc901.
Solidity: event Concluded(bytes32 indexed channelId, uint48 finalizesAt)
func (*YellowAdjudicatorFilterer) ParseDeposited ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseDeposited(log types.Log) (*YellowAdjudicatorDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x87d4c0b5e30d6808bc8a94ba1c4d839b29d664151551a31753387ee9ef48429b.
Solidity: event Deposited(bytes32 indexed destination, address asset, uint256 destinationHoldings)
func (*YellowAdjudicatorFilterer) ParseReclaimed ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) ParseReclaimed(log types.Log) (*YellowAdjudicatorReclaimed, error)
ParseReclaimed is a log parse operation binding the contract event 0x4d3754632451ebba9812a9305e7bca17b67a17186a5cff93d2e9ae1b01e3d27b.
Solidity: event Reclaimed(bytes32 indexed channelId, uint256 assetIndex)
func (*YellowAdjudicatorFilterer) WatchAllocationUpdated ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchAllocationUpdated(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorAllocationUpdated, 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 (*YellowAdjudicatorFilterer) WatchChallengeCleared ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchChallengeCleared(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorChallengeCleared, 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 (*YellowAdjudicatorFilterer) WatchChallengeRegistered ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchChallengeRegistered(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorChallengeRegistered, 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 (*YellowAdjudicatorFilterer) WatchCheckpointed ¶ added in v0.0.5
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchCheckpointed(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorCheckpointed, channelId [][32]byte) (event.Subscription, error)
WatchCheckpointed is a free log subscription operation binding the contract event 0xf3f2d5574c50e581f1a2371fac7dee87f7c6d599a496765fbfa2547ce7fd5f1a.
Solidity: event Checkpointed(bytes32 indexed channelId, uint48 newTurnNumRecord)
func (*YellowAdjudicatorFilterer) WatchConcluded ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchConcluded(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorConcluded, 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 (*YellowAdjudicatorFilterer) WatchDeposited ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorDeposited, 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 (*YellowAdjudicatorFilterer) WatchReclaimed ¶
func (_YellowAdjudicator *YellowAdjudicatorFilterer) WatchReclaimed(opts *bind.WatchOpts, sink chan<- *YellowAdjudicatorReclaimed, 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 YellowAdjudicatorRaw ¶
type YellowAdjudicatorRaw struct {
Contract *YellowAdjudicator // Generic contract binding to access the raw methods on
}
YellowAdjudicatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*YellowAdjudicatorRaw) Call ¶
func (_YellowAdjudicator *YellowAdjudicatorRaw) 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 (*YellowAdjudicatorRaw) Transact ¶
func (_YellowAdjudicator *YellowAdjudicatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YellowAdjudicatorRaw) Transfer ¶
func (_YellowAdjudicator *YellowAdjudicatorRaw) 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 YellowAdjudicatorReclaimed ¶
type YellowAdjudicatorReclaimed struct { ChannelId [32]byte AssetIndex *big.Int Raw types.Log // Blockchain specific contextual infos }
YellowAdjudicatorReclaimed represents a Reclaimed event raised by the YellowAdjudicator contract.
type YellowAdjudicatorReclaimedIterator ¶
type YellowAdjudicatorReclaimedIterator struct { Event *YellowAdjudicatorReclaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YellowAdjudicatorReclaimedIterator is returned from FilterReclaimed and is used to iterate over the raw logs and unpacked data for Reclaimed events raised by the YellowAdjudicator contract.
func (*YellowAdjudicatorReclaimedIterator) Close ¶
func (it *YellowAdjudicatorReclaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YellowAdjudicatorReclaimedIterator) Error ¶
func (it *YellowAdjudicatorReclaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YellowAdjudicatorReclaimedIterator) Next ¶
func (it *YellowAdjudicatorReclaimedIterator) 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 YellowAdjudicatorSession ¶
type YellowAdjudicatorSession struct { Contract *YellowAdjudicator // 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 }
YellowAdjudicatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*YellowAdjudicatorSession) Challenge ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) Checkpoint ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) ComputeReclaimEffects ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) ComputeReclaimEffects(sourceAllocations []ExitFormatAllocation, targetAllocations []ExitFormatAllocation, indexOfTargetInSource *big.Int) ([]ExitFormatAllocation, error)
ComputeReclaimEffects is a free data retrieval call binding the contract method 0x566d54c6.
Solidity: function compute_reclaim_effects((bytes32,uint256,uint8,bytes)[] sourceAllocations, (bytes32,uint256,uint8,bytes)[] targetAllocations, uint256 indexOfTargetInSource) pure returns((bytes32,uint256,uint8,bytes)[])
func (*YellowAdjudicatorSession) ComputeTransferEffectsAndInteractions ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) ComputeTransferEffectsAndInteractions(initialHoldings *big.Int, allocations []ExitFormatAllocation, indices []*big.Int) (struct { NewAllocations []ExitFormatAllocation AllocatesOnlyZeros bool ExitAllocations []ExitFormatAllocation TotalPayouts *big.Int }, error)
ComputeTransferEffectsAndInteractions is a free data retrieval call binding the contract method 0x11e9f178.
Solidity: function compute_transfer_effects_and_interactions(uint256 initialHoldings, (bytes32,uint256,uint8,bytes)[] allocations, uint256[] indices) pure returns((bytes32,uint256,uint8,bytes)[] newAllocations, bool allocatesOnlyZeros, (bytes32,uint256,uint8,bytes)[] exitAllocations, uint256 totalPayouts)
func (*YellowAdjudicatorSession) Conclude ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) ConcludeAndTransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) Deposit ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) Deposit(asset common.Address, channelId [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 channelId, uint256 expectedHeld, uint256 amount) payable returns()
func (*YellowAdjudicatorSession) Holdings ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) Holdings(arg0 common.Address, arg1 [32]byte) (*big.Int, error)
Holdings is a free data retrieval call binding the contract method 0x166e56cd.
Solidity: function holdings(address , bytes32 ) view returns(uint256)
func (*YellowAdjudicatorSession) Reclaim ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) StateIsSupported ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) StatusOf ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) StatusOf(arg0 [32]byte) ([32]byte, error)
StatusOf is a free data retrieval call binding the contract method 0xc7df14e2.
Solidity: function statusOf(bytes32 ) view returns(bytes32)
func (*YellowAdjudicatorSession) Transfer ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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 (*YellowAdjudicatorSession) TransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) 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()
func (*YellowAdjudicatorSession) UnpackStatus ¶
func (_YellowAdjudicator *YellowAdjudicatorSession) UnpackStatus(channelId [32]byte) (struct { TurnNumRecord *big.Int FinalizesAt *big.Int Fingerprint *big.Int }, error)
UnpackStatus is a free data retrieval call binding the contract method 0x552cfa50.
Solidity: function unpackStatus(bytes32 channelId) view returns(uint48 turnNumRecord, uint48 finalizesAt, uint160 fingerprint)
type YellowAdjudicatorTransactor ¶
type YellowAdjudicatorTransactor struct {
// contains filtered or unexported fields
}
YellowAdjudicatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewYellowAdjudicatorTransactor ¶
func NewYellowAdjudicatorTransactor(address common.Address, transactor bind.ContractTransactor) (*YellowAdjudicatorTransactor, error)
NewYellowAdjudicatorTransactor creates a new write-only instance of YellowAdjudicator, bound to a specific deployed contract.
func (*YellowAdjudicatorTransactor) Challenge ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) Checkpoint ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) Conclude ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) ConcludeAndTransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) Deposit ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) Deposit(opts *bind.TransactOpts, asset common.Address, channelId [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 channelId, uint256 expectedHeld, uint256 amount) payable returns()
func (*YellowAdjudicatorTransactor) Reclaim ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) Transfer ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 (*YellowAdjudicatorTransactor) TransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactor) 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 YellowAdjudicatorTransactorRaw ¶
type YellowAdjudicatorTransactorRaw struct {
Contract *YellowAdjudicatorTransactor // Generic write-only contract binding to access the raw methods on
}
YellowAdjudicatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*YellowAdjudicatorTransactorRaw) Transact ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YellowAdjudicatorTransactorRaw) Transfer ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorRaw) 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 YellowAdjudicatorTransactorSession ¶
type YellowAdjudicatorTransactorSession struct { Contract *YellowAdjudicatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
YellowAdjudicatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*YellowAdjudicatorTransactorSession) Challenge ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) Checkpoint ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) Conclude ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) ConcludeAndTransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) Deposit ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) Deposit(asset common.Address, channelId [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 channelId, uint256 expectedHeld, uint256 amount) payable returns()
func (*YellowAdjudicatorTransactorSession) Reclaim ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) Transfer ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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 (*YellowAdjudicatorTransactorSession) TransferAllAssets ¶
func (_YellowAdjudicator *YellowAdjudicatorTransactorSession) 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()