swapIntentDappControl

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwapIntentDappControlABI = SwapIntentDappControlMetaData.ABI

SwapIntentDappControlABI is the input ABI used to generate the binding from. Deprecated: Use SwapIntentDappControlMetaData.ABI instead.

View Source
var SwapIntentDappControlMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_atlas\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BothPreOpsAndUserReturnDataCannotBeTracked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BothUserAndDAppNoncesCannotBeSequential\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidControl\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvertBidValueCannotBeExPostBids\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeDelegatecalled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoDelegatecall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotImplemented\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAtlas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGovernance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernance\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernance\",\"type\":\"address\"}],\"name\":\"GovernanceTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernance\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernance\",\"type\":\"address\"}],\"name\":\"GovernanceTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ATLAS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ATLAS_VERIFICATION\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CALL_CONFIG\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONTROL\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_USER_CONDITIONS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SOURCE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"USER_CONDITION_GAS_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bidAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"allocateValueCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"callConfig\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sessionKey\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"getBidFormat\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bidAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structSolverOperation\",\"name\":\"solverOp\",\"type\":\"tuple\"}],\"name\":\"getBidValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCallConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"userNoncesSequential\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"dappNoncesSequential\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"requirePreOps\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"trackPreOpsReturnData\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"trackUserReturnData\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"delegateUser\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"preSolver\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"postSolver\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"requirePostOps\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"zeroSolvers\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reuseUserOp\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"userAuctioneer\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"solverAuctioneer\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"unknownAuctioneer\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"verifyCallChainHash\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"forwardReturnData\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"requireFulfillment\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"trustedOpHash\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"invertBidValue\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"exPostBids\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"allowAllocateValueFailure\",\"type\":\"bool\"}],\"internalType\":\"structCallConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"callConfig\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sessionKey\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"getDAppConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"callConfig\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"solverGasLimit\",\"type\":\"uint32\"}],\"internalType\":\"structDAppConfig\",\"name\":\"dConfig\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDAppSignatory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSolverGasLimit\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingGovernance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"solved\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"postOpsCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bidAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structSolverOperation\",\"name\":\"solverOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"name\":\"postSolverCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"callConfig\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sessionKey\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"preOpsCall\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"bidToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bidAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structSolverOperation\",\"name\":\"solverOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"name\":\"preSolverCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requireSequentialDAppNonces\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSequential\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requireSequentialUserNonces\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSequential\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenUserBuys\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountUserBuys\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenUserSells\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountUserSells\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"auctionBaseCurrency\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"antecedent\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"}],\"internalType\":\"structCondition[]\",\"name\":\"conditions\",\"type\":\"tuple[]\"}],\"internalType\":\"structSwapIntent\",\"name\":\"swapIntent\",\"type\":\"tuple\"}],\"name\":\"swap\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenUserBuys\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountUserBuys\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenUserSells\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountUserSells\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"auctionBaseCurrency\",\"type\":\"address\"}],\"internalType\":\"structSwapData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newGovernance\",\"type\":\"address\"}],\"name\":\"transferGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"userDelegated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"delegated\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SwapIntentDappControlMetaData contains all meta data concerning the SwapIntentDappControl contract.

Functions

This section is empty.

Types

type CallConfig

type CallConfig struct {
	UserNoncesSequential      bool
	DappNoncesSequential      bool
	RequirePreOps             bool
	TrackPreOpsReturnData     bool
	TrackUserReturnData       bool
	DelegateUser              bool
	PreSolver                 bool
	PostSolver                bool
	RequirePostOps            bool
	ZeroSolvers               bool
	ReuseUserOp               bool
	UserAuctioneer            bool
	SolverAuctioneer          bool
	UnknownAuctioneer         bool
	VerifyCallChainHash       bool
	ForwardReturnData         bool
	RequireFulfillment        bool
	TrustedOpHash             bool
	InvertBidValue            bool
	ExPostBids                bool
	AllowAllocateValueFailure bool
}

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

type Condition

type Condition struct {
	Antecedent common.Address
	Context    []byte
}

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

type DAppConfig

type DAppConfig struct {
	To             common.Address
	CallConfig     uint32
	BidToken       common.Address
	SolverGasLimit uint32
}

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

type SolverOperation

