bindings

package
v0.0.0-...-5cda5f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssertionMapABI = AssertionMapMetaData.ABI

AssertionMapABI is the input ABI used to generate the binding from. Deprecated: Use AssertionMapMetaData.ABI instead.

View Source
var AssertionMapMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ChildInboxSizeMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rollup\",\"type\":\"address\"}],\"name\":\"NotRollup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SiblingStateHashExists\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"assertions\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"inboxSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"parent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposalTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numStakers\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"childInboxSize\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"inboxSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"parentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"createAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"deleteAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"deleteAssertionForBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getDeadline\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getInboxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getNumStakers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getParentID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getProposalTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"getStateHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"stakerAddress\",\"type\":\"address\"}],\"name\":\"isStaker\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rollupAddress\",\"type\":\"address\"}],\"name\":\"setRollupAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"stakerAddress\",\"type\":\"address\"}],\"name\":\"stakeOnAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AssertionMapMetaData contains all meta data concerning the AssertionMap contract.

View Source
var ChallengeABI = ChallengeMetaData.ABI

ChallengeABI is the input ABI used to generate the binding from. Deprecated: Use ChallengeMetaData.ABI instead.

View Source
var ChallengeMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"startState\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"midState\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"endState\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNum\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"challengedSegmentStart\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"challengedSegmentLength\",\"type\":\"uint256\"}],\"name\":\"Bisected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"winner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"loser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIChallenge.CompletionReason\",\"name\":\"reason\",\"type\":\"uint8\"}],\"name\":\"ChallengeCompleted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32[3]\",\"name\":\"bisection\",\"type\":\"bytes32[3]\"},{\"internalType\":\"uint256\",\"name\":\"challengedSegmentIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengedSegmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengedSegmentLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevChallengedSegmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevChallengedSegmentLength\",\"type\":\"uint256\"}],\"name\":\"bisectExecution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bisectionHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challenger\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengerTimeLeft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"result\",\"type\":\"bool\"}],\"name\":\"completeChallenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentBisected\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"startState\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"midState\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"endState\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"blockNum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengedSegmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengedSegmentLength\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentResponder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentResponderTimeLeft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defenderTimeLeft\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_defender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_challenger\",\"type\":\"address\"},{\"internalType\":\"contractIVerifierEntry\",\"name\":\"_verifier\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_resultReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_startInboxSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_startStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_endStateHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"checkStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_numSteps\",\"type\":\"uint256\"}],\"name\":\"initializeChallengeLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastMoveBlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"prevBisection\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollback\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setRollback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startInboxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timeout\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"turn\",\"outputs\":[{\"internalType\":\"enumChallenge.Turn\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"coinbase\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"gasPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"gas\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"v\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"r\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"s\",\"type\":\"uint256\"}],\"internalType\":\"structEVMTypesLib.Transaction\",\"name\":\"transaction\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"inputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"}],\"internalType\":\"structVerificationContext.Context\",\"name\":\"ctx\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"verifyType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"challengedStepIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevChallengedSegmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevChallengedSegmentLength\",\"type\":\"uint256\"}],\"name\":\"verifyOneStepProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"winner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ChallengeMetaData contains all meta data concerning the Challenge contract.

View Source
var RollupABI = RollupMetaData.ABI

RollupABI is the input ABI used to generate the binding from. Deprecated: Use RollupMetaData.ABI instead.

View Source
var RollupMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AssertionAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AssertionOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChallengePeriodPending\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChallengedStaker\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DifferentParent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyAssertion\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker1Challenge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"staker2Challenge\",\"type\":\"address\"}],\"name\":\"InDifferentChallenge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InboxReadLimitExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientStake\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinimumAssertionPeriodNotPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoStaker\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoUnresolvedAssertion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAllStaked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInChallenge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotStaked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ParentAssertionUnstaked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PreviousStateHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RedundantInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StakedOnUnconfirmedAssertion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StakerStakedOnTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StakersPresent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnproposedAssertion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"challengeAddr\",\"type\":\"address\"}],\"name\":\"AssertionChallenged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"AssertionConfirmed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"asserterAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"vmHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"inboxSize\",\"type\":\"uint256\"}],\"name\":\"AssertionCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"AssertionRejected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"StakerStaked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toAddAddresses\",\"type\":\"address[]\"}],\"name\":\"addToOperatorWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toAddAddresses\",\"type\":\"address[]\"}],\"name\":\"addToStakerWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"}],\"name\":\"advanceStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assertions\",\"outputs\":[{\"internalType\":\"contractAssertionMap\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseStakeAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[2]\",\"name\":\"players\",\"type\":\"address[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"assertionIDs\",\"type\":\"uint256[2]\"}],\"name\":\"challengeAssertion\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengeCtx\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"completed\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"challengeAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"defenderAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"challengerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"defenderAssertionID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengerAssertionID\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"winner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"loser\",\"type\":\"address\"}],\"name\":\"completeChallenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"confirmFirstUnresolvedAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"confirmedInboxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"vmHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"inboxSize\",\"type\":\"uint256\"}],\"name\":\"createAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"vmHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"inboxSize\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_batch\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"_shouldStartAtElement\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"createAssertionWithStateBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRequiredStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_verifier\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_libAddressManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_assertionMap\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minimumAssertionPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_baseStakeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_initialVMhash\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"stakerWhitelists\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"operatorWhitelists\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isStaked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastConfirmedAssertionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastCreatedAssertionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastResolvedAssertionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"libAddressManager\",\"outputs\":[{\"internalType\":\"contractLib_AddressManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumAssertionPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"numStakers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"operatorWhitelist\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"operatorslist\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"registers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rejectFirstUnresolvedAssertion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"batchIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"batchRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"batchSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevTotalElements\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structLib_BVMCodec.ChainBatchHeader\",\"name\":\"_batchHeader\",\"type\":\"tuple\"}],\"name\":\"rejectLatestCreatedAssertionWithBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toRemoveAddresses\",\"type\":\"address[]\"}],\"name\":\"removeFromOperatorWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toRemoveAddresses\",\"type\":\"address[]\"}],\"name\":\"removeFromStakerWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"removeOldZombies\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakerAddress\",\"type\":\"address\"}],\"name\":\"removeStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_shouldRollBack\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_shouldStartAtElement\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"rollbackL2Chain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakerWhitelist\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isStaked\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"amountStaked\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"assertionID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currentChallenge\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakerslist\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeAmount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verifier\",\"outputs\":[{\"internalType\":\"contractIVerifierEntry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawableFunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"zombies\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"stakerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lastAssertionID\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

RollupMetaData contains all meta data concerning the Rollup contract.

Functions

This section is empty.

Types

type AssertionMap

type AssertionMap struct {
	AssertionMapCaller     // Read-only binding to the contract
	AssertionMapTransactor // Write-only binding to the contract
	AssertionMapFilterer   // Log filterer for contract events
}

AssertionMap is an auto generated Go binding around an Ethereum contract.

func NewAssertionMap

func NewAssertionMap(address common.Address, backend bind.ContractBackend) (*AssertionMap, error)

NewAssertionMap creates a new instance of AssertionMap, bound to a specific deployed contract.

type AssertionMapCaller

type AssertionMapCaller struct {
	// contains filtered or unexported fields
}

AssertionMapCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewAssertionMapCaller

func NewAssertionMapCaller(address common.Address, caller bind.ContractCaller) (*AssertionMapCaller, error)

NewAssertionMapCaller creates a new read-only instance of AssertionMap, bound to a specific deployed contract.

func (*AssertionMapCaller) Assertions

func (_AssertionMap *AssertionMapCaller) Assertions(opts *bind.CallOpts, arg0 *big.Int) (struct {
	StateHash      [32]byte
	InboxSize      *big.Int
	Parent         *big.Int
	Deadline       *big.Int
	ProposalTime   *big.Int
	NumStakers     *big.Int
	ChildInboxSize *big.Int
}, error)

Assertions is a free data retrieval call binding the contract method 0x524232f6.

Solidity: function assertions(uint256 ) view returns(bytes32 stateHash, uint256 inboxSize, uint256 parent, uint256 deadline, uint256 proposalTime, uint256 numStakers, uint256 childInboxSize)

func (*AssertionMapCaller) GetDeadline

func (_AssertionMap *AssertionMapCaller) GetDeadline(opts *bind.CallOpts, assertionID *big.Int) (*big.Int, error)

GetDeadline is a free data retrieval call binding the contract method 0x82862275.

Solidity: function getDeadline(uint256 assertionID) view returns(uint256)

func (*AssertionMapCaller) GetInboxSize

func (_AssertionMap *AssertionMapCaller) GetInboxSize(opts *bind.CallOpts, assertionID *big.Int) (*big.Int, error)

GetInboxSize is a free data retrieval call binding the contract method 0x2b27e93b.

Solidity: function getInboxSize(uint256 assertionID) view returns(uint256)

func (*AssertionMapCaller) GetNumStakers

func (_AssertionMap *AssertionMapCaller) GetNumStakers(opts *bind.CallOpts, assertionID *big.Int) (*big.Int, error)

GetNumStakers is a free data retrieval call binding the contract method 0x366b2b69.

Solidity: function getNumStakers(uint256 assertionID) view returns(uint256)

func (*AssertionMapCaller) GetParentID

func (_AssertionMap *AssertionMapCaller) GetParentID(opts *bind.CallOpts, assertionID *big.Int) (*big.Int, error)

GetParentID is a free data retrieval call binding the contract method 0x30b94770.

Solidity: function getParentID(uint256 assertionID) view returns(uint256)

func (*AssertionMapCaller) GetProposalTime

func (_AssertionMap *AssertionMapCaller) GetProposalTime(opts *bind.CallOpts, assertionID *big.Int) (*big.Int, error)

GetProposalTime is a free data retrieval call binding the contract method 0x4e04886d.

Solidity: function getProposalTime(uint256 assertionID) view returns(uint256)

func (*AssertionMapCaller) GetStateHash

func (_AssertionMap *AssertionMapCaller) GetStateHash(opts *bind.CallOpts, assertionID *big.Int) ([32]byte, error)

GetStateHash is a free data retrieval call binding the contract method 0x54823e66.

Solidity: function getStateHash(uint256 assertionID) view returns(bytes32)

func (*AssertionMapCaller) IsStaker

func (_AssertionMap *AssertionMapCaller) IsStaker(opts *bind.CallOpts, assertionID *big.Int, stakerAddress common.Address) (bool, error)

IsStaker is a free data retrieval call binding the contract method 0x873fd089.

Solidity: function isStaker(uint256 assertionID, address stakerAddress) view returns(bool)

func (*AssertionMapCaller) RollupAddress

func (_AssertionMap *AssertionMapCaller) RollupAddress(opts *bind.CallOpts) (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

type AssertionMapCallerRaw

type AssertionMapCallerRaw struct {
	Contract *AssertionMapCaller // Generic read-only contract binding to access the raw methods on
}

AssertionMapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AssertionMapCallerRaw) Call

func (_AssertionMap *AssertionMapCallerRaw) 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 AssertionMapCallerSession

type AssertionMapCallerSession struct {
	Contract *AssertionMapCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

AssertionMapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*AssertionMapCallerSession) Assertions

func (_AssertionMap *AssertionMapCallerSession) Assertions(arg0 *big.Int) (struct {
	StateHash      [32]byte
	InboxSize      *big.Int
	Parent         *big.Int
	Deadline       *big.Int
	ProposalTime   *big.Int
	NumStakers     *big.Int
	ChildInboxSize *big.Int
}, error)

Assertions is a free data retrieval call binding the contract method 0x524232f6.

Solidity: function assertions(uint256 ) view returns(bytes32 stateHash, uint256 inboxSize, uint256 parent, uint256 deadline, uint256 proposalTime, uint256 numStakers, uint256 childInboxSize)

func (*AssertionMapCallerSession) GetDeadline

func (_AssertionMap *AssertionMapCallerSession) GetDeadline(assertionID *big.Int) (*big.Int, error)

GetDeadline is a free data retrieval call binding the contract method 0x82862275.

Solidity: function getDeadline(uint256 assertionID) view returns(uint256)

func (*AssertionMapCallerSession) GetInboxSize

func (_AssertionMap *AssertionMapCallerSession) GetInboxSize(assertionID *big.Int) (*big.Int, error)

GetInboxSize is a free data retrieval call binding the contract method 0x2b27e93b.

Solidity: function getInboxSize(uint256 assertionID) view returns(uint256)

func (*AssertionMapCallerSession) GetNumStakers

func (_AssertionMap *AssertionMapCallerSession) GetNumStakers(assertionID *big.Int) (*big.Int, error)

GetNumStakers is a free data retrieval call binding the contract method 0x366b2b69.

Solidity: function getNumStakers(uint256 assertionID) view returns(uint256)

func (*AssertionMapCallerSession) GetParentID

func (_AssertionMap *AssertionMapCallerSession) GetParentID(assertionID *big.Int) (*big.Int, error)

GetParentID is a free data retrieval call binding the contract method 0x30b94770.

Solidity: function getParentID(uint256 assertionID) view returns(uint256)

func (*AssertionMapCallerSession) GetProposalTime

func (_AssertionMap *AssertionMapCallerSession) GetProposalTime(assertionID *big.Int) (*big.Int, error)

GetProposalTime is a free data retrieval call binding the contract method 0x4e04886d.

Solidity: function getProposalTime(uint256 assertionID) view returns(uint256)