type SolverOperation struct {
	From         common.Address
	To           common.Address
	Value        *big.Int
	Gas          *big.Int
	MaxFeePerGas *big.Int
	Deadline     *big.Int
	Solver       common.Address
	Control      common.Address
	UserOpHash   [32]byte
	BidToken     common.Address
	BidAmount    *big.Int
	Data         []byte
	Signature    []byte
}

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

type SwapData

type SwapData struct {
	TokenUserBuys       common.Address
	AmountUserBuys      *big.Int
	TokenUserSells      common.Address
	AmountUserSells     *big.Int
	AuctionBaseCurrency common.Address
}

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

type SwapIntent

type SwapIntent struct {
	TokenUserBuys       common.Address
	AmountUserBuys      *big.Int
	TokenUserSells      common.Address
	AmountUserSells     *big.Int
	AuctionBaseCurrency common.Address
	Conditions          []Condition
}

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

type SwapIntentDappControl

type SwapIntentDappControl struct {
	SwapIntentDappControlCaller     // Read-only binding to the contract
	SwapIntentDappControlTransactor // Write-only binding to the contract
	SwapIntentDappControlFilterer   // Log filterer for contract events
}

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

func NewSwapIntentDappControl

func NewSwapIntentDappControl(address common.Address, backend bind.ContractBackend) (*SwapIntentDappControl, error)

NewSwapIntentDappControl creates a new instance of SwapIntentDappControl, bound to a specific deployed contract.

type SwapIntentDappControlCaller

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

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

func NewSwapIntentDappControlCaller

func NewSwapIntentDappControlCaller(address common.Address, caller bind.ContractCaller) (*SwapIntentDappControlCaller, error)

NewSwapIntentDappControlCaller creates a new read-only instance of SwapIntentDappControl, bound to a specific deployed contract.

func (*SwapIntentDappControlCaller) ATLAS

func (_SwapIntentDappControl *SwapIntentDappControlCaller) ATLAS(opts *bind.CallOpts) (common.Address, error)

ATLAS is a free data retrieval call binding the contract method 0xe982ae92.

Solidity: function ATLAS() view returns(address)

func (*SwapIntentDappControlCaller) ATLASVERIFICATION

func (_SwapIntentDappControl *SwapIntentDappControlCaller) ATLASVERIFICATION(opts *bind.CallOpts) (common.Address, error)

ATLASVERIFICATION is a free data retrieval call binding the contract method 0xbf230cfb.

Solidity: function ATLAS_VERIFICATION() view returns(address)

func (*SwapIntentDappControlCaller) CALLCONFIG

func (_SwapIntentDappControl *SwapIntentDappControlCaller) CALLCONFIG(opts *bind.CallOpts) (uint32, error)

CALLCONFIG is a free data retrieval call binding the contract method 0x8d212978.

Solidity: function CALL_CONFIG() view returns(uint32)

func (*SwapIntentDappControlCaller) CONTROL

func (_SwapIntentDappControl *SwapIntentDappControlCaller) CONTROL(opts *bind.CallOpts) (common.Address, error)

CONTROL is a free data retrieval call binding the contract method 0x4953ecc7.

Solidity: function CONTROL() view returns(address)

func (*SwapIntentDappControlCaller) GetBidFormat

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetBidFormat(opts *bind.CallOpts, userOp UserOperation) (common.Address, error)

GetBidFormat is a free data retrieval call binding the contract method 0x8831b924.

Solidity: function getBidFormat((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) pure returns(address bidToken)

func (*SwapIntentDappControlCaller) GetBidValue

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetBidValue(opts *bind.CallOpts, solverOp SolverOperation) (*big.Int, error)

GetBidValue is a free data retrieval call binding the contract method 0x6d25fc9a.

Solidity: function getBidValue((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp) pure returns(uint256)

func (*SwapIntentDappControlCaller) GetCallConfig

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetCallConfig(opts *bind.CallOpts) (CallConfig, error)

GetCallConfig is a free data retrieval call binding the contract method 0x6e1ccfc4.

Solidity: function getCallConfig() view returns((bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool))

func (*SwapIntentDappControlCaller) GetDAppConfig

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetDAppConfig(opts *bind.CallOpts, userOp UserOperation) (DAppConfig, error)

GetDAppConfig is a free data retrieval call binding the contract method 0x44912b6e.

Solidity: function getDAppConfig((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) view returns((address,uint32,address,uint32) dConfig)

func (*SwapIntentDappControlCaller) GetDAppSignatory

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetDAppSignatory(opts *bind.CallOpts) (common.Address, error)

GetDAppSignatory is a free data retrieval call binding the contract method 0xee418488.

Solidity: function getDAppSignatory() view returns(address)

func (*SwapIntentDappControlCaller) GetSolverGasLimit

func (_SwapIntentDappControl *SwapIntentDappControlCaller) GetSolverGasLimit(opts *bind.CallOpts) (uint32, error)

GetSolverGasLimit is a free data retrieval call binding the contract method 0x99218be5.

Solidity: function getSolverGasLimit() view returns(uint32)

func (*SwapIntentDappControlCaller) Governance

func (_SwapIntentDappControl *SwapIntentDappControlCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*SwapIntentDappControlCaller) MAXUSERCONDITIONS

func (_SwapIntentDappControl *SwapIntentDappControlCaller) MAXUSERCONDITIONS(opts *bind.CallOpts) (*big.Int, error)

MAXUSERCONDITIONS is a free data retrieval call binding the contract method 0x1bcda8c5.

Solidity: function MAX_USER_CONDITIONS() view returns(uint256)

func (*SwapIntentDappControlCaller) PendingGovernance

func (_SwapIntentDappControl *SwapIntentDappControlCaller) PendingGovernance(opts *bind.CallOpts) (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*SwapIntentDappControlCaller) RequireSequentialDAppNonces

func (_SwapIntentDappControl *SwapIntentDappControlCaller) RequireSequentialDAppNonces(opts *bind.CallOpts) (bool, error)

RequireSequentialDAppNonces is a free data retrieval call binding the contract method 0x72d91684.

Solidity: function requireSequentialDAppNonces() view returns(bool isSequential)

func (*SwapIntentDappControlCaller) RequireSequentialUserNonces

func (_SwapIntentDappControl *SwapIntentDappControlCaller) RequireSequentialUserNonces(opts *bind.CallOpts) (bool, error)

RequireSequentialUserNonces is a free data retrieval call binding the contract method 0xe2c0c30f.

Solidity: function requireSequentialUserNonces() view returns(bool isSequential)

func (*SwapIntentDappControlCaller) SOURCE

func (_SwapIntentDappControl *SwapIntentDappControlCaller) SOURCE(opts *bind.CallOpts) (common.Address, error)

SOURCE is a free data retrieval call binding the contract method 0xf230b4c2.

Solidity: function SOURCE() view returns(address)

func (*SwapIntentDappControlCaller) USERCONDITIONGASLIMIT

func (_SwapIntentDappControl *SwapIntentDappControlCaller) USERCONDITIONGASLIMIT(opts *bind.CallOpts) (*big.Int, error)

USERCONDITIONGASLIMIT is a free data retrieval call binding the contract method 0x13f32cf5.

Solidity: function USER_CONDITION_GAS_LIMIT() view returns(uint256)

func (*SwapIntentDappControlCaller) UserDelegated

func (_SwapIntentDappControl *SwapIntentDappControlCaller) UserDelegated(opts *bind.CallOpts) (bool, error)

UserDelegated is a free data retrieval call binding the contract method 0x1e151167.

Solidity: function userDelegated() view returns(bool delegated)

type SwapIntentDappControlCallerRaw

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

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

func (*SwapIntentDappControlCallerRaw) Call

func (_SwapIntentDappControl *SwapIntentDappControlCallerRaw) 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 SwapIntentDappControlCallerSession

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

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

func (*SwapIntentDappControlCallerSession) ATLAS

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) ATLAS() (common.Address, error)

ATLAS is a free data retrieval call binding the contract method 0xe982ae92.

Solidity: function ATLAS() view returns(address)

func (*SwapIntentDappControlCallerSession) ATLASVERIFICATION

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) ATLASVERIFICATION() (common.Address, error)

ATLASVERIFICATION is a free data retrieval call binding the contract method 0xbf230cfb.

Solidity: function ATLAS_VERIFICATION() view returns(address)

func (*SwapIntentDappControlCallerSession) CALLCONFIG

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) CALLCONFIG() (uint32, error)

CALLCONFIG is a free data retrieval call binding the contract method 0x8d212978.

Solidity: function CALL_CONFIG() view returns(uint32)

func (*SwapIntentDappControlCallerSession) CONTROL

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) CONTROL() (common.Address, error)

CONTROL is a free data retrieval call binding the contract method 0x4953ecc7.

Solidity: function CONTROL() view returns(address)

func (*SwapIntentDappControlCallerSession) GetBidFormat

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetBidFormat(userOp UserOperation) (common.Address, error)

GetBidFormat is a free data retrieval call binding the contract method 0x8831b924.

Solidity: function getBidFormat((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) pure returns(address bidToken)

func (*SwapIntentDappControlCallerSession) GetBidValue

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetBidValue(solverOp SolverOperation) (*big.Int, error)

GetBidValue is a free data retrieval call binding the contract method 0x6d25fc9a.

Solidity: function getBidValue((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp) pure returns(uint256)

func (*SwapIntentDappControlCallerSession) GetCallConfig

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetCallConfig() (CallConfig, error)

GetCallConfig is a free data retrieval call binding the contract method 0x6e1ccfc4.

Solidity: function getCallConfig() view returns((bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool))

func (*SwapIntentDappControlCallerSession) GetDAppConfig

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetDAppConfig(userOp UserOperation) (DAppConfig, error)

GetDAppConfig is a free data retrieval call binding the contract method 0x44912b6e.

Solidity: function getDAppConfig((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) view returns((address,uint32,address,uint32) dConfig)

func (*SwapIntentDappControlCallerSession) GetDAppSignatory

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetDAppSignatory() (common.Address, error)

GetDAppSignatory is a free data retrieval call binding the contract method 0xee418488.

Solidity: function getDAppSignatory() view returns(address)

func (*SwapIntentDappControlCallerSession) GetSolverGasLimit

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) GetSolverGasLimit() (uint32, error)

GetSolverGasLimit is a free data retrieval call binding the contract method 0x99218be5.

Solidity: function getSolverGasLimit() view returns(uint32)

func (*SwapIntentDappControlCallerSession) Governance

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*SwapIntentDappControlCallerSession) MAXUSERCONDITIONS

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) MAXUSERCONDITIONS() (*big.Int, error)

MAXUSERCONDITIONS is a free data retrieval call binding the contract method 0x1bcda8c5.

Solidity: function MAX_USER_CONDITIONS() view returns(uint256)

func (*SwapIntentDappControlCallerSession) PendingGovernance

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*SwapIntentDappControlCallerSession) RequireSequentialDAppNonces

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) RequireSequentialDAppNonces() (bool, error)

RequireSequentialDAppNonces is a free data retrieval call binding the contract method 0x72d91684.

Solidity: function requireSequentialDAppNonces() view returns(bool isSequential)

func (*SwapIntentDappControlCallerSession) RequireSequentialUserNonces

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) RequireSequentialUserNonces() (bool, error)

RequireSequentialUserNonces is a free data retrieval call binding the contract method 0xe2c0c30f.

Solidity: function requireSequentialUserNonces() view returns(bool isSequential)

func (*SwapIntentDappControlCallerSession) SOURCE

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) SOURCE() (common.Address, error)

SOURCE is a free data retrieval call binding the contract method 0xf230b4c2.

Solidity: function SOURCE() view returns(address)

func (*SwapIntentDappControlCallerSession) USERCONDITIONGASLIMIT

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) USERCONDITIONGASLIMIT() (*big.Int, error)

USERCONDITIONGASLIMIT is a free data retrieval call binding the contract method 0x13f32cf5.

Solidity: function USER_CONDITION_GAS_LIMIT() view returns(uint256)

func (*SwapIntentDappControlCallerSession) UserDelegated

func (_SwapIntentDappControl *SwapIntentDappControlCallerSession) UserDelegated() (bool, error)

UserDelegated is a free data retrieval call binding the contract method 0x1e151167.

Solidity: function userDelegated() view returns(bool delegated)

type SwapIntentDappControlFilterer

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

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

func NewSwapIntentDappControlFilterer

func NewSwapIntentDappControlFilterer(address common.Address, filterer bind.ContractFilterer) (*SwapIntentDappControlFilterer, error)

NewSwapIntentDappControlFilterer creates a new log filterer instance of SwapIntentDappControl, bound to a specific deployed contract.

func (*SwapIntentDappControlFilterer) FilterGovernanceTransferStarted

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) FilterGovernanceTransferStarted(opts *bind.FilterOpts, previousGovernance []common.Address, newGovernance []common.Address) (*SwapIntentDappControlGovernanceTransferStartedIterator, error)

FilterGovernanceTransferStarted is a free log retrieval operation binding the contract event 0x1c4bb4e3cab7b72da7eb9f0ae62554dda85dc7fb907c946ad2776095b95ac1ad.

Solidity: event GovernanceTransferStarted(address indexed previousGovernance, address indexed newGovernance)

func (*SwapIntentDappControlFilterer) FilterGovernanceTransferred

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) FilterGovernanceTransferred(opts *bind.FilterOpts, previousGovernance []common.Address, newGovernance []common.Address) (*SwapIntentDappControlGovernanceTransferredIterator, error)

FilterGovernanceTransferred is a free log retrieval operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address indexed previousGovernance, address indexed newGovernance)

func (*SwapIntentDappControlFilterer) ParseGovernanceTransferStarted

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) ParseGovernanceTransferStarted(log types.Log) (*SwapIntentDappControlGovernanceTransferStarted, error)

ParseGovernanceTransferStarted is a log parse operation binding the contract event 0x1c4bb4e3cab7b72da7eb9f0ae62554dda85dc7fb907c946ad2776095b95ac1ad.

Solidity: event GovernanceTransferStarted(address indexed previousGovernance, address indexed newGovernance)

func (*SwapIntentDappControlFilterer) ParseGovernanceTransferred

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) ParseGovernanceTransferred(log types.Log) (*SwapIntentDappControlGovernanceTransferred, error)

ParseGovernanceTransferred is a log parse operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address indexed previousGovernance, address indexed newGovernance)

func (*SwapIntentDappControlFilterer) WatchGovernanceTransferStarted

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) WatchGovernanceTransferStarted(opts *bind.WatchOpts, sink chan<- *SwapIntentDappControlGovernanceTransferStarted, previousGovernance []common.Address, newGovernance []common.Address) (event.Subscription, error)

WatchGovernanceTransferStarted is a free log subscription operation binding the contract event 0x1c4bb4e3cab7b72da7eb9f0ae62554dda85dc7fb907c946ad2776095b95ac1ad.

Solidity: event GovernanceTransferStarted(address indexed previousGovernance, address indexed newGovernance)

func (*SwapIntentDappControlFilterer) WatchGovernanceTransferred

func (_SwapIntentDappControl *SwapIntentDappControlFilterer) WatchGovernanceTransferred(opts *bind.WatchOpts, sink chan<- *SwapIntentDappControlGovernanceTransferred, previousGovernance []common.Address, newGovernance []common.Address) (event.Subscription, error)

WatchGovernanceTransferred is a free log subscription operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address indexed previousGovernance, address indexed newGovernance)

type SwapIntentDappControlGovernanceTransferStarted

type SwapIntentDappControlGovernanceTransferStarted struct {
	PreviousGovernance common.Address
	NewGovernance      common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

SwapIntentDappControlGovernanceTransferStarted represents a GovernanceTransferStarted event raised by the SwapIntentDappControl contract.

type SwapIntentDappControlGovernanceTransferStartedIterator

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

SwapIntentDappControlGovernanceTransferStartedIterator is returned from FilterGovernanceTransferStarted and is used to iterate over the raw logs and unpacked data for GovernanceTransferStarted events raised by the SwapIntentDappControl contract.

func (*SwapIntentDappControlGovernanceTransferStartedIterator) Close

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

func (*SwapIntentDappControlGovernanceTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapIntentDappControlGovernanceTransferStartedIterator) 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 SwapIntentDappControlGovernanceTransferred

type SwapIntentDappControlGovernanceTransferred struct {
	PreviousGovernance common.Address
	NewGovernance      common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

SwapIntentDappControlGovernanceTransferred represents a GovernanceTransferred event raised by the SwapIntentDappControl contract.

type SwapIntentDappControlGovernanceTransferredIterator

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

SwapIntentDappControlGovernanceTransferredIterator is returned from FilterGovernanceTransferred and is used to iterate over the raw logs and unpacked data for GovernanceTransferred events raised by the SwapIntentDappControl contract.

func (*SwapIntentDappControlGovernanceTransferredIterator) Close

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

func (*SwapIntentDappControlGovernanceTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SwapIntentDappControlGovernanceTransferredIterator) 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 SwapIntentDappControlRaw

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

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

func (*SwapIntentDappControlRaw) Call

func (_SwapIntentDappControl *SwapIntentDappControlRaw) 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 (*SwapIntentDappControlRaw) Transact

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

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

func (*SwapIntentDappControlRaw) Transfer

func (_SwapIntentDappControl *SwapIntentDappControlRaw) 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 SwapIntentDappControlSession

type SwapIntentDappControlSession struct {
	Contract     *SwapIntentDappControl // 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
}

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

func (*SwapIntentDappControlSession) ATLAS

func (_SwapIntentDappControl *SwapIntentDappControlSession) ATLAS() (common.Address, error)

ATLAS is a free data retrieval call binding the contract method 0xe982ae92.

Solidity: function ATLAS() view returns(address)

func (*SwapIntentDappControlSession) ATLASVERIFICATION

func (_SwapIntentDappControl *SwapIntentDappControlSession) ATLASVERIFICATION() (common.Address, error)

ATLASVERIFICATION is a free data retrieval call binding the contract method 0xbf230cfb.

Solidity: function ATLAS_VERIFICATION() view returns(address)

func (*SwapIntentDappControlSession) AcceptGovernance

func (_SwapIntentDappControl *SwapIntentDappControlSession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*SwapIntentDappControlSession) AllocateValueCall

func (_SwapIntentDappControl *SwapIntentDappControlSession) AllocateValueCall(bidToken common.Address, bidAmount *big.Int, data []byte) (*types.Transaction, error)

AllocateValueCall is a paid mutator transaction binding the contract method 0x2f5e0d16.

Solidity: function allocateValueCall(address bidToken, uint256 bidAmount, bytes data) returns()

func (*SwapIntentDappControlSession) CALLCONFIG

func (_SwapIntentDappControl *SwapIntentDappControlSession) CALLCONFIG() (uint32, error)

CALLCONFIG is a free data retrieval call binding the contract method 0x8d212978.

Solidity: function CALL_CONFIG() view returns(uint32)

func (*SwapIntentDappControlSession) CONTROL

func (_SwapIntentDappControl *SwapIntentDappControlSession) CONTROL() (common.Address, error)

CONTROL is a free data retrieval call binding the contract method 0x4953ecc7.

Solidity: function CONTROL() view returns(address)

func (*SwapIntentDappControlSession) GetBidFormat

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetBidFormat(userOp UserOperation) (common.Address, error)

GetBidFormat is a free data retrieval call binding the contract method 0x8831b924.

Solidity: function getBidFormat((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) pure returns(address bidToken)

func (*SwapIntentDappControlSession) GetBidValue

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetBidValue(solverOp SolverOperation) (*big.Int, error)

GetBidValue is a free data retrieval call binding the contract method 0x6d25fc9a.

Solidity: function getBidValue((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp) pure returns(uint256)

func (*SwapIntentDappControlSession) GetCallConfig

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetCallConfig() (CallConfig, error)

GetCallConfig is a free data retrieval call binding the contract method 0x6e1ccfc4.

Solidity: function getCallConfig() view returns((bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool))

func (*SwapIntentDappControlSession) GetDAppConfig

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetDAppConfig(userOp UserOperation) (DAppConfig, error)

GetDAppConfig is a free data retrieval call binding the contract method 0x44912b6e.

Solidity: function getDAppConfig((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) view returns((address,uint32,address,uint32) dConfig)

func (*SwapIntentDappControlSession) GetDAppSignatory

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetDAppSignatory() (common.Address, error)

GetDAppSignatory is a free data retrieval call binding the contract method 0xee418488.

Solidity: function getDAppSignatory() view returns(address)

func (*SwapIntentDappControlSession) GetSolverGasLimit

func (_SwapIntentDappControl *SwapIntentDappControlSession) GetSolverGasLimit() (uint32, error)

GetSolverGasLimit is a free data retrieval call binding the contract method 0x99218be5.

Solidity: function getSolverGasLimit() view returns(uint32)

func (*SwapIntentDappControlSession) Governance

func (_SwapIntentDappControl *SwapIntentDappControlSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*SwapIntentDappControlSession) MAXUSERCONDITIONS

func (_SwapIntentDappControl *SwapIntentDappControlSession) MAXUSERCONDITIONS() (*big.Int, error)

MAXUSERCONDITIONS is a free data retrieval call binding the contract method 0x1bcda8c5.

Solidity: function MAX_USER_CONDITIONS() view returns(uint256)

func (*SwapIntentDappControlSession) PendingGovernance

func (_SwapIntentDappControl *SwapIntentDappControlSession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*SwapIntentDappControlSession) PostOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlSession) PostOpsCall(solved bool, data []byte) (*types.Transaction, error)

PostOpsCall is a paid mutator transaction binding the contract method 0x836a611b.

Solidity: function postOpsCall(bool solved, bytes data) payable returns(bool)

func (*SwapIntentDappControlSession) PostSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlSession) PostSolverCall(solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PostSolverCall is a paid mutator transaction binding the contract method 0x6d4d6b2e.

Solidity: function postSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlSession) PreOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlSession) PreOpsCall(userOp UserOperation) (*types.Transaction, error)

PreOpsCall is a paid mutator transaction binding the contract method 0x77bceb1b.

Solidity: function preOpsCall((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) payable returns(bytes)

func (*SwapIntentDappControlSession) PreSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlSession) PreSolverCall(solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PreSolverCall is a paid mutator transaction binding the contract method 0x283ee1cf.

Solidity: function preSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlSession) RequireSequentialDAppNonces

func (_SwapIntentDappControl *SwapIntentDappControlSession) RequireSequentialDAppNonces() (bool, error)

RequireSequentialDAppNonces is a free data retrieval call binding the contract method 0x72d91684.

Solidity: function requireSequentialDAppNonces() view returns(bool isSequential)

func (*SwapIntentDappControlSession) RequireSequentialUserNonces

func (_SwapIntentDappControl *SwapIntentDappControlSession) RequireSequentialUserNonces() (bool, error)

RequireSequentialUserNonces is a free data retrieval call binding the contract method 0xe2c0c30f.

Solidity: function requireSequentialUserNonces() view returns(bool isSequential)

func (*SwapIntentDappControlSession) SOURCE

func (_SwapIntentDappControl *SwapIntentDappControlSession) SOURCE() (common.Address, error)

SOURCE is a free data retrieval call binding the contract method 0xf230b4c2.

Solidity: function SOURCE() view returns(address)

func (*SwapIntentDappControlSession) Swap

func (_SwapIntentDappControl *SwapIntentDappControlSession) Swap(swapIntent SwapIntent) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x4a9de849.

Solidity: function swap((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent) payable returns((address,uint256,address,uint256,address))

func (*SwapIntentDappControlSession) TransferGovernance

func (_SwapIntentDappControl *SwapIntentDappControlSession) TransferGovernance(newGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGovernance) returns()

func (*SwapIntentDappControlSession) USERCONDITIONGASLIMIT

func (_SwapIntentDappControl *SwapIntentDappControlSession) USERCONDITIONGASLIMIT() (*big.Int, error)

USERCONDITIONGASLIMIT is a free data retrieval call binding the contract method 0x13f32cf5.

Solidity: function USER_CONDITION_GAS_LIMIT() view returns(uint256)

func (*SwapIntentDappControlSession) UserDelegated

func (_SwapIntentDappControl *SwapIntentDappControlSession) UserDelegated() (bool, error)

UserDelegated is a free data retrieval call binding the contract method 0x1e151167.

Solidity: function userDelegated() view returns(bool delegated)

type SwapIntentDappControlTransactor

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

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

func NewSwapIntentDappControlTransactor

func NewSwapIntentDappControlTransactor(address common.Address, transactor bind.ContractTransactor) (*SwapIntentDappControlTransactor, error)

NewSwapIntentDappControlTransactor creates a new write-only instance of SwapIntentDappControl, bound to a specific deployed contract.

func (*SwapIntentDappControlTransactor) AcceptGovernance

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) AcceptGovernance(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*SwapIntentDappControlTransactor) AllocateValueCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) AllocateValueCall(opts *bind.TransactOpts, bidToken common.Address, bidAmount *big.Int, data []byte) (*types.Transaction, error)

AllocateValueCall is a paid mutator transaction binding the contract method 0x2f5e0d16.

Solidity: function allocateValueCall(address bidToken, uint256 bidAmount, bytes data) returns()

func (*SwapIntentDappControlTransactor) PostOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) PostOpsCall(opts *bind.TransactOpts, solved bool, data []byte) (*types.Transaction, error)

PostOpsCall is a paid mutator transaction binding the contract method 0x836a611b.

Solidity: function postOpsCall(bool solved, bytes data) payable returns(bool)

func (*SwapIntentDappControlTransactor) PostSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) PostSolverCall(opts *bind.TransactOpts, solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PostSolverCall is a paid mutator transaction binding the contract method 0x6d4d6b2e.

Solidity: function postSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlTransactor) PreOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) PreOpsCall(opts *bind.TransactOpts, userOp UserOperation) (*types.Transaction, error)

PreOpsCall is a paid mutator transaction binding the contract method 0x77bceb1b.

Solidity: function preOpsCall((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) payable returns(bytes)

func (*SwapIntentDappControlTransactor) PreSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) PreSolverCall(opts *bind.TransactOpts, solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PreSolverCall is a paid mutator transaction binding the contract method 0x283ee1cf.

Solidity: function preSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlTransactor) Swap

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) Swap(opts *bind.TransactOpts, swapIntent SwapIntent) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x4a9de849.

Solidity: function swap((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent) payable returns((address,uint256,address,uint256,address))

func (*SwapIntentDappControlTransactor) TransferGovernance

func (_SwapIntentDappControl *SwapIntentDappControlTransactor) TransferGovernance(opts *bind.TransactOpts, newGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGovernance) returns()

type SwapIntentDappControlTransactorRaw

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

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

func (*SwapIntentDappControlTransactorRaw) Transact

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

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

func (*SwapIntentDappControlTransactorRaw) Transfer

func (_SwapIntentDappControl *SwapIntentDappControlTransactorRaw) 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 SwapIntentDappControlTransactorSession

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

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

func (*SwapIntentDappControlTransactorSession) AcceptGovernance

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*SwapIntentDappControlTransactorSession) AllocateValueCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) AllocateValueCall(bidToken common.Address, bidAmount *big.Int, data []byte) (*types.Transaction, error)

AllocateValueCall is a paid mutator transaction binding the contract method 0x2f5e0d16.

Solidity: function allocateValueCall(address bidToken, uint256 bidAmount, bytes data) returns()

func (*SwapIntentDappControlTransactorSession) PostOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) PostOpsCall(solved bool, data []byte) (*types.Transaction, error)

PostOpsCall is a paid mutator transaction binding the contract method 0x836a611b.

Solidity: function postOpsCall(bool solved, bytes data) payable returns(bool)

func (*SwapIntentDappControlTransactorSession) PostSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) PostSolverCall(solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PostSolverCall is a paid mutator transaction binding the contract method 0x6d4d6b2e.

Solidity: function postSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlTransactorSession) PreOpsCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) PreOpsCall(userOp UserOperation) (*types.Transaction, error)

PreOpsCall is a paid mutator transaction binding the contract method 0x77bceb1b.

Solidity: function preOpsCall((address,address,uint256,uint256,uint256,uint256,uint256,address,address,uint32,address,bytes,bytes) userOp) payable returns(bytes)

func (*SwapIntentDappControlTransactorSession) PreSolverCall

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) PreSolverCall(solverOp SolverOperation, returnData []byte) (*types.Transaction, error)

PreSolverCall is a paid mutator transaction binding the contract method 0x283ee1cf.

Solidity: function preSolverCall((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,address,uint256,bytes,bytes) solverOp, bytes returnData) payable returns()

func (*SwapIntentDappControlTransactorSession) Swap

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) Swap(swapIntent SwapIntent) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x4a9de849.

Solidity: function swap((address,uint256,address,uint256,address,(address,bytes)[]) swapIntent) payable returns((address,uint256,address,uint256,address))

func (*SwapIntentDappControlTransactorSession) TransferGovernance

func (_SwapIntentDappControl *SwapIntentDappControlTransactorSession) TransferGovernance(newGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGovernance) returns()

type UserOperation

type UserOperation struct {
	From         common.Address
	To           common.Address
	Value        *big.Int
	Gas          *big.Int
	MaxFeePerGas *big.Int
	Nonce        *big.Int
	Deadline     *big.Int
	Dapp         common.Address
	Control      common.Address
	CallConfig   uint32
	SessionKey   common.Address
	Data         []byte
	Signature    []byte
}

UserOperation 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