func (*AssertionMapCallerSession) GetStateHash

func (_AssertionMap *AssertionMapCallerSession) GetStateHash(assertionID *big.Int) ([32]byte, error)

GetStateHash is a free data retrieval call binding the contract method 0x54823e66.

Solidity: function getStateHash(uint256 assertionID) view returns(bytes32)

func (*AssertionMapCallerSession) IsStaker

func (_AssertionMap *AssertionMapCallerSession) IsStaker(assertionID *big.Int, stakerAddress common.Address) (bool, error)

IsStaker is a free data retrieval call binding the contract method 0x873fd089.

Solidity: function isStaker(uint256 assertionID, address stakerAddress) view returns(bool)

func (*AssertionMapCallerSession) RollupAddress

func (_AssertionMap *AssertionMapCallerSession) RollupAddress() (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

type AssertionMapFilterer

type AssertionMapFilterer struct {
	// contains filtered or unexported fields
}

AssertionMapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAssertionMapFilterer

func NewAssertionMapFilterer(address common.Address, filterer bind.ContractFilterer) (*AssertionMapFilterer, error)

NewAssertionMapFilterer creates a new log filterer instance of AssertionMap, bound to a specific deployed contract.

func (*AssertionMapFilterer) FilterInitialized

func (_AssertionMap *AssertionMapFilterer) FilterInitialized(opts *bind.FilterOpts) (*AssertionMapInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AssertionMapFilterer) ParseInitialized

func (_AssertionMap *AssertionMapFilterer) ParseInitialized(log types.Log) (*AssertionMapInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AssertionMapFilterer) WatchInitialized

func (_AssertionMap *AssertionMapFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AssertionMapInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type AssertionMapInitialized

type AssertionMapInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

AssertionMapInitialized represents a Initialized event raised by the AssertionMap contract.

type AssertionMapInitializedIterator

type AssertionMapInitializedIterator struct {
	Event *AssertionMapInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AssertionMapInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AssertionMap contract.

func (*AssertionMapInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*AssertionMapInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AssertionMapInitializedIterator) Next

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 AssertionMapRaw

type AssertionMapRaw struct {
	Contract *AssertionMap // Generic contract binding to access the raw methods on
}

AssertionMapRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*AssertionMapRaw) Call

func (_AssertionMap *AssertionMapRaw) 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 (*AssertionMapRaw) Transact

func (_AssertionMap *AssertionMapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AssertionMapRaw) Transfer

func (_AssertionMap *AssertionMapRaw) 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 AssertionMapSession

type AssertionMapSession struct {
	Contract     *AssertionMap     // 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
}

AssertionMapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*AssertionMapSession) Assertions

func (_AssertionMap *AssertionMapSession) Assertions(arg0 *big.Int) (struct {
	StateHash      [32]byte
	InboxSize      *big.Int
	Parent         *big.Int
	Deadline       *big.Int
	ProposalTime   *big.Int
	NumStakers     *big.Int
	ChildInboxSize *big.Int
}, error)

Assertions is a free data retrieval call binding the contract method 0x524232f6.

Solidity: function assertions(uint256 ) view returns(bytes32 stateHash, uint256 inboxSize, uint256 parent, uint256 deadline, uint256 proposalTime, uint256 numStakers, uint256 childInboxSize)

func (*AssertionMapSession) CreateAssertion

func (_AssertionMap *AssertionMapSession) CreateAssertion(assertionID *big.Int, stateHash [32]byte, inboxSize *big.Int, parentID *big.Int, deadline *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0x42281584.

Solidity: function createAssertion(uint256 assertionID, bytes32 stateHash, uint256 inboxSize, uint256 parentID, uint256 deadline) returns()

func (*AssertionMapSession) DeleteAssertion

func (_AssertionMap *AssertionMapSession) DeleteAssertion(assertionID *big.Int) (*types.Transaction, error)

DeleteAssertion is a paid mutator transaction binding the contract method 0xd8a4e5af.

Solidity: function deleteAssertion(uint256 assertionID) returns()

func (*AssertionMapSession) DeleteAssertionForBatch

func (_AssertionMap *AssertionMapSession) DeleteAssertionForBatch(assertionID *big.Int) (*types.Transaction, error)

DeleteAssertionForBatch is a paid mutator transaction binding the contract method 0xd0087d61.

Solidity: function deleteAssertionForBatch(uint256 assertionID) returns()

func (*AssertionMapSession) GetDeadline

func (_AssertionMap *AssertionMapSession) GetDeadline(assertionID *big.Int) (*big.Int, error)

GetDeadline is a free data retrieval call binding the contract method 0x82862275.

Solidity: function getDeadline(uint256 assertionID) view returns(uint256)

func (*AssertionMapSession) GetInboxSize

func (_AssertionMap *AssertionMapSession) GetInboxSize(assertionID *big.Int) (*big.Int, error)

GetInboxSize is a free data retrieval call binding the contract method 0x2b27e93b.

Solidity: function getInboxSize(uint256 assertionID) view returns(uint256)

func (*AssertionMapSession) GetNumStakers

func (_AssertionMap *AssertionMapSession) GetNumStakers(assertionID *big.Int) (*big.Int, error)

GetNumStakers is a free data retrieval call binding the contract method 0x366b2b69.

Solidity: function getNumStakers(uint256 assertionID) view returns(uint256)

func (*AssertionMapSession) GetParentID

func (_AssertionMap *AssertionMapSession) GetParentID(assertionID *big.Int) (*big.Int, error)

GetParentID is a free data retrieval call binding the contract method 0x30b94770.

Solidity: function getParentID(uint256 assertionID) view returns(uint256)

func (*AssertionMapSession) GetProposalTime

func (_AssertionMap *AssertionMapSession) GetProposalTime(assertionID *big.Int) (*big.Int, error)

GetProposalTime is a free data retrieval call binding the contract method 0x4e04886d.

Solidity: function getProposalTime(uint256 assertionID) view returns(uint256)

func (*AssertionMapSession) GetStateHash

func (_AssertionMap *AssertionMapSession) GetStateHash(assertionID *big.Int) ([32]byte, error)

GetStateHash is a free data retrieval call binding the contract method 0x54823e66.

Solidity: function getStateHash(uint256 assertionID) view returns(bytes32)

func (*AssertionMapSession) Initialize

func (_AssertionMap *AssertionMapSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*AssertionMapSession) IsStaker

func (_AssertionMap *AssertionMapSession) IsStaker(assertionID *big.Int, stakerAddress common.Address) (bool, error)

IsStaker is a free data retrieval call binding the contract method 0x873fd089.

Solidity: function isStaker(uint256 assertionID, address stakerAddress) view returns(bool)

func (*AssertionMapSession) RollupAddress

func (_AssertionMap *AssertionMapSession) RollupAddress() (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

func (*AssertionMapSession) SetRollupAddress

func (_AssertionMap *AssertionMapSession) SetRollupAddress(_rollupAddress common.Address) (*types.Transaction, error)

SetRollupAddress is a paid mutator transaction binding the contract method 0x07663706.

Solidity: function setRollupAddress(address _rollupAddress) returns()

func (*AssertionMapSession) StakeOnAssertion

func (_AssertionMap *AssertionMapSession) StakeOnAssertion(assertionID *big.Int, stakerAddress common.Address) (*types.Transaction, error)

StakeOnAssertion is a paid mutator transaction binding the contract method 0xa832c3ae.

Solidity: function stakeOnAssertion(uint256 assertionID, address stakerAddress) returns()

type AssertionMapTransactor

type AssertionMapTransactor struct {
	// contains filtered or unexported fields
}

AssertionMapTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAssertionMapTransactor

func NewAssertionMapTransactor(address common.Address, transactor bind.ContractTransactor) (*AssertionMapTransactor, error)

NewAssertionMapTransactor creates a new write-only instance of AssertionMap, bound to a specific deployed contract.

func (*AssertionMapTransactor) CreateAssertion

func (_AssertionMap *AssertionMapTransactor) CreateAssertion(opts *bind.TransactOpts, assertionID *big.Int, stateHash [32]byte, inboxSize *big.Int, parentID *big.Int, deadline *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0x42281584.

Solidity: function createAssertion(uint256 assertionID, bytes32 stateHash, uint256 inboxSize, uint256 parentID, uint256 deadline) returns()

func (*AssertionMapTransactor) DeleteAssertion

func (_AssertionMap *AssertionMapTransactor) DeleteAssertion(opts *bind.TransactOpts, assertionID *big.Int) (*types.Transaction, error)

DeleteAssertion is a paid mutator transaction binding the contract method 0xd8a4e5af.

Solidity: function deleteAssertion(uint256 assertionID) returns()

func (*AssertionMapTransactor) DeleteAssertionForBatch

func (_AssertionMap *AssertionMapTransactor) DeleteAssertionForBatch(opts *bind.TransactOpts, assertionID *big.Int) (*types.Transaction, error)

DeleteAssertionForBatch is a paid mutator transaction binding the contract method 0xd0087d61.

Solidity: function deleteAssertionForBatch(uint256 assertionID) returns()

func (*AssertionMapTransactor) Initialize

func (_AssertionMap *AssertionMapTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*AssertionMapTransactor) SetRollupAddress

func (_AssertionMap *AssertionMapTransactor) SetRollupAddress(opts *bind.TransactOpts, _rollupAddress common.Address) (*types.Transaction, error)

SetRollupAddress is a paid mutator transaction binding the contract method 0x07663706.

Solidity: function setRollupAddress(address _rollupAddress) returns()

func (*AssertionMapTransactor) StakeOnAssertion

func (_AssertionMap *AssertionMapTransactor) StakeOnAssertion(opts *bind.TransactOpts, assertionID *big.Int, stakerAddress common.Address) (*types.Transaction, error)

StakeOnAssertion is a paid mutator transaction binding the contract method 0xa832c3ae.

Solidity: function stakeOnAssertion(uint256 assertionID, address stakerAddress) returns()

type AssertionMapTransactorRaw

type AssertionMapTransactorRaw struct {
	Contract *AssertionMapTransactor // Generic write-only contract binding to access the raw methods on
}

AssertionMapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AssertionMapTransactorRaw) Transact

func (_AssertionMap *AssertionMapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AssertionMapTransactorRaw) Transfer

func (_AssertionMap *AssertionMapTransactorRaw) 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 AssertionMapTransactorSession

type AssertionMapTransactorSession struct {
	Contract     *AssertionMapTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

AssertionMapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*AssertionMapTransactorSession) CreateAssertion

func (_AssertionMap *AssertionMapTransactorSession) CreateAssertion(assertionID *big.Int, stateHash [32]byte, inboxSize *big.Int, parentID *big.Int, deadline *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0x42281584.

Solidity: function createAssertion(uint256 assertionID, bytes32 stateHash, uint256 inboxSize, uint256 parentID, uint256 deadline) returns()

func (*AssertionMapTransactorSession) DeleteAssertion

func (_AssertionMap *AssertionMapTransactorSession) DeleteAssertion(assertionID *big.Int) (*types.Transaction, error)

DeleteAssertion is a paid mutator transaction binding the contract method 0xd8a4e5af.

Solidity: function deleteAssertion(uint256 assertionID) returns()

func (*AssertionMapTransactorSession) DeleteAssertionForBatch

func (_AssertionMap *AssertionMapTransactorSession) DeleteAssertionForBatch(assertionID *big.Int) (*types.Transaction, error)

DeleteAssertionForBatch is a paid mutator transaction binding the contract method 0xd0087d61.

Solidity: function deleteAssertionForBatch(uint256 assertionID) returns()

func (*AssertionMapTransactorSession) Initialize

func (_AssertionMap *AssertionMapTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*AssertionMapTransactorSession) SetRollupAddress

func (_AssertionMap *AssertionMapTransactorSession) SetRollupAddress(_rollupAddress common.Address) (*types.Transaction, error)

SetRollupAddress is a paid mutator transaction binding the contract method 0x07663706.

Solidity: function setRollupAddress(address _rollupAddress) returns()

func (*AssertionMapTransactorSession) StakeOnAssertion

func (_AssertionMap *AssertionMapTransactorSession) StakeOnAssertion(assertionID *big.Int, stakerAddress common.Address) (*types.Transaction, error)

StakeOnAssertion is a paid mutator transaction binding the contract method 0xa832c3ae.

Solidity: function stakeOnAssertion(uint256 assertionID, address stakerAddress) returns()

type Challenge

type Challenge struct {
	ChallengeCaller     // Read-only binding to the contract
	ChallengeTransactor // Write-only binding to the contract
	ChallengeFilterer   // Log filterer for contract events
}

Challenge is an auto generated Go binding around an Ethereum contract.

func NewChallenge

func NewChallenge(address common.Address, backend bind.ContractBackend) (*Challenge, error)

NewChallenge creates a new instance of Challenge, bound to a specific deployed contract.

type ChallengeBisected

type ChallengeBisected struct {
	StartState              [32]byte
	MidState                [32]byte
	EndState                [32]byte
	BlockNum                *big.Int
	BlockTime               *big.Int
	ChallengedSegmentStart  *big.Int
	ChallengedSegmentLength *big.Int
	Raw                     types.Log // Blockchain specific contextual infos
}

ChallengeBisected represents a Bisected event raised by the Challenge contract.

type ChallengeBisectedIterator

type ChallengeBisectedIterator struct {
	Event *ChallengeBisected // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ChallengeBisectedIterator is returned from FilterBisected and is used to iterate over the raw logs and unpacked data for Bisected events raised by the Challenge contract.

func (*ChallengeBisectedIterator) Close

func (it *ChallengeBisectedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ChallengeBisectedIterator) Error

func (it *ChallengeBisectedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChallengeBisectedIterator) Next

func (it *ChallengeBisectedIterator) 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 ChallengeCaller

type ChallengeCaller struct {
	// contains filtered or unexported fields
}

ChallengeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewChallengeCaller

func NewChallengeCaller(address common.Address, caller bind.ContractCaller) (*ChallengeCaller, error)

NewChallengeCaller creates a new read-only instance of Challenge, bound to a specific deployed contract.

func (*ChallengeCaller) BisectionHash

func (_Challenge *ChallengeCaller) BisectionHash(opts *bind.CallOpts) ([32]byte, error)

BisectionHash is a free data retrieval call binding the contract method 0x2a51f6f7.

Solidity: function bisectionHash() view returns(bytes32)

func (*ChallengeCaller) Challenger

func (_Challenge *ChallengeCaller) Challenger(opts *bind.CallOpts) (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*ChallengeCaller) ChallengerTimeLeft

func (_Challenge *ChallengeCaller) ChallengerTimeLeft(opts *bind.CallOpts) (*big.Int, error)

ChallengerTimeLeft is a free data retrieval call binding the contract method 0x41e8510c.

Solidity: function challengerTimeLeft() view returns(uint256)

func (*ChallengeCaller) CurrentBisected

func (_Challenge *ChallengeCaller) CurrentBisected(opts *bind.CallOpts) (struct {
	StartState              [32]byte
	MidState                [32]byte
	EndState                [32]byte
	BlockNum                *big.Int
	BlockTime               *big.Int
	ChallengedSegmentStart  *big.Int
	ChallengedSegmentLength *big.Int
}, error)

CurrentBisected is a free data retrieval call binding the contract method 0x732e6961.

Solidity: function currentBisected() view returns(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeCaller) CurrentResponder

func (_Challenge *ChallengeCaller) CurrentResponder(opts *bind.CallOpts) (common.Address, error)

CurrentResponder is a free data retrieval call binding the contract method 0x8a8cd218.

Solidity: function currentResponder() view returns(address)

func (*ChallengeCaller) CurrentResponderTimeLeft

func (_Challenge *ChallengeCaller) CurrentResponderTimeLeft(opts *bind.CallOpts) (*big.Int, error)

CurrentResponderTimeLeft is a free data retrieval call binding the contract method 0xe87e3589.

Solidity: function currentResponderTimeLeft() view returns(uint256)

func (*ChallengeCaller) Defender

func (_Challenge *ChallengeCaller) Defender(opts *bind.CallOpts) (common.Address, error)

Defender is a free data retrieval call binding the contract method 0x7f4c91c5.

Solidity: function defender() view returns(address)

func (*ChallengeCaller) DefenderTimeLeft

func (_Challenge *ChallengeCaller) DefenderTimeLeft(opts *bind.CallOpts) (*big.Int, error)

DefenderTimeLeft is a free data retrieval call binding the contract method 0x5f41e3d6.

Solidity: function defenderTimeLeft() view returns(uint256)

func (*ChallengeCaller) LastMoveBlockTime

func (_Challenge *ChallengeCaller) LastMoveBlockTime(opts *bind.CallOpts) (*big.Int, error)

LastMoveBlockTime is a free data retrieval call binding the contract method 0xed5b1303.

Solidity: function lastMoveBlockTime() view returns(uint256)

func (*ChallengeCaller) PrevBisection

func (_Challenge *ChallengeCaller) PrevBisection(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

PrevBisection is a free data retrieval call binding the contract method 0xafeae965.

Solidity: function prevBisection(uint256 ) view returns(bytes32)

func (*ChallengeCaller) Rollback

func (_Challenge *ChallengeCaller) Rollback(opts *bind.CallOpts) (bool, error)

Rollback is a free data retrieval call binding the contract method 0x9afd9d78.

Solidity: function rollback() view returns(bool)

func (*ChallengeCaller) StartInboxSize

func (_Challenge *ChallengeCaller) StartInboxSize(opts *bind.CallOpts) (*big.Int, error)

StartInboxSize is a free data retrieval call binding the contract method 0xfaeff41b.

Solidity: function startInboxSize() view returns(uint256)

func (*ChallengeCaller) Turn

func (_Challenge *ChallengeCaller) Turn(opts *bind.CallOpts) (uint8, error)

Turn is a free data retrieval call binding the contract method 0x8b299903.

Solidity: function turn() view returns(uint8)

func (*ChallengeCaller) Winner

func (_Challenge *ChallengeCaller) Winner(opts *bind.CallOpts) (common.Address, error)

Winner is a free data retrieval call binding the contract method 0xdfbf53ae.

Solidity: function winner() view returns(address)

type ChallengeCallerRaw

type ChallengeCallerRaw struct {
	Contract *ChallengeCaller // Generic read-only contract binding to access the raw methods on
}

ChallengeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ChallengeCallerRaw) Call

func (_Challenge *ChallengeCallerRaw) 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 ChallengeCallerSession

type ChallengeCallerSession struct {
	Contract *ChallengeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

ChallengeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ChallengeCallerSession) BisectionHash

func (_Challenge *ChallengeCallerSession) BisectionHash() ([32]byte, error)

BisectionHash is a free data retrieval call binding the contract method 0x2a51f6f7.

Solidity: function bisectionHash() view returns(bytes32)

func (*ChallengeCallerSession) Challenger

func (_Challenge *ChallengeCallerSession) Challenger() (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*ChallengeCallerSession) ChallengerTimeLeft

func (_Challenge *ChallengeCallerSession) ChallengerTimeLeft() (*big.Int, error)

ChallengerTimeLeft is a free data retrieval call binding the contract method 0x41e8510c.

Solidity: function challengerTimeLeft() view returns(uint256)

func (*ChallengeCallerSession) CurrentBisected

func (_Challenge *ChallengeCallerSession) CurrentBisected() (struct {
	StartState              [32]byte
	MidState                [32]byte
	EndState                [32]byte
	BlockNum                *big.Int
	BlockTime               *big.Int
	ChallengedSegmentStart  *big.Int
	ChallengedSegmentLength *big.Int
}, error)

CurrentBisected is a free data retrieval call binding the contract method 0x732e6961.

Solidity: function currentBisected() view returns(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeCallerSession) CurrentResponder

func (_Challenge *ChallengeCallerSession) CurrentResponder() (common.Address, error)

CurrentResponder is a free data retrieval call binding the contract method 0x8a8cd218.

Solidity: function currentResponder() view returns(address)

func (*ChallengeCallerSession) CurrentResponderTimeLeft

func (_Challenge *ChallengeCallerSession) CurrentResponderTimeLeft() (*big.Int, error)

CurrentResponderTimeLeft is a free data retrieval call binding the contract method 0xe87e3589.

Solidity: function currentResponderTimeLeft() view returns(uint256)

func (*ChallengeCallerSession) Defender

func (_Challenge *ChallengeCallerSession) Defender() (common.Address, error)

Defender is a free data retrieval call binding the contract method 0x7f4c91c5.

Solidity: function defender() view returns(address)

func (*ChallengeCallerSession) DefenderTimeLeft

func (_Challenge *ChallengeCallerSession) DefenderTimeLeft() (*big.Int, error)

DefenderTimeLeft is a free data retrieval call binding the contract method 0x5f41e3d6.

Solidity: function defenderTimeLeft() view returns(uint256)

func (*ChallengeCallerSession) LastMoveBlockTime

func (_Challenge *ChallengeCallerSession) LastMoveBlockTime() (*big.Int, error)

LastMoveBlockTime is a free data retrieval call binding the contract method 0xed5b1303.

Solidity: function lastMoveBlockTime() view returns(uint256)

func (*ChallengeCallerSession) PrevBisection

func (_Challenge *ChallengeCallerSession) PrevBisection(arg0 *big.Int) ([32]byte, error)

PrevBisection is a free data retrieval call binding the contract method 0xafeae965.

Solidity: function prevBisection(uint256 ) view returns(bytes32)

func (*ChallengeCallerSession) Rollback

func (_Challenge *ChallengeCallerSession) Rollback() (bool, error)

Rollback is a free data retrieval call binding the contract method 0x9afd9d78.

Solidity: function rollback() view returns(bool)

func (*ChallengeCallerSession) StartInboxSize

func (_Challenge *ChallengeCallerSession) StartInboxSize() (*big.Int, error)

StartInboxSize is a free data retrieval call binding the contract method 0xfaeff41b.

Solidity: function startInboxSize() view returns(uint256)

func (*ChallengeCallerSession) Turn

func (_Challenge *ChallengeCallerSession) Turn() (uint8, error)

Turn is a free data retrieval call binding the contract method 0x8b299903.

Solidity: function turn() view returns(uint8)

func (*ChallengeCallerSession) Winner

func (_Challenge *ChallengeCallerSession) Winner() (common.Address, error)

Winner is a free data retrieval call binding the contract method 0xdfbf53ae.

Solidity: function winner() view returns(address)

type ChallengeChallengeCompleted

type ChallengeChallengeCompleted struct {
	Winner common.Address
	Loser  common.Address
	Reason uint8
	Raw    types.Log // Blockchain specific contextual infos
}

ChallengeChallengeCompleted represents a ChallengeCompleted event raised by the Challenge contract.

type ChallengeChallengeCompletedIterator

type ChallengeChallengeCompletedIterator struct {
	Event *ChallengeChallengeCompleted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ChallengeChallengeCompletedIterator is returned from FilterChallengeCompleted and is used to iterate over the raw logs and unpacked data for ChallengeCompleted events raised by the Challenge contract.

func (*ChallengeChallengeCompletedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ChallengeChallengeCompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChallengeChallengeCompletedIterator) Next

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 ChallengeFilterer

type ChallengeFilterer struct {
	// contains filtered or unexported fields
}

ChallengeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewChallengeFilterer

func NewChallengeFilterer(address common.Address, filterer bind.ContractFilterer) (*ChallengeFilterer, error)

NewChallengeFilterer creates a new log filterer instance of Challenge, bound to a specific deployed contract.

func (*ChallengeFilterer) FilterBisected

func (_Challenge *ChallengeFilterer) FilterBisected(opts *bind.FilterOpts) (*ChallengeBisectedIterator, error)

FilterBisected is a free log retrieval operation binding the contract event 0x71809f4d4f7bf3c208a85ccd3c922c984024f8e3cef51e3d03ae677e4217097d.

Solidity: event Bisected(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeFilterer) FilterChallengeCompleted

func (_Challenge *ChallengeFilterer) FilterChallengeCompleted(opts *bind.FilterOpts) (*ChallengeChallengeCompletedIterator, error)

FilterChallengeCompleted is a free log retrieval operation binding the contract event 0x03f929a9a6b1f0aef5e43cb12b56f862da97ec3de3fda02a52e85f9f3974fb6a.

Solidity: event ChallengeCompleted(address winner, address loser, uint8 reason)

func (*ChallengeFilterer) ParseBisected

func (_Challenge *ChallengeFilterer) ParseBisected(log types.Log) (*ChallengeBisected, error)

ParseBisected is a log parse operation binding the contract event 0x71809f4d4f7bf3c208a85ccd3c922c984024f8e3cef51e3d03ae677e4217097d.

Solidity: event Bisected(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeFilterer) ParseChallengeCompleted

func (_Challenge *ChallengeFilterer) ParseChallengeCompleted(log types.Log) (*ChallengeChallengeCompleted, error)

ParseChallengeCompleted is a log parse operation binding the contract event 0x03f929a9a6b1f0aef5e43cb12b56f862da97ec3de3fda02a52e85f9f3974fb6a.

Solidity: event ChallengeCompleted(address winner, address loser, uint8 reason)

func (*ChallengeFilterer) WatchBisected

func (_Challenge *ChallengeFilterer) WatchBisected(opts *bind.WatchOpts, sink chan<- *ChallengeBisected) (event.Subscription, error)

WatchBisected is a free log subscription operation binding the contract event 0x71809f4d4f7bf3c208a85ccd3c922c984024f8e3cef51e3d03ae677e4217097d.

Solidity: event Bisected(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeFilterer) WatchChallengeCompleted

func (_Challenge *ChallengeFilterer) WatchChallengeCompleted(opts *bind.WatchOpts, sink chan<- *ChallengeChallengeCompleted) (event.Subscription, error)

WatchChallengeCompleted is a free log subscription operation binding the contract event 0x03f929a9a6b1f0aef5e43cb12b56f862da97ec3de3fda02a52e85f9f3974fb6a.

Solidity: event ChallengeCompleted(address winner, address loser, uint8 reason)

type ChallengeRaw

type ChallengeRaw struct {
	Contract *Challenge // Generic contract binding to access the raw methods on
}

ChallengeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ChallengeRaw) Call

func (_Challenge *ChallengeRaw) 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 (*ChallengeRaw) Transact

func (_Challenge *ChallengeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ChallengeRaw) Transfer

func (_Challenge *ChallengeRaw) 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 ChallengeSession

type ChallengeSession struct {
	Contract     *Challenge        // 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
}

ChallengeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ChallengeSession) BisectExecution

func (_Challenge *ChallengeSession) BisectExecution(bisection [3][32]byte, challengedSegmentIndex *big.Int, challengedSegmentStart *big.Int, challengedSegmentLength *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

BisectExecution is a paid mutator transaction binding the contract method 0x8f2400a8.

Solidity: function bisectExecution(bytes32[3] bisection, uint256 challengedSegmentIndex, uint256 challengedSegmentStart, uint256 challengedSegmentLength, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

func (*ChallengeSession) BisectionHash

func (_Challenge *ChallengeSession) BisectionHash() ([32]byte, error)

BisectionHash is a free data retrieval call binding the contract method 0x2a51f6f7.

Solidity: function bisectionHash() view returns(bytes32)

func (*ChallengeSession) Challenger

func (_Challenge *ChallengeSession) Challenger() (common.Address, error)

Challenger is a free data retrieval call binding the contract method 0x534db0e2.

Solidity: function challenger() view returns(address)

func (*ChallengeSession) ChallengerTimeLeft

func (_Challenge *ChallengeSession) ChallengerTimeLeft() (*big.Int, error)

ChallengerTimeLeft is a free data retrieval call binding the contract method 0x41e8510c.

Solidity: function challengerTimeLeft() view returns(uint256)

func (*ChallengeSession) CompleteChallenge

func (_Challenge *ChallengeSession) CompleteChallenge(result bool) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xf2858aa3.

Solidity: function completeChallenge(bool result) returns()

func (*ChallengeSession) CurrentBisected

func (_Challenge *ChallengeSession) CurrentBisected() (struct {
	StartState              [32]byte
	MidState                [32]byte
	EndState                [32]byte
	BlockNum                *big.Int
	BlockTime               *big.Int
	ChallengedSegmentStart  *big.Int
	ChallengedSegmentLength *big.Int
}, error)

CurrentBisected is a free data retrieval call binding the contract method 0x732e6961.

Solidity: function currentBisected() view returns(bytes32 startState, bytes32 midState, bytes32 endState, uint256 blockNum, uint256 blockTime, uint256 challengedSegmentStart, uint256 challengedSegmentLength)

func (*ChallengeSession) CurrentResponder

func (_Challenge *ChallengeSession) CurrentResponder() (common.Address, error)

CurrentResponder is a free data retrieval call binding the contract method 0x8a8cd218.

Solidity: function currentResponder() view returns(address)

func (*ChallengeSession) CurrentResponderTimeLeft

func (_Challenge *ChallengeSession) CurrentResponderTimeLeft() (*big.Int, error)

CurrentResponderTimeLeft is a free data retrieval call binding the contract method 0xe87e3589.

Solidity: function currentResponderTimeLeft() view returns(uint256)

func (*ChallengeSession) Defender

func (_Challenge *ChallengeSession) Defender() (common.Address, error)

Defender is a free data retrieval call binding the contract method 0x7f4c91c5.

Solidity: function defender() view returns(address)

func (*ChallengeSession) DefenderTimeLeft

func (_Challenge *ChallengeSession) DefenderTimeLeft() (*big.Int, error)

DefenderTimeLeft is a free data retrieval call binding the contract method 0x5f41e3d6.

Solidity: function defenderTimeLeft() view returns(uint256)

func (*ChallengeSession) Initialize

func (_Challenge *ChallengeSession) Initialize(_defender common.Address, _challenger common.Address, _verifier common.Address, _resultReceiver common.Address, _startInboxSize *big.Int, _startStateHash [32]byte, _endStateHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xabf48013.

Solidity: function initialize(address _defender, address _challenger, address _verifier, address _resultReceiver, uint256 _startInboxSize, bytes32 _startStateHash, bytes32 _endStateHash) returns()

func (*ChallengeSession) InitializeChallengeLength

func (_Challenge *ChallengeSession) InitializeChallengeLength(checkStateHash [32]byte, _numSteps *big.Int) (*types.Transaction, error)

InitializeChallengeLength is a paid mutator transaction binding the contract method 0x18ef160d.

Solidity: function initializeChallengeLength(bytes32 checkStateHash, uint256 _numSteps) returns()

func (*ChallengeSession) LastMoveBlockTime

func (_Challenge *ChallengeSession) LastMoveBlockTime() (*big.Int, error)

LastMoveBlockTime is a free data retrieval call binding the contract method 0xed5b1303.

Solidity: function lastMoveBlockTime() view returns(uint256)

func (*ChallengeSession) PrevBisection

func (_Challenge *ChallengeSession) PrevBisection(arg0 *big.Int) ([32]byte, error)

PrevBisection is a free data retrieval call binding the contract method 0xafeae965.

Solidity: function prevBisection(uint256 ) view returns(bytes32)

func (*ChallengeSession) Rollback

func (_Challenge *ChallengeSession) Rollback() (bool, error)

Rollback is a free data retrieval call binding the contract method 0x9afd9d78.

Solidity: function rollback() view returns(bool)

func (*ChallengeSession) SetRollback

func (_Challenge *ChallengeSession) SetRollback() (*types.Transaction, error)

SetRollback is a paid mutator transaction binding the contract method 0x631acced.

Solidity: function setRollback() returns()

func (*ChallengeSession) StartInboxSize

func (_Challenge *ChallengeSession) StartInboxSize() (*big.Int, error)

StartInboxSize is a free data retrieval call binding the contract method 0xfaeff41b.

Solidity: function startInboxSize() view returns(uint256)

func (*ChallengeSession) Timeout

func (_Challenge *ChallengeSession) Timeout() (*types.Transaction, error)

Timeout is a paid mutator transaction binding the contract method 0x70dea79a.

Solidity: function timeout() returns()

func (*ChallengeSession) Turn

func (_Challenge *ChallengeSession) Turn() (uint8, error)

Turn is a free data retrieval call binding the contract method 0x8b299903.

Solidity: function turn() view returns(uint8)

func (*ChallengeSession) VerifyOneStepProof

func (_Challenge *ChallengeSession) VerifyOneStepProof(ctx VerificationContextContext, verifyType uint8, proof []byte, challengedStepIndex *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

VerifyOneStepProof is a paid mutator transaction binding the contract method 0xf03a7fcb.

Solidity: function verifyOneStepProof((address,uint256,uint256,address,(uint64,uint256,uint64,address,uint256,bytes,uint256,uint256,uint256),bytes32,bytes32) ctx, uint8 verifyType, bytes proof, uint256 challengedStepIndex, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

func (*ChallengeSession) Winner

func (_Challenge *ChallengeSession) Winner() (common.Address, error)

Winner is a free data retrieval call binding the contract method 0xdfbf53ae.

Solidity: function winner() view returns(address)

type ChallengeTransactor

type ChallengeTransactor struct {
	// contains filtered or unexported fields
}

ChallengeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewChallengeTransactor

func NewChallengeTransactor(address common.Address, transactor bind.ContractTransactor) (*ChallengeTransactor, error)

NewChallengeTransactor creates a new write-only instance of Challenge, bound to a specific deployed contract.

func (*ChallengeTransactor) BisectExecution

func (_Challenge *ChallengeTransactor) BisectExecution(opts *bind.TransactOpts, bisection [3][32]byte, challengedSegmentIndex *big.Int, challengedSegmentStart *big.Int, challengedSegmentLength *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

BisectExecution is a paid mutator transaction binding the contract method 0x8f2400a8.

Solidity: function bisectExecution(bytes32[3] bisection, uint256 challengedSegmentIndex, uint256 challengedSegmentStart, uint256 challengedSegmentLength, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

func (*ChallengeTransactor) CompleteChallenge

func (_Challenge *ChallengeTransactor) CompleteChallenge(opts *bind.TransactOpts, result bool) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xf2858aa3.

Solidity: function completeChallenge(bool result) returns()

func (*ChallengeTransactor) Initialize

func (_Challenge *ChallengeTransactor) Initialize(opts *bind.TransactOpts, _defender common.Address, _challenger common.Address, _verifier common.Address, _resultReceiver common.Address, _startInboxSize *big.Int, _startStateHash [32]byte, _endStateHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xabf48013.

Solidity: function initialize(address _defender, address _challenger, address _verifier, address _resultReceiver, uint256 _startInboxSize, bytes32 _startStateHash, bytes32 _endStateHash) returns()

func (*ChallengeTransactor) InitializeChallengeLength

func (_Challenge *ChallengeTransactor) InitializeChallengeLength(opts *bind.TransactOpts, checkStateHash [32]byte, _numSteps *big.Int) (*types.Transaction, error)

InitializeChallengeLength is a paid mutator transaction binding the contract method 0x18ef160d.

Solidity: function initializeChallengeLength(bytes32 checkStateHash, uint256 _numSteps) returns()

func (*ChallengeTransactor) SetRollback

func (_Challenge *ChallengeTransactor) SetRollback(opts *bind.TransactOpts) (*types.Transaction, error)

SetRollback is a paid mutator transaction binding the contract method 0x631acced.

Solidity: function setRollback() returns()

func (*ChallengeTransactor) Timeout

func (_Challenge *ChallengeTransactor) Timeout(opts *bind.TransactOpts) (*types.Transaction, error)

Timeout is a paid mutator transaction binding the contract method 0x70dea79a.

Solidity: function timeout() returns()

func (*ChallengeTransactor) VerifyOneStepProof

func (_Challenge *ChallengeTransactor) VerifyOneStepProof(opts *bind.TransactOpts, ctx VerificationContextContext, verifyType uint8, proof []byte, challengedStepIndex *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

VerifyOneStepProof is a paid mutator transaction binding the contract method 0xf03a7fcb.

Solidity: function verifyOneStepProof((address,uint256,uint256,address,(uint64,uint256,uint64,address,uint256,bytes,uint256,uint256,uint256),bytes32,bytes32) ctx, uint8 verifyType, bytes proof, uint256 challengedStepIndex, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

type ChallengeTransactorRaw

type ChallengeTransactorRaw struct {
	Contract *ChallengeTransactor // Generic write-only contract binding to access the raw methods on
}

ChallengeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ChallengeTransactorRaw) Transact

func (_Challenge *ChallengeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ChallengeTransactorRaw) Transfer

func (_Challenge *ChallengeTransactorRaw) 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 ChallengeTransactorSession

type ChallengeTransactorSession struct {
	Contract     *ChallengeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

ChallengeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ChallengeTransactorSession) BisectExecution

func (_Challenge *ChallengeTransactorSession) BisectExecution(bisection [3][32]byte, challengedSegmentIndex *big.Int, challengedSegmentStart *big.Int, challengedSegmentLength *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

BisectExecution is a paid mutator transaction binding the contract method 0x8f2400a8.

Solidity: function bisectExecution(bytes32[3] bisection, uint256 challengedSegmentIndex, uint256 challengedSegmentStart, uint256 challengedSegmentLength, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

func (*ChallengeTransactorSession) CompleteChallenge

func (_Challenge *ChallengeTransactorSession) CompleteChallenge(result bool) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xf2858aa3.

Solidity: function completeChallenge(bool result) returns()

func (*ChallengeTransactorSession) Initialize

func (_Challenge *ChallengeTransactorSession) Initialize(_defender common.Address, _challenger common.Address, _verifier common.Address, _resultReceiver common.Address, _startInboxSize *big.Int, _startStateHash [32]byte, _endStateHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xabf48013.

Solidity: function initialize(address _defender, address _challenger, address _verifier, address _resultReceiver, uint256 _startInboxSize, bytes32 _startStateHash, bytes32 _endStateHash) returns()

func (*ChallengeTransactorSession) InitializeChallengeLength

func (_Challenge *ChallengeTransactorSession) InitializeChallengeLength(checkStateHash [32]byte, _numSteps *big.Int) (*types.Transaction, error)

InitializeChallengeLength is a paid mutator transaction binding the contract method 0x18ef160d.

Solidity: function initializeChallengeLength(bytes32 checkStateHash, uint256 _numSteps) returns()

func (*ChallengeTransactorSession) SetRollback

func (_Challenge *ChallengeTransactorSession) SetRollback() (*types.Transaction, error)

SetRollback is a paid mutator transaction binding the contract method 0x631acced.

Solidity: function setRollback() returns()

func (*ChallengeTransactorSession) Timeout

func (_Challenge *ChallengeTransactorSession) Timeout() (*types.Transaction, error)

Timeout is a paid mutator transaction binding the contract method 0x70dea79a.

Solidity: function timeout() returns()

func (*ChallengeTransactorSession) VerifyOneStepProof

func (_Challenge *ChallengeTransactorSession) VerifyOneStepProof(ctx VerificationContextContext, verifyType uint8, proof []byte, challengedStepIndex *big.Int, prevChallengedSegmentStart *big.Int, prevChallengedSegmentLength *big.Int) (*types.Transaction, error)

VerifyOneStepProof is a paid mutator transaction binding the contract method 0xf03a7fcb.

Solidity: function verifyOneStepProof((address,uint256,uint256,address,(uint64,uint256,uint64,address,uint256,bytes,uint256,uint256,uint256),bytes32,bytes32) ctx, uint8 verifyType, bytes proof, uint256 challengedStepIndex, uint256 prevChallengedSegmentStart, uint256 prevChallengedSegmentLength) returns()

type EVMTypesLibTransaction

type EVMTypesLibTransaction struct {
	Nonce    uint64
	GasPrice *big.Int
	Gas      uint64
	To       common.Address
	Value    *big.Int
	Data     []byte
	V        *big.Int
	R        *big.Int
	S        *big.Int
}

EVMTypesLibTransaction is an auto generated low-level Go binding around an user-defined struct.

type LibBVMCodecChainBatchHeader

type LibBVMCodecChainBatchHeader struct {
	BatchIndex        *big.Int
	BatchRoot         [32]byte
	BatchSize         *big.Int
	PrevTotalElements *big.Int
	Signature         []byte
	ExtraData         []byte
}

LibBVMCodecChainBatchHeader is an auto generated low-level Go binding around an user-defined struct.

type Rollup

type Rollup struct {
	RollupCaller     // Read-only binding to the contract
	RollupTransactor // Write-only binding to the contract
	RollupFilterer   // Log filterer for contract events
}

Rollup is an auto generated Go binding around an Ethereum contract.

func NewRollup

func NewRollup(address common.Address, backend bind.ContractBackend) (*Rollup, error)

NewRollup creates a new instance of Rollup, bound to a specific deployed contract.

type RollupAssertionChallenged

type RollupAssertionChallenged struct {
	AssertionID   *big.Int
	ChallengeAddr common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RollupAssertionChallenged represents a AssertionChallenged event raised by the Rollup contract.

type RollupAssertionChallengedIterator

type RollupAssertionChallengedIterator struct {
	Event *RollupAssertionChallenged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupAssertionChallengedIterator is returned from FilterAssertionChallenged and is used to iterate over the raw logs and unpacked data for AssertionChallenged events raised by the Rollup contract.

func (*RollupAssertionChallengedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupAssertionChallengedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupAssertionChallengedIterator) Next

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 RollupAssertionConfirmed

type RollupAssertionConfirmed struct {
	AssertionID *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RollupAssertionConfirmed represents a AssertionConfirmed event raised by the Rollup contract.

type RollupAssertionConfirmedIterator

type RollupAssertionConfirmedIterator struct {
	Event *RollupAssertionConfirmed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupAssertionConfirmedIterator is returned from FilterAssertionConfirmed and is used to iterate over the raw logs and unpacked data for AssertionConfirmed events raised by the Rollup contract.

func (*RollupAssertionConfirmedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupAssertionConfirmedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupAssertionConfirmedIterator) Next

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 RollupAssertionCreated

type RollupAssertionCreated struct {
	AssertionID  *big.Int
	AsserterAddr common.Address
	VmHash       [32]byte
	InboxSize    *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

RollupAssertionCreated represents a AssertionCreated event raised by the Rollup contract.

type RollupAssertionCreatedIterator

type RollupAssertionCreatedIterator struct {
	Event *RollupAssertionCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupAssertionCreatedIterator is returned from FilterAssertionCreated and is used to iterate over the raw logs and unpacked data for AssertionCreated events raised by the Rollup contract.

func (*RollupAssertionCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupAssertionCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupAssertionCreatedIterator) Next

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 RollupAssertionRejected

type RollupAssertionRejected struct {
	AssertionID *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RollupAssertionRejected represents a AssertionRejected event raised by the Rollup contract.

type RollupAssertionRejectedIterator

type RollupAssertionRejectedIterator struct {
	Event *RollupAssertionRejected // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupAssertionRejectedIterator is returned from FilterAssertionRejected and is used to iterate over the raw logs and unpacked data for AssertionRejected events raised by the Rollup contract.

func (*RollupAssertionRejectedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupAssertionRejectedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupAssertionRejectedIterator) Next

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 RollupCaller

type RollupCaller struct {
	// contains filtered or unexported fields
}

RollupCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRollupCaller

func NewRollupCaller(address common.Address, caller bind.ContractCaller) (*RollupCaller, error)

NewRollupCaller creates a new read-only instance of Rollup, bound to a specific deployed contract.

func (*RollupCaller) Assertions

func (_Rollup *RollupCaller) Assertions(opts *bind.CallOpts) (common.Address, error)

Assertions is a free data retrieval call binding the contract method 0x40d9224b.

Solidity: function assertions() view returns(address)

func (*RollupCaller) BaseStakeAmount

func (_Rollup *RollupCaller) BaseStakeAmount(opts *bind.CallOpts) (*big.Int, error)

BaseStakeAmount is a free data retrieval call binding the contract method 0x71129559.

Solidity: function baseStakeAmount() view returns(uint256)

func (*RollupCaller) ChallengeCtx

func (_Rollup *RollupCaller) ChallengeCtx(opts *bind.CallOpts) (struct {
	Completed             bool
	ChallengeAddress      common.Address
	DefenderAddress       common.Address
	ChallengerAddress     common.Address
	DefenderAssertionID   *big.Int
	ChallengerAssertionID *big.Int
}, error)

ChallengeCtx is a free data retrieval call binding the contract method 0x0e456acf.

Solidity: function challengeCtx() view returns(bool completed, address challengeAddress, address defenderAddress, address challengerAddress, uint256 defenderAssertionID, uint256 challengerAssertionID)

func (*RollupCaller) ConfirmedInboxSize

func (_Rollup *RollupCaller) ConfirmedInboxSize(opts *bind.CallOpts) (*big.Int, error)

ConfirmedInboxSize is a free data retrieval call binding the contract method 0xc94b5847.

Solidity: function confirmedInboxSize() view returns(uint256)

func (*RollupCaller) CurrentRequiredStake

func (_Rollup *RollupCaller) CurrentRequiredStake(opts *bind.CallOpts) (*big.Int, error)

CurrentRequiredStake is a free data retrieval call binding the contract method 0x4d26732d.

Solidity: function currentRequiredStake() view returns(uint256)

func (*RollupCaller) IsStaked

func (_Rollup *RollupCaller) IsStaked(opts *bind.CallOpts, addr common.Address) (bool, error)

IsStaked is a free data retrieval call binding the contract method 0x6177fd18.

Solidity: function isStaked(address addr) view returns(bool)

func (*RollupCaller) LastConfirmedAssertionID

func (_Rollup *RollupCaller) LastConfirmedAssertionID(opts *bind.CallOpts) (*big.Int, error)

LastConfirmedAssertionID is a free data retrieval call binding the contract method 0xa56ba93b.

Solidity: function lastConfirmedAssertionID() view returns(uint256)

func (*RollupCaller) LastCreatedAssertionID

func (_Rollup *RollupCaller) LastCreatedAssertionID(opts *bind.CallOpts) (*big.Int, error)

LastCreatedAssertionID is a free data retrieval call binding the contract method 0x107035a4.

Solidity: function lastCreatedAssertionID() view returns(uint256)

func (*RollupCaller) LastResolvedAssertionID

func (_Rollup *RollupCaller) LastResolvedAssertionID(opts *bind.CallOpts) (*big.Int, error)

LastResolvedAssertionID is a free data retrieval call binding the contract method 0xb553ee84.

Solidity: function lastResolvedAssertionID() view returns(uint256)

func (*RollupCaller) LibAddressManager

func (_Rollup *RollupCaller) LibAddressManager(opts *bind.CallOpts) (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*RollupCaller) MinimumAssertionPeriod

func (_Rollup *RollupCaller) MinimumAssertionPeriod(opts *bind.CallOpts) (*big.Int, error)

MinimumAssertionPeriod is a free data retrieval call binding the contract method 0x45e38b64.

Solidity: function minimumAssertionPeriod() view returns(uint256)

func (*RollupCaller) NumStakers

func (_Rollup *RollupCaller) NumStakers(opts *bind.CallOpts) (*big.Int, error)

NumStakers is a free data retrieval call binding the contract method 0x6c8b052a.

Solidity: function numStakers() view returns(uint256)

func (*RollupCaller) OperatorWhitelist

func (_Rollup *RollupCaller) OperatorWhitelist(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.

Solidity: function operatorWhitelist(address ) view returns(uint256)

func (*RollupCaller) Operatorslist

func (_Rollup *RollupCaller) Operatorslist(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Operatorslist is a free data retrieval call binding the contract method 0x37d1fbdd.

Solidity: function operatorslist(uint256 ) view returns(address)

func (*RollupCaller) Owner

func (_Rollup *RollupCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RollupCaller) Registers

func (_Rollup *RollupCaller) Registers(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Registers is a free data retrieval call binding the contract method 0x6aabc350.

Solidity: function registers(address ) view returns(address)

func (*RollupCaller) Resolve

func (_Rollup *RollupCaller) Resolve(opts *bind.CallOpts, _name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*RollupCaller) StakeToken

func (_Rollup *RollupCaller) StakeToken(opts *bind.CallOpts) (common.Address, error)

StakeToken is a free data retrieval call binding the contract method 0x51ed6a30.

Solidity: function stakeToken() view returns(address)

func (*RollupCaller) StakerWhitelist

func (_Rollup *RollupCaller) StakerWhitelist(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StakerWhitelist is a free data retrieval call binding the contract method 0x300a7161.

Solidity: function stakerWhitelist(address ) view returns(uint256)

func (*RollupCaller) Stakers

func (_Rollup *RollupCaller) Stakers(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsStaked         bool
	AmountStaked     *big.Int
	AssertionID      *big.Int
	Operator         common.Address
	CurrentChallenge common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0x9168ae72.

Solidity: function stakers(address ) view returns(bool isStaked, uint256 amountStaked, uint256 assertionID, address operator, address currentChallenge)

func (*RollupCaller) Stakerslist

func (_Rollup *RollupCaller) Stakerslist(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Stakerslist is a free data retrieval call binding the contract method 0x2aa234f6.

Solidity: function stakerslist(uint256 ) view returns(address)

func (*RollupCaller) Verifier

func (_Rollup *RollupCaller) Verifier(opts *bind.CallOpts) (common.Address, error)

Verifier is a free data retrieval call binding the contract method 0x2b7ac3f3.

Solidity: function verifier() view returns(address)

func (*RollupCaller) WithdrawableFunds

func (_Rollup *RollupCaller) WithdrawableFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

WithdrawableFunds is a free data retrieval call binding the contract method 0x2f30cabd.

Solidity: function withdrawableFunds(address ) view returns(uint256)

func (*RollupCaller) Zombies

func (_Rollup *RollupCaller) Zombies(opts *bind.CallOpts, arg0 *big.Int) (struct {
	StakerAddress   common.Address
	LastAssertionID *big.Int
}, error)

Zombies is a free data retrieval call binding the contract method 0x2052465e.

Solidity: function zombies(uint256 ) view returns(address stakerAddress, uint256 lastAssertionID)

type RollupCallerRaw

type RollupCallerRaw struct {
	Contract *RollupCaller // Generic read-only contract binding to access the raw methods on
}

RollupCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RollupCallerRaw) Call

func (_Rollup *RollupCallerRaw) 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 RollupCallerSession

type RollupCallerSession struct {
	Contract *RollupCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

RollupCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RollupCallerSession) Assertions

func (_Rollup *RollupCallerSession) Assertions() (common.Address, error)

Assertions is a free data retrieval call binding the contract method 0x40d9224b.

Solidity: function assertions() view returns(address)

func (*RollupCallerSession) BaseStakeAmount

func (_Rollup *RollupCallerSession) BaseStakeAmount() (*big.Int, error)

BaseStakeAmount is a free data retrieval call binding the contract method 0x71129559.

Solidity: function baseStakeAmount() view returns(uint256)

func (*RollupCallerSession) ChallengeCtx

func (_Rollup *RollupCallerSession) ChallengeCtx() (struct {
	Completed             bool
	ChallengeAddress      common.Address
	DefenderAddress       common.Address
	ChallengerAddress     common.Address
	DefenderAssertionID   *big.Int
	ChallengerAssertionID *big.Int
}, error)

ChallengeCtx is a free data retrieval call binding the contract method 0x0e456acf.

Solidity: function challengeCtx() view returns(bool completed, address challengeAddress, address defenderAddress, address challengerAddress, uint256 defenderAssertionID, uint256 challengerAssertionID)

func (*RollupCallerSession) ConfirmedInboxSize

func (_Rollup *RollupCallerSession) ConfirmedInboxSize() (*big.Int, error)

ConfirmedInboxSize is a free data retrieval call binding the contract method 0xc94b5847.

Solidity: function confirmedInboxSize() view returns(uint256)

func (*RollupCallerSession) CurrentRequiredStake

func (_Rollup *RollupCallerSession) CurrentRequiredStake() (*big.Int, error)

CurrentRequiredStake is a free data retrieval call binding the contract method 0x4d26732d.

Solidity: function currentRequiredStake() view returns(uint256)

func (*RollupCallerSession) IsStaked

func (_Rollup *RollupCallerSession) IsStaked(addr common.Address) (bool, error)

IsStaked is a free data retrieval call binding the contract method 0x6177fd18.

Solidity: function isStaked(address addr) view returns(bool)

func (*RollupCallerSession) LastConfirmedAssertionID

func (_Rollup *RollupCallerSession) LastConfirmedAssertionID() (*big.Int, error)

LastConfirmedAssertionID is a free data retrieval call binding the contract method 0xa56ba93b.

Solidity: function lastConfirmedAssertionID() view returns(uint256)

func (*RollupCallerSession) LastCreatedAssertionID

func (_Rollup *RollupCallerSession) LastCreatedAssertionID() (*big.Int, error)

LastCreatedAssertionID is a free data retrieval call binding the contract method 0x107035a4.

Solidity: function lastCreatedAssertionID() view returns(uint256)

func (*RollupCallerSession) LastResolvedAssertionID

func (_Rollup *RollupCallerSession) LastResolvedAssertionID() (*big.Int, error)

LastResolvedAssertionID is a free data retrieval call binding the contract method 0xb553ee84.

Solidity: function lastResolvedAssertionID() view returns(uint256)

func (*RollupCallerSession) LibAddressManager

func (_Rollup *RollupCallerSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*RollupCallerSession) MinimumAssertionPeriod

func (_Rollup *RollupCallerSession) MinimumAssertionPeriod() (*big.Int, error)

MinimumAssertionPeriod is a free data retrieval call binding the contract method 0x45e38b64.

Solidity: function minimumAssertionPeriod() view returns(uint256)

func (*RollupCallerSession) NumStakers

func (_Rollup *RollupCallerSession) NumStakers() (*big.Int, error)

NumStakers is a free data retrieval call binding the contract method 0x6c8b052a.

Solidity: function numStakers() view returns(uint256)

func (*RollupCallerSession) OperatorWhitelist

func (_Rollup *RollupCallerSession) OperatorWhitelist(arg0 common.Address) (*big.Int, error)

OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.

Solidity: function operatorWhitelist(address ) view returns(uint256)

func (*RollupCallerSession) Operatorslist

func (_Rollup *RollupCallerSession) Operatorslist(arg0 *big.Int) (common.Address, error)

Operatorslist is a free data retrieval call binding the contract method 0x37d1fbdd.

Solidity: function operatorslist(uint256 ) view returns(address)

func (*RollupCallerSession) Owner

func (_Rollup *RollupCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RollupCallerSession) Registers

func (_Rollup *RollupCallerSession) Registers(arg0 common.Address) (common.Address, error)

Registers is a free data retrieval call binding the contract method 0x6aabc350.

Solidity: function registers(address ) view returns(address)

func (*RollupCallerSession) Resolve

func (_Rollup *RollupCallerSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*RollupCallerSession) StakeToken

func (_Rollup *RollupCallerSession) StakeToken() (common.Address, error)

StakeToken is a free data retrieval call binding the contract method 0x51ed6a30.

Solidity: function stakeToken() view returns(address)

func (*RollupCallerSession) StakerWhitelist

func (_Rollup *RollupCallerSession) StakerWhitelist(arg0 common.Address) (*big.Int, error)

StakerWhitelist is a free data retrieval call binding the contract method 0x300a7161.

Solidity: function stakerWhitelist(address ) view returns(uint256)

func (*RollupCallerSession) Stakers

func (_Rollup *RollupCallerSession) Stakers(arg0 common.Address) (struct {
	IsStaked         bool
	AmountStaked     *big.Int
	AssertionID      *big.Int
	Operator         common.Address
	CurrentChallenge common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0x9168ae72.

Solidity: function stakers(address ) view returns(bool isStaked, uint256 amountStaked, uint256 assertionID, address operator, address currentChallenge)

func (*RollupCallerSession) Stakerslist

func (_Rollup *RollupCallerSession) Stakerslist(arg0 *big.Int) (common.Address, error)

Stakerslist is a free data retrieval call binding the contract method 0x2aa234f6.

Solidity: function stakerslist(uint256 ) view returns(address)

func (*RollupCallerSession) Verifier

func (_Rollup *RollupCallerSession) Verifier() (common.Address, error)

Verifier is a free data retrieval call binding the contract method 0x2b7ac3f3.

Solidity: function verifier() view returns(address)

func (*RollupCallerSession) WithdrawableFunds

func (_Rollup *RollupCallerSession) WithdrawableFunds(arg0 common.Address) (*big.Int, error)

WithdrawableFunds is a free data retrieval call binding the contract method 0x2f30cabd.

Solidity: function withdrawableFunds(address ) view returns(uint256)

func (*RollupCallerSession) Zombies

func (_Rollup *RollupCallerSession) Zombies(arg0 *big.Int) (struct {
	StakerAddress   common.Address
	LastAssertionID *big.Int
}, error)

Zombies is a free data retrieval call binding the contract method 0x2052465e.

Solidity: function zombies(uint256 ) view returns(address stakerAddress, uint256 lastAssertionID)

type RollupFilterer

type RollupFilterer struct {
	// contains filtered or unexported fields
}

RollupFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRollupFilterer

func NewRollupFilterer(address common.Address, filterer bind.ContractFilterer) (*RollupFilterer, error)

NewRollupFilterer creates a new log filterer instance of Rollup, bound to a specific deployed contract.

func (*RollupFilterer) FilterAssertionChallenged

func (_Rollup *RollupFilterer) FilterAssertionChallenged(opts *bind.FilterOpts) (*RollupAssertionChallengedIterator, error)

FilterAssertionChallenged is a free log retrieval operation binding the contract event 0xd0ebe74b4f7d89a9b0fdc9d95f887a7b925c6c7300b5c4b2c3304d97925840fa.

Solidity: event AssertionChallenged(uint256 assertionID, address challengeAddr)

func (*RollupFilterer) FilterAssertionConfirmed

func (_Rollup *RollupFilterer) FilterAssertionConfirmed(opts *bind.FilterOpts) (*RollupAssertionConfirmedIterator, error)

FilterAssertionConfirmed is a free log retrieval operation binding the contract event 0x453430d123684340024ae0a229704bdab39c93dc48bb5a0b4bc83142d95d48ef.

Solidity: event AssertionConfirmed(uint256 assertionID)

func (*RollupFilterer) FilterAssertionCreated

func (_Rollup *RollupFilterer) FilterAssertionCreated(opts *bind.FilterOpts) (*RollupAssertionCreatedIterator, error)

FilterAssertionCreated is a free log retrieval operation binding the contract event 0x5c610f28399ecc14b66149012a0197a5e3257a8c397125afee95d1cf4b950734.

Solidity: event AssertionCreated(uint256 assertionID, address asserterAddr, bytes32 vmHash, uint256 inboxSize)

func (*RollupFilterer) FilterAssertionRejected

func (_Rollup *RollupFilterer) FilterAssertionRejected(opts *bind.FilterOpts) (*RollupAssertionRejectedIterator, error)

FilterAssertionRejected is a free log retrieval operation binding the contract event 0x5b24ab8ceb442373727ac5c559a027521cb52db451c74710ebed9faa5fe15a7c.

Solidity: event AssertionRejected(uint256 assertionID)

func (*RollupFilterer) FilterInitialized

func (_Rollup *RollupFilterer) FilterInitialized(opts *bind.FilterOpts) (*RollupInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*RollupFilterer) FilterOwnershipTransferred

func (_Rollup *RollupFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RollupOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RollupFilterer) FilterStakerStaked

func (_Rollup *RollupFilterer) FilterStakerStaked(opts *bind.FilterOpts) (*RollupStakerStakedIterator, error)

FilterStakerStaked is a free log retrieval operation binding the contract event 0x617d31491414a4ab2bd831e566a31837fa7fb6582921c91dffbbe83fbca789f3.

Solidity: event StakerStaked(address stakerAddr, uint256 assertionID)

func (*RollupFilterer) ParseAssertionChallenged

func (_Rollup *RollupFilterer) ParseAssertionChallenged(log types.Log) (*RollupAssertionChallenged, error)

ParseAssertionChallenged is a log parse operation binding the contract event 0xd0ebe74b4f7d89a9b0fdc9d95f887a7b925c6c7300b5c4b2c3304d97925840fa.

Solidity: event AssertionChallenged(uint256 assertionID, address challengeAddr)

func (*RollupFilterer) ParseAssertionConfirmed

func (_Rollup *RollupFilterer) ParseAssertionConfirmed(log types.Log) (*RollupAssertionConfirmed, error)

ParseAssertionConfirmed is a log parse operation binding the contract event 0x453430d123684340024ae0a229704bdab39c93dc48bb5a0b4bc83142d95d48ef.

Solidity: event AssertionConfirmed(uint256 assertionID)

func (*RollupFilterer) ParseAssertionCreated

func (_Rollup *RollupFilterer) ParseAssertionCreated(log types.Log) (*RollupAssertionCreated, error)

ParseAssertionCreated is a log parse operation binding the contract event 0x5c610f28399ecc14b66149012a0197a5e3257a8c397125afee95d1cf4b950734.

Solidity: event AssertionCreated(uint256 assertionID, address asserterAddr, bytes32 vmHash, uint256 inboxSize)

func (*RollupFilterer) ParseAssertionRejected

func (_Rollup *RollupFilterer) ParseAssertionRejected(log types.Log) (*RollupAssertionRejected, error)

ParseAssertionRejected is a log parse operation binding the contract event 0x5b24ab8ceb442373727ac5c559a027521cb52db451c74710ebed9faa5fe15a7c.

Solidity: event AssertionRejected(uint256 assertionID)

func (*RollupFilterer) ParseInitialized

func (_Rollup *RollupFilterer) ParseInitialized(log types.Log) (*RollupInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*RollupFilterer) ParseOwnershipTransferred

func (_Rollup *RollupFilterer) ParseOwnershipTransferred(log types.Log) (*RollupOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RollupFilterer) ParseStakerStaked

func (_Rollup *RollupFilterer) ParseStakerStaked(log types.Log) (*RollupStakerStaked, error)

ParseStakerStaked is a log parse operation binding the contract event 0x617d31491414a4ab2bd831e566a31837fa7fb6582921c91dffbbe83fbca789f3.

Solidity: event StakerStaked(address stakerAddr, uint256 assertionID)

func (*RollupFilterer) WatchAssertionChallenged

func (_Rollup *RollupFilterer) WatchAssertionChallenged(opts *bind.WatchOpts, sink chan<- *RollupAssertionChallenged) (event.Subscription, error)

WatchAssertionChallenged is a free log subscription operation binding the contract event 0xd0ebe74b4f7d89a9b0fdc9d95f887a7b925c6c7300b5c4b2c3304d97925840fa.

Solidity: event AssertionChallenged(uint256 assertionID, address challengeAddr)

func (*RollupFilterer) WatchAssertionConfirmed

func (_Rollup *RollupFilterer) WatchAssertionConfirmed(opts *bind.WatchOpts, sink chan<- *RollupAssertionConfirmed) (event.Subscription, error)

WatchAssertionConfirmed is a free log subscription operation binding the contract event 0x453430d123684340024ae0a229704bdab39c93dc48bb5a0b4bc83142d95d48ef.

Solidity: event AssertionConfirmed(uint256 assertionID)

func (*RollupFilterer) WatchAssertionCreated

func (_Rollup *RollupFilterer) WatchAssertionCreated(opts *bind.WatchOpts, sink chan<- *RollupAssertionCreated) (event.Subscription, error)

WatchAssertionCreated is a free log subscription operation binding the contract event 0x5c610f28399ecc14b66149012a0197a5e3257a8c397125afee95d1cf4b950734.

Solidity: event AssertionCreated(uint256 assertionID, address asserterAddr, bytes32 vmHash, uint256 inboxSize)

func (*RollupFilterer) WatchAssertionRejected

func (_Rollup *RollupFilterer) WatchAssertionRejected(opts *bind.WatchOpts, sink chan<- *RollupAssertionRejected) (event.Subscription, error)

WatchAssertionRejected is a free log subscription operation binding the contract event 0x5b24ab8ceb442373727ac5c559a027521cb52db451c74710ebed9faa5fe15a7c.

Solidity: event AssertionRejected(uint256 assertionID)

func (*RollupFilterer) WatchInitialized

func (_Rollup *RollupFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *RollupInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*RollupFilterer) WatchOwnershipTransferred

func (_Rollup *RollupFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RollupOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RollupFilterer) WatchStakerStaked

func (_Rollup *RollupFilterer) WatchStakerStaked(opts *bind.WatchOpts, sink chan<- *RollupStakerStaked) (event.Subscription, error)

WatchStakerStaked is a free log subscription operation binding the contract event 0x617d31491414a4ab2bd831e566a31837fa7fb6582921c91dffbbe83fbca789f3.

Solidity: event StakerStaked(address stakerAddr, uint256 assertionID)

type RollupInitialized

type RollupInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

RollupInitialized represents a Initialized event raised by the Rollup contract.

type RollupInitializedIterator

type RollupInitializedIterator struct {
	Event *RollupInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Rollup contract.

func (*RollupInitializedIterator) Close

func (it *RollupInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupInitializedIterator) Error

func (it *RollupInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupInitializedIterator) Next

func (it *RollupInitializedIterator) 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 RollupOwnershipTransferred

type RollupOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RollupOwnershipTransferred represents a OwnershipTransferred event raised by the Rollup contract.

type RollupOwnershipTransferredIterator

type RollupOwnershipTransferredIterator struct {
	Event *RollupOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Rollup contract.

func (*RollupOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupOwnershipTransferredIterator) Next

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 RollupRaw

type RollupRaw struct {
	Contract *Rollup // Generic contract binding to access the raw methods on
}

RollupRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RollupRaw) Call

func (_Rollup *RollupRaw) 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 (*RollupRaw) Transact

func (_Rollup *RollupRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RollupRaw) Transfer

func (_Rollup *RollupRaw) 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 RollupSession

type RollupSession struct {
	Contract     *Rollup           // 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
}

RollupSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RollupSession) AddToOperatorWhitelist

func (_Rollup *RollupSession) AddToOperatorWhitelist(toAddAddresses []common.Address) (*types.Transaction, error)

AddToOperatorWhitelist is a paid mutator transaction binding the contract method 0xc8525c3e.

Solidity: function addToOperatorWhitelist(address[] toAddAddresses) returns()

func (*RollupSession) AddToStakerWhitelist

func (_Rollup *RollupSession) AddToStakerWhitelist(toAddAddresses []common.Address) (*types.Transaction, error)

AddToStakerWhitelist is a paid mutator transaction binding the contract method 0x6a368561.

Solidity: function addToStakerWhitelist(address[] toAddAddresses) returns()

func (*RollupSession) AdvanceStake

func (_Rollup *RollupSession) AdvanceStake(assertionID *big.Int) (*types.Transaction, error)

AdvanceStake is a paid mutator transaction binding the contract method 0x8821b2ae.

Solidity: function advanceStake(uint256 assertionID) returns()

func (*RollupSession) Assertions

func (_Rollup *RollupSession) Assertions() (common.Address, error)

Assertions is a free data retrieval call binding the contract method 0x40d9224b.

Solidity: function assertions() view returns(address)

func (*RollupSession) BaseStakeAmount

func (_Rollup *RollupSession) BaseStakeAmount() (*big.Int, error)

BaseStakeAmount is a free data retrieval call binding the contract method 0x71129559.

Solidity: function baseStakeAmount() view returns(uint256)

func (*RollupSession) ChallengeAssertion

func (_Rollup *RollupSession) ChallengeAssertion(players [2]common.Address, assertionIDs [2]*big.Int) (*types.Transaction, error)

ChallengeAssertion is a paid mutator transaction binding the contract method 0x2f06d1b0.

Solidity: function challengeAssertion(address[2] players, uint256[2] assertionIDs) returns(address)

func (*RollupSession) ChallengeCtx

func (_Rollup *RollupSession) ChallengeCtx() (struct {
	Completed             bool
	ChallengeAddress      common.Address
	DefenderAddress       common.Address
	ChallengerAddress     common.Address
	DefenderAssertionID   *big.Int
	ChallengerAssertionID *big.Int
}, error)

ChallengeCtx is a free data retrieval call binding the contract method 0x0e456acf.

Solidity: function challengeCtx() view returns(bool completed, address challengeAddress, address defenderAddress, address challengerAddress, uint256 defenderAssertionID, uint256 challengerAssertionID)

func (*RollupSession) CompleteChallenge

func (_Rollup *RollupSession) CompleteChallenge(winner common.Address, loser common.Address) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xfa7803e6.

Solidity: function completeChallenge(address winner, address loser) returns()

func (*RollupSession) ConfirmFirstUnresolvedAssertion

func (_Rollup *RollupSession) ConfirmFirstUnresolvedAssertion() (*types.Transaction, error)

ConfirmFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x2906040e.

Solidity: function confirmFirstUnresolvedAssertion() returns()

func (*RollupSession) ConfirmedInboxSize

func (_Rollup *RollupSession) ConfirmedInboxSize() (*big.Int, error)

ConfirmedInboxSize is a free data retrieval call binding the contract method 0xc94b5847.

Solidity: function confirmedInboxSize() view returns(uint256)

func (*RollupSession) CreateAssertion

func (_Rollup *RollupSession) CreateAssertion(vmHash [32]byte, inboxSize *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0xb6da898f.

Solidity: function createAssertion(bytes32 vmHash, uint256 inboxSize) returns()

func (*RollupSession) CreateAssertionWithStateBatch

func (_Rollup *RollupSession) CreateAssertionWithStateBatch(vmHash [32]byte, inboxSize *big.Int, _batch [][32]byte, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

CreateAssertionWithStateBatch is a paid mutator transaction binding the contract method 0x49cd3004.

Solidity: function createAssertionWithStateBatch(bytes32 vmHash, uint256 inboxSize, bytes32[] _batch, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupSession) CurrentRequiredStake

func (_Rollup *RollupSession) CurrentRequiredStake() (*big.Int, error)

CurrentRequiredStake is a free data retrieval call binding the contract method 0x4d26732d.

Solidity: function currentRequiredStake() view returns(uint256)

func (*RollupSession) Initialize

func (_Rollup *RollupSession) Initialize(_owner common.Address, _verifier common.Address, _stakeToken common.Address, _libAddressManager common.Address, _assertionMap common.Address, _minimumAssertionPeriod *big.Int, _baseStakeAmount *big.Int, _initialVMhash [32]byte, stakerWhitelists []common.Address, operatorWhitelists []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc97a5919.

Solidity: function initialize(address _owner, address _verifier, address _stakeToken, address _libAddressManager, address _assertionMap, uint256 _minimumAssertionPeriod, uint256 _baseStakeAmount, bytes32 _initialVMhash, address[] stakerWhitelists, address[] operatorWhitelists) returns()

func (*RollupSession) IsStaked

func (_Rollup *RollupSession) IsStaked(addr common.Address) (bool, error)

IsStaked is a free data retrieval call binding the contract method 0x6177fd18.

Solidity: function isStaked(address addr) view returns(bool)

func (*RollupSession) LastConfirmedAssertionID

func (_Rollup *RollupSession) LastConfirmedAssertionID() (*big.Int, error)

LastConfirmedAssertionID is a free data retrieval call binding the contract method 0xa56ba93b.

Solidity: function lastConfirmedAssertionID() view returns(uint256)

func (*RollupSession) LastCreatedAssertionID

func (_Rollup *RollupSession) LastCreatedAssertionID() (*big.Int, error)

LastCreatedAssertionID is a free data retrieval call binding the contract method 0x107035a4.

Solidity: function lastCreatedAssertionID() view returns(uint256)

func (*RollupSession) LastResolvedAssertionID

func (_Rollup *RollupSession) LastResolvedAssertionID() (*big.Int, error)

LastResolvedAssertionID is a free data retrieval call binding the contract method 0xb553ee84.

Solidity: function lastResolvedAssertionID() view returns(uint256)

func (*RollupSession) LibAddressManager

func (_Rollup *RollupSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*RollupSession) MinimumAssertionPeriod

func (_Rollup *RollupSession) MinimumAssertionPeriod() (*big.Int, error)

MinimumAssertionPeriod is a free data retrieval call binding the contract method 0x45e38b64.

Solidity: function minimumAssertionPeriod() view returns(uint256)

func (*RollupSession) NumStakers

func (_Rollup *RollupSession) NumStakers() (*big.Int, error)

NumStakers is a free data retrieval call binding the contract method 0x6c8b052a.

Solidity: function numStakers() view returns(uint256)

func (*RollupSession) OperatorWhitelist

func (_Rollup *RollupSession) OperatorWhitelist(arg0 common.Address) (*big.Int, error)

OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.

Solidity: function operatorWhitelist(address ) view returns(uint256)

func (*RollupSession) Operatorslist

func (_Rollup *RollupSession) Operatorslist(arg0 *big.Int) (common.Address, error)

Operatorslist is a free data retrieval call binding the contract method 0x37d1fbdd.

Solidity: function operatorslist(uint256 ) view returns(address)

func (*RollupSession) Owner

func (_Rollup *RollupSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RollupSession) Registers

func (_Rollup *RollupSession) Registers(arg0 common.Address) (common.Address, error)

Registers is a free data retrieval call binding the contract method 0x6aabc350.

Solidity: function registers(address ) view returns(address)

func (*RollupSession) RejectFirstUnresolvedAssertion

func (_Rollup *RollupSession) RejectFirstUnresolvedAssertion() (*types.Transaction, error)

RejectFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x30b26075.

Solidity: function rejectFirstUnresolvedAssertion() returns()

func (*RollupSession) RejectLatestCreatedAssertionWithBatch

func (_Rollup *RollupSession) RejectLatestCreatedAssertionWithBatch(_batchHeader LibBVMCodecChainBatchHeader) (*types.Transaction, error)

RejectLatestCreatedAssertionWithBatch is a paid mutator transaction binding the contract method 0xde574efc.

Solidity: function rejectLatestCreatedAssertionWithBatch((uint256,bytes32,uint256,uint256,bytes,bytes) _batchHeader) returns()

func (*RollupSession) RemoveFromOperatorWhitelist

func (_Rollup *RollupSession) RemoveFromOperatorWhitelist(toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromOperatorWhitelist is a paid mutator transaction binding the contract method 0x9efbea23.

Solidity: function removeFromOperatorWhitelist(address[] toRemoveAddresses) returns()

func (*RollupSession) RemoveFromStakerWhitelist

func (_Rollup *RollupSession) RemoveFromStakerWhitelist(toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromStakerWhitelist is a paid mutator transaction binding the contract method 0xaca9a518.

Solidity: function removeFromStakerWhitelist(address[] toRemoveAddresses) returns()

func (*RollupSession) RemoveOldZombies

func (_Rollup *RollupSession) RemoveOldZombies() (*types.Transaction, error)

RemoveOldZombies is a paid mutator transaction binding the contract method 0x8c669739.

Solidity: function removeOldZombies() returns()

func (*RollupSession) RemoveStake

func (_Rollup *RollupSession) RemoveStake(stakerAddress common.Address) (*types.Transaction, error)

RemoveStake is a paid mutator transaction binding the contract method 0xfe2ba848.

Solidity: function removeStake(address stakerAddress) returns()

func (*RollupSession) Resolve

func (_Rollup *RollupSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*RollupSession) RollbackL2Chain

func (_Rollup *RollupSession) RollbackL2Chain(_shouldRollBack *big.Int, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

RollbackL2Chain is a paid mutator transaction binding the contract method 0xcfc5901d.

Solidity: function rollbackL2Chain(uint256 _shouldRollBack, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupSession) Stake

func (_Rollup *RollupSession) Stake(stakeAmount *big.Int, operator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x7acb7757.

Solidity: function stake(uint256 stakeAmount, address operator) returns()

func (*RollupSession) StakeToken

func (_Rollup *RollupSession) StakeToken() (common.Address, error)

StakeToken is a free data retrieval call binding the contract method 0x51ed6a30.

Solidity: function stakeToken() view returns(address)

func (*RollupSession) StakerWhitelist

func (_Rollup *RollupSession) StakerWhitelist(arg0 common.Address) (*big.Int, error)

StakerWhitelist is a free data retrieval call binding the contract method 0x300a7161.

Solidity: function stakerWhitelist(address ) view returns(uint256)

func (*RollupSession) Stakers

func (_Rollup *RollupSession) Stakers(arg0 common.Address) (struct {
	IsStaked         bool
	AmountStaked     *big.Int
	AssertionID      *big.Int
	Operator         common.Address
	CurrentChallenge common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0x9168ae72.

Solidity: function stakers(address ) view returns(bool isStaked, uint256 amountStaked, uint256 assertionID, address operator, address currentChallenge)

func (*RollupSession) Stakerslist

func (_Rollup *RollupSession) Stakerslist(arg0 *big.Int) (common.Address, error)

Stakerslist is a free data retrieval call binding the contract method 0x2aa234f6.

Solidity: function stakerslist(uint256 ) view returns(address)

func (*RollupSession) TransferOwnership

func (_Rollup *RollupSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RollupSession) Unstake

func (_Rollup *RollupSession) Unstake(stakeAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 stakeAmount) returns()

func (*RollupSession) Verifier

func (_Rollup *RollupSession) Verifier() (common.Address, error)

Verifier is a free data retrieval call binding the contract method 0x2b7ac3f3.

Solidity: function verifier() view returns(address)

func (*RollupSession) Withdraw

func (_Rollup *RollupSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*RollupSession) WithdrawableFunds

func (_Rollup *RollupSession) WithdrawableFunds(arg0 common.Address) (*big.Int, error)

WithdrawableFunds is a free data retrieval call binding the contract method 0x2f30cabd.

Solidity: function withdrawableFunds(address ) view returns(uint256)

func (*RollupSession) Zombies

func (_Rollup *RollupSession) Zombies(arg0 *big.Int) (struct {
	StakerAddress   common.Address
	LastAssertionID *big.Int
}, error)

Zombies is a free data retrieval call binding the contract method 0x2052465e.

Solidity: function zombies(uint256 ) view returns(address stakerAddress, uint256 lastAssertionID)

type RollupStakerStaked

type RollupStakerStaked struct {
	StakerAddr  common.Address
	AssertionID *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RollupStakerStaked represents a StakerStaked event raised by the Rollup contract.

type RollupStakerStakedIterator

type RollupStakerStakedIterator struct {
	Event *RollupStakerStaked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RollupStakerStakedIterator is returned from FilterStakerStaked and is used to iterate over the raw logs and unpacked data for StakerStaked events raised by the Rollup contract.

func (*RollupStakerStakedIterator) Close

func (it *RollupStakerStakedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RollupStakerStakedIterator) Error

func (it *RollupStakerStakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupStakerStakedIterator) Next

func (it *RollupStakerStakedIterator) 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 RollupTransactor

type RollupTransactor struct {
	// contains filtered or unexported fields
}

RollupTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRollupTransactor

func NewRollupTransactor(address common.Address, transactor bind.ContractTransactor) (*RollupTransactor, error)

NewRollupTransactor creates a new write-only instance of Rollup, bound to a specific deployed contract.

func (*RollupTransactor) AddToOperatorWhitelist

func (_Rollup *RollupTransactor) AddToOperatorWhitelist(opts *bind.TransactOpts, toAddAddresses []common.Address) (*types.Transaction, error)

AddToOperatorWhitelist is a paid mutator transaction binding the contract method 0xc8525c3e.

Solidity: function addToOperatorWhitelist(address[] toAddAddresses) returns()

func (*RollupTransactor) AddToStakerWhitelist

func (_Rollup *RollupTransactor) AddToStakerWhitelist(opts *bind.TransactOpts, toAddAddresses []common.Address) (*types.Transaction, error)

AddToStakerWhitelist is a paid mutator transaction binding the contract method 0x6a368561.

Solidity: function addToStakerWhitelist(address[] toAddAddresses) returns()

func (*RollupTransactor) AdvanceStake

func (_Rollup *RollupTransactor) AdvanceStake(opts *bind.TransactOpts, assertionID *big.Int) (*types.Transaction, error)

AdvanceStake is a paid mutator transaction binding the contract method 0x8821b2ae.

Solidity: function advanceStake(uint256 assertionID) returns()

func (*RollupTransactor) ChallengeAssertion

func (_Rollup *RollupTransactor) ChallengeAssertion(opts *bind.TransactOpts, players [2]common.Address, assertionIDs [2]*big.Int) (*types.Transaction, error)

ChallengeAssertion is a paid mutator transaction binding the contract method 0x2f06d1b0.

Solidity: function challengeAssertion(address[2] players, uint256[2] assertionIDs) returns(address)

func (*RollupTransactor) CompleteChallenge

func (_Rollup *RollupTransactor) CompleteChallenge(opts *bind.TransactOpts, winner common.Address, loser common.Address) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xfa7803e6.

Solidity: function completeChallenge(address winner, address loser) returns()

func (*RollupTransactor) ConfirmFirstUnresolvedAssertion

func (_Rollup *RollupTransactor) ConfirmFirstUnresolvedAssertion(opts *bind.TransactOpts) (*types.Transaction, error)

ConfirmFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x2906040e.

Solidity: function confirmFirstUnresolvedAssertion() returns()

func (*RollupTransactor) CreateAssertion

func (_Rollup *RollupTransactor) CreateAssertion(opts *bind.TransactOpts, vmHash [32]byte, inboxSize *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0xb6da898f.

Solidity: function createAssertion(bytes32 vmHash, uint256 inboxSize) returns()

func (*RollupTransactor) CreateAssertionWithStateBatch

func (_Rollup *RollupTransactor) CreateAssertionWithStateBatch(opts *bind.TransactOpts, vmHash [32]byte, inboxSize *big.Int, _batch [][32]byte, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

CreateAssertionWithStateBatch is a paid mutator transaction binding the contract method 0x49cd3004.

Solidity: function createAssertionWithStateBatch(bytes32 vmHash, uint256 inboxSize, bytes32[] _batch, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupTransactor) Initialize

func (_Rollup *RollupTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _verifier common.Address, _stakeToken common.Address, _libAddressManager common.Address, _assertionMap common.Address, _minimumAssertionPeriod *big.Int, _baseStakeAmount *big.Int, _initialVMhash [32]byte, stakerWhitelists []common.Address, operatorWhitelists []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc97a5919.

Solidity: function initialize(address _owner, address _verifier, address _stakeToken, address _libAddressManager, address _assertionMap, uint256 _minimumAssertionPeriod, uint256 _baseStakeAmount, bytes32 _initialVMhash, address[] stakerWhitelists, address[] operatorWhitelists) returns()

func (*RollupTransactor) RejectFirstUnresolvedAssertion

func (_Rollup *RollupTransactor) RejectFirstUnresolvedAssertion(opts *bind.TransactOpts) (*types.Transaction, error)

RejectFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x30b26075.

Solidity: function rejectFirstUnresolvedAssertion() returns()

func (*RollupTransactor) RejectLatestCreatedAssertionWithBatch

func (_Rollup *RollupTransactor) RejectLatestCreatedAssertionWithBatch(opts *bind.TransactOpts, _batchHeader LibBVMCodecChainBatchHeader) (*types.Transaction, error)

RejectLatestCreatedAssertionWithBatch is a paid mutator transaction binding the contract method 0xde574efc.

Solidity: function rejectLatestCreatedAssertionWithBatch((uint256,bytes32,uint256,uint256,bytes,bytes) _batchHeader) returns()

func (*RollupTransactor) RemoveFromOperatorWhitelist

func (_Rollup *RollupTransactor) RemoveFromOperatorWhitelist(opts *bind.TransactOpts, toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromOperatorWhitelist is a paid mutator transaction binding the contract method 0x9efbea23.

Solidity: function removeFromOperatorWhitelist(address[] toRemoveAddresses) returns()

func (*RollupTransactor) RemoveFromStakerWhitelist

func (_Rollup *RollupTransactor) RemoveFromStakerWhitelist(opts *bind.TransactOpts, toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromStakerWhitelist is a paid mutator transaction binding the contract method 0xaca9a518.

Solidity: function removeFromStakerWhitelist(address[] toRemoveAddresses) returns()

func (*RollupTransactor) RemoveOldZombies

func (_Rollup *RollupTransactor) RemoveOldZombies(opts *bind.TransactOpts) (*types.Transaction, error)

RemoveOldZombies is a paid mutator transaction binding the contract method 0x8c669739.

Solidity: function removeOldZombies() returns()

func (*RollupTransactor) RemoveStake

func (_Rollup *RollupTransactor) RemoveStake(opts *bind.TransactOpts, stakerAddress common.Address) (*types.Transaction, error)

RemoveStake is a paid mutator transaction binding the contract method 0xfe2ba848.

Solidity: function removeStake(address stakerAddress) returns()

func (*RollupTransactor) RollbackL2Chain

func (_Rollup *RollupTransactor) RollbackL2Chain(opts *bind.TransactOpts, _shouldRollBack *big.Int, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

RollbackL2Chain is a paid mutator transaction binding the contract method 0xcfc5901d.

Solidity: function rollbackL2Chain(uint256 _shouldRollBack, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupTransactor) Stake

func (_Rollup *RollupTransactor) Stake(opts *bind.TransactOpts, stakeAmount *big.Int, operator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x7acb7757.

Solidity: function stake(uint256 stakeAmount, address operator) returns()

func (*RollupTransactor) TransferOwnership

func (_Rollup *RollupTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RollupTransactor) Unstake

func (_Rollup *RollupTransactor) Unstake(opts *bind.TransactOpts, stakeAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 stakeAmount) returns()

func (*RollupTransactor) Withdraw

func (_Rollup *RollupTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type RollupTransactorRaw

type RollupTransactorRaw struct {
	Contract *RollupTransactor // Generic write-only contract binding to access the raw methods on
}

RollupTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RollupTransactorRaw) Transact

func (_Rollup *RollupTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RollupTransactorRaw) Transfer

func (_Rollup *RollupTransactorRaw) 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 RollupTransactorSession

type RollupTransactorSession struct {
	Contract     *RollupTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RollupTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RollupTransactorSession) AddToOperatorWhitelist

func (_Rollup *RollupTransactorSession) AddToOperatorWhitelist(toAddAddresses []common.Address) (*types.Transaction, error)

AddToOperatorWhitelist is a paid mutator transaction binding the contract method 0xc8525c3e.

Solidity: function addToOperatorWhitelist(address[] toAddAddresses) returns()

func (*RollupTransactorSession) AddToStakerWhitelist

func (_Rollup *RollupTransactorSession) AddToStakerWhitelist(toAddAddresses []common.Address) (*types.Transaction, error)

AddToStakerWhitelist is a paid mutator transaction binding the contract method 0x6a368561.

Solidity: function addToStakerWhitelist(address[] toAddAddresses) returns()

func (*RollupTransactorSession) AdvanceStake

func (_Rollup *RollupTransactorSession) AdvanceStake(assertionID *big.Int) (*types.Transaction, error)

AdvanceStake is a paid mutator transaction binding the contract method 0x8821b2ae.

Solidity: function advanceStake(uint256 assertionID) returns()

func (*RollupTransactorSession) ChallengeAssertion

func (_Rollup *RollupTransactorSession) ChallengeAssertion(players [2]common.Address, assertionIDs [2]*big.Int) (*types.Transaction, error)

ChallengeAssertion is a paid mutator transaction binding the contract method 0x2f06d1b0.

Solidity: function challengeAssertion(address[2] players, uint256[2] assertionIDs) returns(address)

func (*RollupTransactorSession) CompleteChallenge

func (_Rollup *RollupTransactorSession) CompleteChallenge(winner common.Address, loser common.Address) (*types.Transaction, error)

CompleteChallenge is a paid mutator transaction binding the contract method 0xfa7803e6.

Solidity: function completeChallenge(address winner, address loser) returns()

func (*RollupTransactorSession) ConfirmFirstUnresolvedAssertion

func (_Rollup *RollupTransactorSession) ConfirmFirstUnresolvedAssertion() (*types.Transaction, error)

ConfirmFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x2906040e.

Solidity: function confirmFirstUnresolvedAssertion() returns()

func (*RollupTransactorSession) CreateAssertion

func (_Rollup *RollupTransactorSession) CreateAssertion(vmHash [32]byte, inboxSize *big.Int) (*types.Transaction, error)

CreateAssertion is a paid mutator transaction binding the contract method 0xb6da898f.

Solidity: function createAssertion(bytes32 vmHash, uint256 inboxSize) returns()

func (*RollupTransactorSession) CreateAssertionWithStateBatch

func (_Rollup *RollupTransactorSession) CreateAssertionWithStateBatch(vmHash [32]byte, inboxSize *big.Int, _batch [][32]byte, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

CreateAssertionWithStateBatch is a paid mutator transaction binding the contract method 0x49cd3004.

Solidity: function createAssertionWithStateBatch(bytes32 vmHash, uint256 inboxSize, bytes32[] _batch, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupTransactorSession) Initialize

func (_Rollup *RollupTransactorSession) Initialize(_owner common.Address, _verifier common.Address, _stakeToken common.Address, _libAddressManager common.Address, _assertionMap common.Address, _minimumAssertionPeriod *big.Int, _baseStakeAmount *big.Int, _initialVMhash [32]byte, stakerWhitelists []common.Address, operatorWhitelists []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc97a5919.

Solidity: function initialize(address _owner, address _verifier, address _stakeToken, address _libAddressManager, address _assertionMap, uint256 _minimumAssertionPeriod, uint256 _baseStakeAmount, bytes32 _initialVMhash, address[] stakerWhitelists, address[] operatorWhitelists) returns()

func (*RollupTransactorSession) RejectFirstUnresolvedAssertion

func (_Rollup *RollupTransactorSession) RejectFirstUnresolvedAssertion() (*types.Transaction, error)

RejectFirstUnresolvedAssertion is a paid mutator transaction binding the contract method 0x30b26075.

Solidity: function rejectFirstUnresolvedAssertion() returns()

func (*RollupTransactorSession) RejectLatestCreatedAssertionWithBatch

func (_Rollup *RollupTransactorSession) RejectLatestCreatedAssertionWithBatch(_batchHeader LibBVMCodecChainBatchHeader) (*types.Transaction, error)

RejectLatestCreatedAssertionWithBatch is a paid mutator transaction binding the contract method 0xde574efc.

Solidity: function rejectLatestCreatedAssertionWithBatch((uint256,bytes32,uint256,uint256,bytes,bytes) _batchHeader) returns()

func (*RollupTransactorSession) RemoveFromOperatorWhitelist

func (_Rollup *RollupTransactorSession) RemoveFromOperatorWhitelist(toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromOperatorWhitelist is a paid mutator transaction binding the contract method 0x9efbea23.

Solidity: function removeFromOperatorWhitelist(address[] toRemoveAddresses) returns()

func (*RollupTransactorSession) RemoveFromStakerWhitelist

func (_Rollup *RollupTransactorSession) RemoveFromStakerWhitelist(toRemoveAddresses []common.Address) (*types.Transaction, error)

RemoveFromStakerWhitelist is a paid mutator transaction binding the contract method 0xaca9a518.

Solidity: function removeFromStakerWhitelist(address[] toRemoveAddresses) returns()

func (*RollupTransactorSession) RemoveOldZombies

func (_Rollup *RollupTransactorSession) RemoveOldZombies() (*types.Transaction, error)

RemoveOldZombies is a paid mutator transaction binding the contract method 0x8c669739.

Solidity: function removeOldZombies() returns()

func (*RollupTransactorSession) RemoveStake

func (_Rollup *RollupTransactorSession) RemoveStake(stakerAddress common.Address) (*types.Transaction, error)

RemoveStake is a paid mutator transaction binding the contract method 0xfe2ba848.

Solidity: function removeStake(address stakerAddress) returns()

func (*RollupTransactorSession) RollbackL2Chain

func (_Rollup *RollupTransactorSession) RollbackL2Chain(_shouldRollBack *big.Int, _shouldStartAtElement *big.Int, _signature []byte) (*types.Transaction, error)

RollbackL2Chain is a paid mutator transaction binding the contract method 0xcfc5901d.

Solidity: function rollbackL2Chain(uint256 _shouldRollBack, uint256 _shouldStartAtElement, bytes _signature) returns()

func (*RollupTransactorSession) Stake

func (_Rollup *RollupTransactorSession) Stake(stakeAmount *big.Int, operator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x7acb7757.

Solidity: function stake(uint256 stakeAmount, address operator) returns()

func (*RollupTransactorSession) TransferOwnership

func (_Rollup *RollupTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RollupTransactorSession) Unstake

func (_Rollup *RollupTransactorSession) Unstake(stakeAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 stakeAmount) returns()

func (*RollupTransactorSession) Withdraw

func (_Rollup *RollupTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type VerificationContextContext

type VerificationContextContext struct {
	Coinbase    common.Address
	Timestamp   *big.Int
	Number      *big.Int
	Origin      common.Address
	Transaction EVMTypesLibTransaction
	InputRoot   [32]byte
	TxHash      [32]byte
}

VerificationContextContext is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL