contracts

package
v0.0.0-...-313251d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IScalarExecutableABI = IScalarExecutableMetaData.ABI

IScalarExecutableABI is the input ABI used to generate the binding from. Deprecated: Use IScalarExecutableMetaData.ABI instead.

View Source
var IScalarExecutableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"NotApprovedByGateway\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"executeWithToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gateway\",\"outputs\":[{\"internalType\":\"contractIAxelarGateway\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IScalarExecutableMetaData contains all meta data concerning the IScalarExecutable contract.

View Source
var IScalarGatewayABI = IScalarGatewayMetaData.ABI

IScalarGatewayABI is the input ABI used to generate the binding from. Deprecated: Use IScalarGatewayMetaData.ABI instead.

View Source
var IScalarGatewayMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"BurnFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"ExceedMintLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAuthModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCodeHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCommands\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSetMintLimitsParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTokenDeployer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"MintFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotProxy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSelf\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SetupFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"TokenAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"TokenContractDoesNotExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"TokenDeployFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"TokenDoesNotExist\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationContractAddress\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"ContractCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sourceTxHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sourceEventIndex\",\"type\":\"uint256\"}],\"name\":\"ContractCallApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"sourceTxHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sourceEventIndex\",\"type\":\"uint256\"}],\"name\":\"ContractCallApprovedWithMint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationContractAddress\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ContractCallWithToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"newOperatorsData\",\"type\":\"bytes\"}],\"name\":\"OperatorshipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenAddresses\",\"type\":\"address\"}],\"name\":\"TokenDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"TokenMintLimitUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"adminEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"}],\"name\":\"adminThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"}],\"name\":\"admins\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allTokensFrozen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"authModule\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"contractAddress\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"callContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"contractAddress\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"callContractWithToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"}],\"name\":\"isCommandExecuted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"isContractCallAndMintApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"}],\"name\":\"isContractCallApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destinationAddress\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"sendToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"symbols\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"limits\",\"type\":\"uint256[]\"}],\"name\":\"setTokenMintLimits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"setup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"tokenAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenDeployer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"tokenFrozen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"tokenMintAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"name\":\"tokenMintLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"newImplementationCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"setupParams\",\"type\":\"bytes\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"}],\"name\":\"validateContractCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commandId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceAddress\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"payloadHash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"validateContractCallAndMint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IScalarGatewayMetaData contains all meta data concerning the IScalarGateway contract.

Functions

This section is empty.

Types

type IScalarExecutable

type IScalarExecutable struct {
	IScalarExecutableCaller     // Read-only binding to the contract
	IScalarExecutableTransactor // Write-only binding to the contract
	IScalarExecutableFilterer   // Log filterer for contract events
}

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

func NewIScalarExecutable

func NewIScalarExecutable(address common.Address, backend bind.ContractBackend) (*IScalarExecutable, error)

NewIScalarExecutable creates a new instance of IScalarExecutable, bound to a specific deployed contract.

type IScalarExecutableCaller

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

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

func NewIScalarExecutableCaller

func NewIScalarExecutableCaller(address common.Address, caller bind.ContractCaller) (*IScalarExecutableCaller, error)

NewIScalarExecutableCaller creates a new read-only instance of IScalarExecutable, bound to a specific deployed contract.

func (*IScalarExecutableCaller) Gateway

func (_IScalarExecutable *IScalarExecutableCaller) Gateway(opts *bind.CallOpts) (common.Address, error)

Gateway is a free data retrieval call binding the contract method 0x116191b6.

Solidity: function gateway() view returns(address)

type IScalarExecutableCallerRaw

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

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

func (*IScalarExecutableCallerRaw) Call

func (_IScalarExecutable *IScalarExecutableCallerRaw) 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 IScalarExecutableCallerSession

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

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

func (*IScalarExecutableCallerSession) Gateway

func (_IScalarExecutable *IScalarExecutableCallerSession) Gateway() (common.Address, error)

Gateway is a free data retrieval call binding the contract method 0x116191b6.

Solidity: function gateway() view returns(address)

type IScalarExecutableFilterer

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

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

func NewIScalarExecutableFilterer

func NewIScalarExecutableFilterer(address common.Address, filterer bind.ContractFilterer) (*IScalarExecutableFilterer, error)

NewIScalarExecutableFilterer creates a new log filterer instance of IScalarExecutable, bound to a specific deployed contract.

type IScalarExecutableRaw

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

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

func (*IScalarExecutableRaw) Call

func (_IScalarExecutable *IScalarExecutableRaw) 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 (*IScalarExecutableRaw) Transact

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

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

func (*IScalarExecutableRaw) Transfer

func (_IScalarExecutable *IScalarExecutableRaw) 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 IScalarExecutableSession

type IScalarExecutableSession struct {
	Contract     *IScalarExecutable // 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
}

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

func (*IScalarExecutableSession) Execute

func (_IScalarExecutable *IScalarExecutableSession) Execute(commandId [32]byte, sourceChain string, sourceAddress string, payload []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x49160658.

Solidity: function execute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload) returns()

func (*IScalarExecutableSession) ExecuteWithToken

func (_IScalarExecutable *IScalarExecutableSession) ExecuteWithToken(commandId [32]byte, sourceChain string, sourceAddress string, payload []byte, tokenSymbol string, amount *big.Int) (*types.Transaction, error)

ExecuteWithToken is a paid mutator transaction binding the contract method 0x1a98b2e0.

Solidity: function executeWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string tokenSymbol, uint256 amount) returns()

func (*IScalarExecutableSession) Gateway

func (_IScalarExecutable *IScalarExecutableSession) Gateway() (common.Address, error)

Gateway is a free data retrieval call binding the contract method 0x116191b6.

Solidity: function gateway() view returns(address)

type IScalarExecutableTransactor

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

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

func NewIScalarExecutableTransactor

func NewIScalarExecutableTransactor(address common.Address, transactor bind.ContractTransactor) (*IScalarExecutableTransactor, error)

NewIScalarExecutableTransactor creates a new write-only instance of IScalarExecutable, bound to a specific deployed contract.

func (*IScalarExecutableTransactor) Execute

func (_IScalarExecutable *IScalarExecutableTransactor) Execute(opts *bind.TransactOpts, commandId [32]byte, sourceChain string, sourceAddress string, payload []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x49160658.

Solidity: function execute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload) returns()

func (*IScalarExecutableTransactor) ExecuteWithToken

func (_IScalarExecutable *IScalarExecutableTransactor) ExecuteWithToken(opts *bind.TransactOpts, commandId [32]byte, sourceChain string, sourceAddress string, payload []byte, tokenSymbol string, amount *big.Int) (*types.Transaction, error)

ExecuteWithToken is a paid mutator transaction binding the contract method 0x1a98b2e0.

Solidity: function executeWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string tokenSymbol, uint256 amount) returns()

type IScalarExecutableTransactorRaw

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

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

func (*IScalarExecutableTransactorRaw) Transact

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

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

func (*IScalarExecutableTransactorRaw) Transfer

func (_IScalarExecutable *IScalarExecutableTransactorRaw) 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 IScalarExecutableTransactorSession

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

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

func (*IScalarExecutableTransactorSession) Execute

func (_IScalarExecutable *IScalarExecutableTransactorSession) Execute(commandId [32]byte, sourceChain string, sourceAddress string, payload []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x49160658.

Solidity: function execute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload) returns()

func (*IScalarExecutableTransactorSession) ExecuteWithToken

func (_IScalarExecutable *IScalarExecutableTransactorSession) ExecuteWithToken(commandId [32]byte, sourceChain string, sourceAddress string, payload []byte, tokenSymbol string, amount *big.Int) (*types.Transaction, error)

ExecuteWithToken is a paid mutator transaction binding the contract method 0x1a98b2e0.

Solidity: function executeWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string tokenSymbol, uint256 amount) returns()

type IScalarGateway

type IScalarGateway struct {
	IScalarGatewayCaller     // Read-only binding to the contract
	IScalarGatewayTransactor // Write-only binding to the contract
	IScalarGatewayFilterer   // Log filterer for contract events
}

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

func NewIScalarGateway

func NewIScalarGateway(address common.Address, backend bind.ContractBackend) (*IScalarGateway, error)

NewIScalarGateway creates a new instance of IScalarGateway, bound to a specific deployed contract.

type IScalarGatewayCaller

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

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

func NewIScalarGatewayCaller

func NewIScalarGatewayCaller(address common.Address, caller bind.ContractCaller) (*IScalarGatewayCaller, error)

NewIScalarGatewayCaller creates a new read-only instance of IScalarGateway, bound to a specific deployed contract.

func (*IScalarGatewayCaller) AdminEpoch

func (_IScalarGateway *IScalarGatewayCaller) AdminEpoch(opts *bind.CallOpts) (*big.Int, error)

AdminEpoch is a free data retrieval call binding the contract method 0x364940d8.

Solidity: function adminEpoch() view returns(uint256)

func (*IScalarGatewayCaller) AdminThreshold

func (_IScalarGateway *IScalarGatewayCaller) AdminThreshold(opts *bind.CallOpts, epoch *big.Int) (*big.Int, error)

AdminThreshold is a free data retrieval call binding the contract method 0x88b30587.

Solidity: function adminThreshold(uint256 epoch) view returns(uint256)

func (*IScalarGatewayCaller) Admins

func (_IScalarGateway *IScalarGatewayCaller) Admins(opts *bind.CallOpts, epoch *big.Int) ([]common.Address, error)

Admins is a free data retrieval call binding the contract method 0x14bfd6d0.

Solidity: function admins(uint256 epoch) view returns(address[])

func (*IScalarGatewayCaller) AllTokensFrozen

func (_IScalarGateway *IScalarGatewayCaller) AllTokensFrozen(opts *bind.CallOpts) (bool, error)

AllTokensFrozen is a free data retrieval call binding the contract method 0xaa1e1f0a.

Solidity: function allTokensFrozen() view returns(bool)

func (*IScalarGatewayCaller) AuthModule

func (_IScalarGateway *IScalarGatewayCaller) AuthModule(opts *bind.CallOpts) (common.Address, error)

AuthModule is a free data retrieval call binding the contract method 0x64940c56.

Solidity: function authModule() view returns(address)

func (*IScalarGatewayCaller) Implementation

func (_IScalarGateway *IScalarGatewayCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*IScalarGatewayCaller) IsCommandExecuted

func (_IScalarGateway *IScalarGatewayCaller) IsCommandExecuted(opts *bind.CallOpts, commandId [32]byte) (bool, error)

IsCommandExecuted is a free data retrieval call binding the contract method 0xd26ff210.

Solidity: function isCommandExecuted(bytes32 commandId) view returns(bool)

func (*IScalarGatewayCaller) IsContractCallAndMintApproved

func (_IScalarGateway *IScalarGatewayCaller) IsContractCallAndMintApproved(opts *bind.CallOpts, commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte, symbol string, amount *big.Int) (bool, error)

IsContractCallAndMintApproved is a free data retrieval call binding the contract method 0xbc00c216.

Solidity: function isContractCallAndMintApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash, string symbol, uint256 amount) view returns(bool)

func (*IScalarGatewayCaller) IsContractCallApproved

func (_IScalarGateway *IScalarGatewayCaller) IsContractCallApproved(opts *bind.CallOpts, commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte) (bool, error)

IsContractCallApproved is a free data retrieval call binding the contract method 0xf6a5f9f5.

Solidity: function isContractCallApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash) view returns(bool)

func (*IScalarGatewayCaller) TokenAddresses

func (_IScalarGateway *IScalarGatewayCaller) TokenAddresses(opts *bind.CallOpts, symbol string) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0x935b13f6.

Solidity: function tokenAddresses(string symbol) view returns(address)

func (*IScalarGatewayCaller) TokenDeployer

func (_IScalarGateway *IScalarGatewayCaller) TokenDeployer(opts *bind.CallOpts) (common.Address, error)

TokenDeployer is a free data retrieval call binding the contract method 0x2a2dae0a.

Solidity: function tokenDeployer() view returns(address)

func (*IScalarGatewayCaller) TokenFrozen

func (_IScalarGateway *IScalarGatewayCaller) TokenFrozen(opts *bind.CallOpts, symbol string) (bool, error)

TokenFrozen is a free data retrieval call binding the contract method 0x7b1b769e.

Solidity: function tokenFrozen(string symbol) view returns(bool)

func (*IScalarGatewayCaller) TokenMintAmount

func (_IScalarGateway *IScalarGatewayCaller) TokenMintAmount(opts *bind.CallOpts, symbol string) (*big.Int, error)

TokenMintAmount is a free data retrieval call binding the contract method 0xcec7b359.

Solidity: function tokenMintAmount(string symbol) view returns(uint256)

func (*IScalarGatewayCaller) TokenMintLimit

func (_IScalarGateway *IScalarGatewayCaller) TokenMintLimit(opts *bind.CallOpts, symbol string) (*big.Int, error)

TokenMintLimit is a free data retrieval call binding the contract method 0x269eb65e.

Solidity: function tokenMintLimit(string symbol) view returns(uint256)

type IScalarGatewayCallerRaw

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

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

func (*IScalarGatewayCallerRaw) Call

func (_IScalarGateway *IScalarGatewayCallerRaw) 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 IScalarGatewayCallerSession

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

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

func (*IScalarGatewayCallerSession) AdminEpoch

func (_IScalarGateway *IScalarGatewayCallerSession) AdminEpoch() (*big.Int, error)

AdminEpoch is a free data retrieval call binding the contract method 0x364940d8.

Solidity: function adminEpoch() view returns(uint256)

func (*IScalarGatewayCallerSession) AdminThreshold

func (_IScalarGateway *IScalarGatewayCallerSession) AdminThreshold(epoch *big.Int) (*big.Int, error)

AdminThreshold is a free data retrieval call binding the contract method 0x88b30587.

Solidity: function adminThreshold(uint256 epoch) view returns(uint256)

func (*IScalarGatewayCallerSession) Admins

func (_IScalarGateway *IScalarGatewayCallerSession) Admins(epoch *big.Int) ([]common.Address, error)

Admins is a free data retrieval call binding the contract method 0x14bfd6d0.

Solidity: function admins(uint256 epoch) view returns(address[])

func (*IScalarGatewayCallerSession) AllTokensFrozen

func (_IScalarGateway *IScalarGatewayCallerSession) AllTokensFrozen() (bool, error)

AllTokensFrozen is a free data retrieval call binding the contract method 0xaa1e1f0a.

Solidity: function allTokensFrozen() view returns(bool)

func (*IScalarGatewayCallerSession) AuthModule

func (_IScalarGateway *IScalarGatewayCallerSession) AuthModule() (common.Address, error)

AuthModule is a free data retrieval call binding the contract method 0x64940c56.

Solidity: function authModule() view returns(address)

func (*IScalarGatewayCallerSession) Implementation

func (_IScalarGateway *IScalarGatewayCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*IScalarGatewayCallerSession) IsCommandExecuted

func (_IScalarGateway *IScalarGatewayCallerSession) IsCommandExecuted(commandId [32]byte) (bool, error)

IsCommandExecuted is a free data retrieval call binding the contract method 0xd26ff210.

Solidity: function isCommandExecuted(bytes32 commandId) view returns(bool)

func (*IScalarGatewayCallerSession) IsContractCallAndMintApproved

func (_IScalarGateway *IScalarGatewayCallerSession) IsContractCallAndMintApproved(commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte, symbol string, amount *big.Int) (bool, error)

IsContractCallAndMintApproved is a free data retrieval call binding the contract method 0xbc00c216.

Solidity: function isContractCallAndMintApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash, string symbol, uint256 amount) view returns(bool)

func (*IScalarGatewayCallerSession) IsContractCallApproved

func (_IScalarGateway *IScalarGatewayCallerSession) IsContractCallApproved(commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte) (bool, error)

IsContractCallApproved is a free data retrieval call binding the contract method 0xf6a5f9f5.

Solidity: function isContractCallApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash) view returns(bool)

func (*IScalarGatewayCallerSession) TokenAddresses

func (_IScalarGateway *IScalarGatewayCallerSession) TokenAddresses(symbol string) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0x935b13f6.

Solidity: function tokenAddresses(string symbol) view returns(address)

func (*IScalarGatewayCallerSession) TokenDeployer

func (_IScalarGateway *IScalarGatewayCallerSession) TokenDeployer() (common.Address, error)

TokenDeployer is a free data retrieval call binding the contract method 0x2a2dae0a.

Solidity: function tokenDeployer() view returns(address)

func (*IScalarGatewayCallerSession) TokenFrozen

func (_IScalarGateway *IScalarGatewayCallerSession) TokenFrozen(symbol string) (bool, error)

TokenFrozen is a free data retrieval call binding the contract method 0x7b1b769e.

Solidity: function tokenFrozen(string symbol) view returns(bool)

func (*IScalarGatewayCallerSession) TokenMintAmount

func (_IScalarGateway *IScalarGatewayCallerSession) TokenMintAmount(symbol string) (*big.Int, error)

TokenMintAmount is a free data retrieval call binding the contract method 0xcec7b359.

Solidity: function tokenMintAmount(string symbol) view returns(uint256)

func (*IScalarGatewayCallerSession) TokenMintLimit

func (_IScalarGateway *IScalarGatewayCallerSession) TokenMintLimit(symbol string) (*big.Int, error)

TokenMintLimit is a free data retrieval call binding the contract method 0x269eb65e.

Solidity: function tokenMintLimit(string symbol) view returns(uint256)

type IScalarGatewayContractCall

type IScalarGatewayContractCall struct {
	Sender                     common.Address
	DestinationChain           string
	DestinationContractAddress string
	PayloadHash                [32]byte
	Payload                    []byte
	Raw                        types.Log // Blockchain specific contextual infos
}

IScalarGatewayContractCall represents a ContractCall event raised by the IScalarGateway contract.

type IScalarGatewayContractCallApproved

type IScalarGatewayContractCallApproved struct {
	CommandId        [32]byte
	SourceChain      string
	SourceAddress    string
	ContractAddress  common.Address
	PayloadHash      [32]byte
	SourceTxHash     [32]byte
	SourceEventIndex *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

IScalarGatewayContractCallApproved represents a ContractCallApproved event raised by the IScalarGateway contract.

type IScalarGatewayContractCallApprovedIterator

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

IScalarGatewayContractCallApprovedIterator is returned from FilterContractCallApproved and is used to iterate over the raw logs and unpacked data for ContractCallApproved events raised by the IScalarGateway contract.

func (*IScalarGatewayContractCallApprovedIterator) Close

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

func (*IScalarGatewayContractCallApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayContractCallApprovedIterator) 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 IScalarGatewayContractCallApprovedWithMint

type IScalarGatewayContractCallApprovedWithMint struct {
	CommandId        [32]byte
	SourceChain      string
	SourceAddress    string
	ContractAddress  common.Address
	PayloadHash      [32]byte
	Symbol           string
	Amount           *big.Int
	SourceTxHash     [32]byte
	SourceEventIndex *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

IScalarGatewayContractCallApprovedWithMint represents a ContractCallApprovedWithMint event raised by the IScalarGateway contract.

type IScalarGatewayContractCallApprovedWithMintIterator

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

IScalarGatewayContractCallApprovedWithMintIterator is returned from FilterContractCallApprovedWithMint and is used to iterate over the raw logs and unpacked data for ContractCallApprovedWithMint events raised by the IScalarGateway contract.

func (*IScalarGatewayContractCallApprovedWithMintIterator) Close

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

func (*IScalarGatewayContractCallApprovedWithMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayContractCallApprovedWithMintIterator) 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 IScalarGatewayContractCallIterator

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

IScalarGatewayContractCallIterator is returned from FilterContractCall and is used to iterate over the raw logs and unpacked data for ContractCall events raised by the IScalarGateway contract.

func (*IScalarGatewayContractCallIterator) Close

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

func (*IScalarGatewayContractCallIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayContractCallIterator) 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 IScalarGatewayContractCallWithToken

type IScalarGatewayContractCallWithToken struct {
	Sender                     common.Address
	DestinationChain           string
	DestinationContractAddress string
	PayloadHash                [32]byte
	Payload                    []byte
	Symbol                     string
	Amount                     *big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

IScalarGatewayContractCallWithToken represents a ContractCallWithToken event raised by the IScalarGateway contract.

type IScalarGatewayContractCallWithTokenIterator

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

IScalarGatewayContractCallWithTokenIterator is returned from FilterContractCallWithToken and is used to iterate over the raw logs and unpacked data for ContractCallWithToken events raised by the IScalarGateway contract.

func (*IScalarGatewayContractCallWithTokenIterator) Close

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

func (*IScalarGatewayContractCallWithTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayContractCallWithTokenIterator) 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 IScalarGatewayExecuted

type IScalarGatewayExecuted struct {
	CommandId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

IScalarGatewayExecuted represents a Executed event raised by the IScalarGateway contract.

type IScalarGatewayExecutedIterator

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

IScalarGatewayExecutedIterator is returned from FilterExecuted and is used to iterate over the raw logs and unpacked data for Executed events raised by the IScalarGateway contract.

func (*IScalarGatewayExecutedIterator) Close

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

func (*IScalarGatewayExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayExecutedIterator) 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 IScalarGatewayFilterer

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

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

func NewIScalarGatewayFilterer

func NewIScalarGatewayFilterer(address common.Address, filterer bind.ContractFilterer) (*IScalarGatewayFilterer, error)

NewIScalarGatewayFilterer creates a new log filterer instance of IScalarGateway, bound to a specific deployed contract.

func (*IScalarGatewayFilterer) FilterContractCall

func (_IScalarGateway *IScalarGatewayFilterer) FilterContractCall(opts *bind.FilterOpts, sender []common.Address, payloadHash [][32]byte) (*IScalarGatewayContractCallIterator, error)

FilterContractCall is a free log retrieval operation binding the contract event 0x30ae6cc78c27e651745bf2ad08a11de83910ac1e347a52f7ac898c0fbef94dae.

Solidity: event ContractCall(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload)

func (*IScalarGatewayFilterer) FilterContractCallApproved

func (_IScalarGateway *IScalarGatewayFilterer) FilterContractCallApproved(opts *bind.FilterOpts, commandId [][32]byte, contractAddress []common.Address, payloadHash [][32]byte) (*IScalarGatewayContractCallApprovedIterator, error)

FilterContractCallApproved is a free log retrieval operation binding the contract event 0x44e4f8f6bd682c5a3aeba93601ab07cb4d1f21b2aab1ae4880d9577919309aa4.

Solidity: event ContractCallApproved(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) FilterContractCallApprovedWithMint

func (_IScalarGateway *IScalarGatewayFilterer) FilterContractCallApprovedWithMint(opts *bind.FilterOpts, commandId [][32]byte, contractAddress []common.Address, payloadHash [][32]byte) (*IScalarGatewayContractCallApprovedWithMintIterator, error)

FilterContractCallApprovedWithMint is a free log retrieval operation binding the contract event 0x9991faa1f435675159ffae64b66d7ecfdb55c29755869a18db8497b4392347e0.

Solidity: event ContractCallApprovedWithMint(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, string symbol, uint256 amount, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) FilterContractCallWithToken

func (_IScalarGateway *IScalarGatewayFilterer) FilterContractCallWithToken(opts *bind.FilterOpts, sender []common.Address, payloadHash [][32]byte) (*IScalarGatewayContractCallWithTokenIterator, error)

FilterContractCallWithToken is a free log retrieval operation binding the contract event 0x7e50569d26be643bda7757722291ec66b1be66d8283474ae3fab5a98f878a7a2.

Solidity: event ContractCallWithToken(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) FilterExecuted

func (_IScalarGateway *IScalarGatewayFilterer) FilterExecuted(opts *bind.FilterOpts, commandId [][32]byte) (*IScalarGatewayExecutedIterator, error)

FilterExecuted is a free log retrieval operation binding the contract event 0xa74c8847d513feba22a0f0cb38d53081abf97562cdb293926ba243689e7c41ca.

Solidity: event Executed(bytes32 indexed commandId)

func (*IScalarGatewayFilterer) FilterOperatorshipTransferred

func (_IScalarGateway *IScalarGatewayFilterer) FilterOperatorshipTransferred(opts *bind.FilterOpts) (*IScalarGatewayOperatorshipTransferredIterator, error)

FilterOperatorshipTransferred is a free log retrieval operation binding the contract event 0x192e759e55f359cd9832b5c0c6e38e4b6df5c5ca33f3bd5c90738e865a521872.

Solidity: event OperatorshipTransferred(bytes newOperatorsData)

func (*IScalarGatewayFilterer) FilterTokenDeployed

func (_IScalarGateway *IScalarGatewayFilterer) FilterTokenDeployed(opts *bind.FilterOpts) (*IScalarGatewayTokenDeployedIterator, error)

FilterTokenDeployed is a free log retrieval operation binding the contract event 0xbf90b5a1ec9763e8bf4b9245cef0c28db92bab309fc2c5177f17814f38246938.

Solidity: event TokenDeployed(string symbol, address tokenAddresses)

func (*IScalarGatewayFilterer) FilterTokenMintLimitUpdated

func (_IScalarGateway *IScalarGatewayFilterer) FilterTokenMintLimitUpdated(opts *bind.FilterOpts) (*IScalarGatewayTokenMintLimitUpdatedIterator, error)

FilterTokenMintLimitUpdated is a free log retrieval operation binding the contract event 0xd99446c1d76385bb5519ccfb5274abcfd5896dfc22405e40010fde217f018a18.

Solidity: event TokenMintLimitUpdated(string symbol, uint256 limit)

func (*IScalarGatewayFilterer) FilterTokenSent

func (_IScalarGateway *IScalarGatewayFilterer) FilterTokenSent(opts *bind.FilterOpts, sender []common.Address) (*IScalarGatewayTokenSentIterator, error)

FilterTokenSent is a free log retrieval operation binding the contract event 0x651d93f66c4329630e8d0f62488eff599e3be484da587335e8dc0fcf46062726.

Solidity: event TokenSent(address indexed sender, string destinationChain, string destinationAddress, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) FilterUpgraded

func (_IScalarGateway *IScalarGatewayFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*IScalarGatewayUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*IScalarGatewayFilterer) ParseContractCall

func (_IScalarGateway *IScalarGatewayFilterer) ParseContractCall(log types.Log) (*IScalarGatewayContractCall, error)

ParseContractCall is a log parse operation binding the contract event 0x30ae6cc78c27e651745bf2ad08a11de83910ac1e347a52f7ac898c0fbef94dae.

Solidity: event ContractCall(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload)

func (*IScalarGatewayFilterer) ParseContractCallApproved

func (_IScalarGateway *IScalarGatewayFilterer) ParseContractCallApproved(log types.Log) (*IScalarGatewayContractCallApproved, error)

ParseContractCallApproved is a log parse operation binding the contract event 0x44e4f8f6bd682c5a3aeba93601ab07cb4d1f21b2aab1ae4880d9577919309aa4.

Solidity: event ContractCallApproved(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) ParseContractCallApprovedWithMint

func (_IScalarGateway *IScalarGatewayFilterer) ParseContractCallApprovedWithMint(log types.Log) (*IScalarGatewayContractCallApprovedWithMint, error)

ParseContractCallApprovedWithMint is a log parse operation binding the contract event 0x9991faa1f435675159ffae64b66d7ecfdb55c29755869a18db8497b4392347e0.

Solidity: event ContractCallApprovedWithMint(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, string symbol, uint256 amount, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) ParseContractCallWithToken

func (_IScalarGateway *IScalarGatewayFilterer) ParseContractCallWithToken(log types.Log) (*IScalarGatewayContractCallWithToken, error)

ParseContractCallWithToken is a log parse operation binding the contract event 0x7e50569d26be643bda7757722291ec66b1be66d8283474ae3fab5a98f878a7a2.

Solidity: event ContractCallWithToken(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) ParseExecuted

func (_IScalarGateway *IScalarGatewayFilterer) ParseExecuted(log types.Log) (*IScalarGatewayExecuted, error)

ParseExecuted is a log parse operation binding the contract event 0xa74c8847d513feba22a0f0cb38d53081abf97562cdb293926ba243689e7c41ca.

Solidity: event Executed(bytes32 indexed commandId)

func (*IScalarGatewayFilterer) ParseOperatorshipTransferred

func (_IScalarGateway *IScalarGatewayFilterer) ParseOperatorshipTransferred(log types.Log) (*IScalarGatewayOperatorshipTransferred, error)

ParseOperatorshipTransferred is a log parse operation binding the contract event 0x192e759e55f359cd9832b5c0c6e38e4b6df5c5ca33f3bd5c90738e865a521872.

Solidity: event OperatorshipTransferred(bytes newOperatorsData)

func (*IScalarGatewayFilterer) ParseTokenDeployed

func (_IScalarGateway *IScalarGatewayFilterer) ParseTokenDeployed(log types.Log) (*IScalarGatewayTokenDeployed, error)

ParseTokenDeployed is a log parse operation binding the contract event 0xbf90b5a1ec9763e8bf4b9245cef0c28db92bab309fc2c5177f17814f38246938.

Solidity: event TokenDeployed(string symbol, address tokenAddresses)

func (*IScalarGatewayFilterer) ParseTokenMintLimitUpdated

func (_IScalarGateway *IScalarGatewayFilterer) ParseTokenMintLimitUpdated(log types.Log) (*IScalarGatewayTokenMintLimitUpdated, error)

ParseTokenMintLimitUpdated is a log parse operation binding the contract event 0xd99446c1d76385bb5519ccfb5274abcfd5896dfc22405e40010fde217f018a18.

Solidity: event TokenMintLimitUpdated(string symbol, uint256 limit)

func (*IScalarGatewayFilterer) ParseTokenSent

func (_IScalarGateway *IScalarGatewayFilterer) ParseTokenSent(log types.Log) (*IScalarGatewayTokenSent, error)

ParseTokenSent is a log parse operation binding the contract event 0x651d93f66c4329630e8d0f62488eff599e3be484da587335e8dc0fcf46062726.

Solidity: event TokenSent(address indexed sender, string destinationChain, string destinationAddress, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) ParseUpgraded

func (_IScalarGateway *IScalarGatewayFilterer) ParseUpgraded(log types.Log) (*IScalarGatewayUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*IScalarGatewayFilterer) WatchContractCall

func (_IScalarGateway *IScalarGatewayFilterer) WatchContractCall(opts *bind.WatchOpts, sink chan<- *IScalarGatewayContractCall, sender []common.Address, payloadHash [][32]byte) (event.Subscription, error)

WatchContractCall is a free log subscription operation binding the contract event 0x30ae6cc78c27e651745bf2ad08a11de83910ac1e347a52f7ac898c0fbef94dae.

Solidity: event ContractCall(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload)

func (*IScalarGatewayFilterer) WatchContractCallApproved

func (_IScalarGateway *IScalarGatewayFilterer) WatchContractCallApproved(opts *bind.WatchOpts, sink chan<- *IScalarGatewayContractCallApproved, commandId [][32]byte, contractAddress []common.Address, payloadHash [][32]byte) (event.Subscription, error)

WatchContractCallApproved is a free log subscription operation binding the contract event 0x44e4f8f6bd682c5a3aeba93601ab07cb4d1f21b2aab1ae4880d9577919309aa4.

Solidity: event ContractCallApproved(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) WatchContractCallApprovedWithMint

func (_IScalarGateway *IScalarGatewayFilterer) WatchContractCallApprovedWithMint(opts *bind.WatchOpts, sink chan<- *IScalarGatewayContractCallApprovedWithMint, commandId [][32]byte, contractAddress []common.Address, payloadHash [][32]byte) (event.Subscription, error)

WatchContractCallApprovedWithMint is a free log subscription operation binding the contract event 0x9991faa1f435675159ffae64b66d7ecfdb55c29755869a18db8497b4392347e0.

Solidity: event ContractCallApprovedWithMint(bytes32 indexed commandId, string sourceChain, string sourceAddress, address indexed contractAddress, bytes32 indexed payloadHash, string symbol, uint256 amount, bytes32 sourceTxHash, uint256 sourceEventIndex)

func (*IScalarGatewayFilterer) WatchContractCallWithToken

func (_IScalarGateway *IScalarGatewayFilterer) WatchContractCallWithToken(opts *bind.WatchOpts, sink chan<- *IScalarGatewayContractCallWithToken, sender []common.Address, payloadHash [][32]byte) (event.Subscription, error)

WatchContractCallWithToken is a free log subscription operation binding the contract event 0x7e50569d26be643bda7757722291ec66b1be66d8283474ae3fab5a98f878a7a2.

Solidity: event ContractCallWithToken(address indexed sender, string destinationChain, string destinationContractAddress, bytes32 indexed payloadHash, bytes payload, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) WatchExecuted

func (_IScalarGateway *IScalarGatewayFilterer) WatchExecuted(opts *bind.WatchOpts, sink chan<- *IScalarGatewayExecuted, commandId [][32]byte) (event.Subscription, error)

WatchExecuted is a free log subscription operation binding the contract event 0xa74c8847d513feba22a0f0cb38d53081abf97562cdb293926ba243689e7c41ca.

Solidity: event Executed(bytes32 indexed commandId)

func (*IScalarGatewayFilterer) WatchOperatorshipTransferred

func (_IScalarGateway *IScalarGatewayFilterer) WatchOperatorshipTransferred(opts *bind.WatchOpts, sink chan<- *IScalarGatewayOperatorshipTransferred) (event.Subscription, error)

WatchOperatorshipTransferred is a free log subscription operation binding the contract event 0x192e759e55f359cd9832b5c0c6e38e4b6df5c5ca33f3bd5c90738e865a521872.

Solidity: event OperatorshipTransferred(bytes newOperatorsData)

func (*IScalarGatewayFilterer) WatchTokenDeployed

func (_IScalarGateway *IScalarGatewayFilterer) WatchTokenDeployed(opts *bind.WatchOpts, sink chan<- *IScalarGatewayTokenDeployed) (event.Subscription, error)

WatchTokenDeployed is a free log subscription operation binding the contract event 0xbf90b5a1ec9763e8bf4b9245cef0c28db92bab309fc2c5177f17814f38246938.

Solidity: event TokenDeployed(string symbol, address tokenAddresses)

func (*IScalarGatewayFilterer) WatchTokenMintLimitUpdated

func (_IScalarGateway *IScalarGatewayFilterer) WatchTokenMintLimitUpdated(opts *bind.WatchOpts, sink chan<- *IScalarGatewayTokenMintLimitUpdated) (event.Subscription, error)

WatchTokenMintLimitUpdated is a free log subscription operation binding the contract event 0xd99446c1d76385bb5519ccfb5274abcfd5896dfc22405e40010fde217f018a18.

Solidity: event TokenMintLimitUpdated(string symbol, uint256 limit)

func (*IScalarGatewayFilterer) WatchTokenSent

func (_IScalarGateway *IScalarGatewayFilterer) WatchTokenSent(opts *bind.WatchOpts, sink chan<- *IScalarGatewayTokenSent, sender []common.Address) (event.Subscription, error)

WatchTokenSent is a free log subscription operation binding the contract event 0x651d93f66c4329630e8d0f62488eff599e3be484da587335e8dc0fcf46062726.

Solidity: event TokenSent(address indexed sender, string destinationChain, string destinationAddress, string symbol, uint256 amount)

func (*IScalarGatewayFilterer) WatchUpgraded

func (_IScalarGateway *IScalarGatewayFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *IScalarGatewayUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type IScalarGatewayOperatorshipTransferred

type IScalarGatewayOperatorshipTransferred struct {
	NewOperatorsData []byte
	Raw              types.Log // Blockchain specific contextual infos
}

IScalarGatewayOperatorshipTransferred represents a OperatorshipTransferred event raised by the IScalarGateway contract.

type IScalarGatewayOperatorshipTransferredIterator

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

IScalarGatewayOperatorshipTransferredIterator is returned from FilterOperatorshipTransferred and is used to iterate over the raw logs and unpacked data for OperatorshipTransferred events raised by the IScalarGateway contract.

func (*IScalarGatewayOperatorshipTransferredIterator) Close

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

func (*IScalarGatewayOperatorshipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayOperatorshipTransferredIterator) 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 IScalarGatewayRaw

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

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

func (*IScalarGatewayRaw) Call

func (_IScalarGateway *IScalarGatewayRaw) 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 (*IScalarGatewayRaw) Transact

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

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

func (*IScalarGatewayRaw) Transfer

func (_IScalarGateway *IScalarGatewayRaw) 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 IScalarGatewaySession

type IScalarGatewaySession struct {
	Contract     *IScalarGateway   // 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
}

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

func (*IScalarGatewaySession) AdminEpoch

func (_IScalarGateway *IScalarGatewaySession) AdminEpoch() (*big.Int, error)

AdminEpoch is a free data retrieval call binding the contract method 0x364940d8.

Solidity: function adminEpoch() view returns(uint256)

func (*IScalarGatewaySession) AdminThreshold

func (_IScalarGateway *IScalarGatewaySession) AdminThreshold(epoch *big.Int) (*big.Int, error)

AdminThreshold is a free data retrieval call binding the contract method 0x88b30587.

Solidity: function adminThreshold(uint256 epoch) view returns(uint256)

func (*IScalarGatewaySession) Admins

func (_IScalarGateway *IScalarGatewaySession) Admins(epoch *big.Int) ([]common.Address, error)

Admins is a free data retrieval call binding the contract method 0x14bfd6d0.

Solidity: function admins(uint256 epoch) view returns(address[])

func (*IScalarGatewaySession) AllTokensFrozen

func (_IScalarGateway *IScalarGatewaySession) AllTokensFrozen() (bool, error)

AllTokensFrozen is a free data retrieval call binding the contract method 0xaa1e1f0a.

Solidity: function allTokensFrozen() view returns(bool)

func (*IScalarGatewaySession) AuthModule

func (_IScalarGateway *IScalarGatewaySession) AuthModule() (common.Address, error)

AuthModule is a free data retrieval call binding the contract method 0x64940c56.

Solidity: function authModule() view returns(address)

func (*IScalarGatewaySession) CallContract

func (_IScalarGateway *IScalarGatewaySession) CallContract(destinationChain string, contractAddress string, payload []byte) (*types.Transaction, error)

CallContract is a paid mutator transaction binding the contract method 0x1c92115f.

Solidity: function callContract(string destinationChain, string contractAddress, bytes payload) returns()

func (*IScalarGatewaySession) CallContractWithToken

func (_IScalarGateway *IScalarGatewaySession) CallContractWithToken(destinationChain string, contractAddress string, payload []byte, symbol string, amount *big.Int) (*types.Transaction, error)

CallContractWithToken is a paid mutator transaction binding the contract method 0xb5417084.

Solidity: function callContractWithToken(string destinationChain, string contractAddress, bytes payload, string symbol, uint256 amount) returns()

func (*IScalarGatewaySession) Execute

func (_IScalarGateway *IScalarGatewaySession) Execute(input []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x09c5eabe.

Solidity: function execute(bytes input) returns()

func (*IScalarGatewaySession) Implementation

func (_IScalarGateway *IScalarGatewaySession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*IScalarGatewaySession) IsCommandExecuted

func (_IScalarGateway *IScalarGatewaySession) IsCommandExecuted(commandId [32]byte) (bool, error)

IsCommandExecuted is a free data retrieval call binding the contract method 0xd26ff210.

Solidity: function isCommandExecuted(bytes32 commandId) view returns(bool)

func (*IScalarGatewaySession) IsContractCallAndMintApproved

func (_IScalarGateway *IScalarGatewaySession) IsContractCallAndMintApproved(commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte, symbol string, amount *big.Int) (bool, error)

IsContractCallAndMintApproved is a free data retrieval call binding the contract method 0xbc00c216.

Solidity: function isContractCallAndMintApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash, string symbol, uint256 amount) view returns(bool)

func (*IScalarGatewaySession) IsContractCallApproved

func (_IScalarGateway *IScalarGatewaySession) IsContractCallApproved(commandId [32]byte, sourceChain string, sourceAddress string, contractAddress common.Address, payloadHash [32]byte) (bool, error)

IsContractCallApproved is a free data retrieval call binding the contract method 0xf6a5f9f5.

Solidity: function isContractCallApproved(bytes32 commandId, string sourceChain, string sourceAddress, address contractAddress, bytes32 payloadHash) view returns(bool)

func (*IScalarGatewaySession) SendToken

func (_IScalarGateway *IScalarGatewaySession) SendToken(destinationChain string, destinationAddress string, symbol string, amount *big.Int) (*types.Transaction, error)

SendToken is a paid mutator transaction binding the contract method 0x26ef699d.

Solidity: function sendToken(string destinationChain, string destinationAddress, string symbol, uint256 amount) returns()

func (*IScalarGatewaySession) SetTokenMintLimits

func (_IScalarGateway *IScalarGatewaySession) SetTokenMintLimits(symbols []string, limits []*big.Int) (*types.Transaction, error)

SetTokenMintLimits is a paid mutator transaction binding the contract method 0x67ace8eb.

Solidity: function setTokenMintLimits(string[] symbols, uint256[] limits) returns()

func (*IScalarGatewaySession) Setup

func (_IScalarGateway *IScalarGatewaySession) Setup(params []byte) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0x9ded06df.

Solidity: function setup(bytes params) returns()

func (*IScalarGatewaySession) TokenAddresses

func (_IScalarGateway *IScalarGatewaySession) TokenAddresses(symbol string) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0x935b13f6.

Solidity: function tokenAddresses(string symbol) view returns(address)

func (*IScalarGatewaySession) TokenDeployer

func (_IScalarGateway *IScalarGatewaySession) TokenDeployer() (common.Address, error)

TokenDeployer is a free data retrieval call binding the contract method 0x2a2dae0a.

Solidity: function tokenDeployer() view returns(address)

func (*IScalarGatewaySession) TokenFrozen

func (_IScalarGateway *IScalarGatewaySession) TokenFrozen(symbol string) (bool, error)

TokenFrozen is a free data retrieval call binding the contract method 0x7b1b769e.

Solidity: function tokenFrozen(string symbol) view returns(bool)

func (*IScalarGatewaySession) TokenMintAmount

func (_IScalarGateway *IScalarGatewaySession) TokenMintAmount(symbol string) (*big.Int, error)

TokenMintAmount is a free data retrieval call binding the contract method 0xcec7b359.

Solidity: function tokenMintAmount(string symbol) view returns(uint256)

func (*IScalarGatewaySession) TokenMintLimit

func (_IScalarGateway *IScalarGatewaySession) TokenMintLimit(symbol string) (*big.Int, error)

TokenMintLimit is a free data retrieval call binding the contract method 0x269eb65e.

Solidity: function tokenMintLimit(string symbol) view returns(uint256)

func (*IScalarGatewaySession) Upgrade

func (_IScalarGateway *IScalarGatewaySession) Upgrade(newImplementation common.Address, newImplementationCodeHash [32]byte, setupParams []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xa3499c73.

Solidity: function upgrade(address newImplementation, bytes32 newImplementationCodeHash, bytes setupParams) returns()

func (*IScalarGatewaySession) ValidateContractCall

func (_IScalarGateway *IScalarGatewaySession) ValidateContractCall(commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte) (*types.Transaction, error)

ValidateContractCall is a paid mutator transaction binding the contract method 0x5f6970c3.

Solidity: function validateContractCall(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash) returns(bool)

func (*IScalarGatewaySession) ValidateContractCallAndMint

func (_IScalarGateway *IScalarGatewaySession) ValidateContractCallAndMint(commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte, symbol string, amount *big.Int) (*types.Transaction, error)

ValidateContractCallAndMint is a paid mutator transaction binding the contract method 0x1876eed9.

Solidity: function validateContractCallAndMint(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount) returns(bool)

type IScalarGatewayTokenDeployed

type IScalarGatewayTokenDeployed struct {
	Symbol         string
	TokenAddresses common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

IScalarGatewayTokenDeployed represents a TokenDeployed event raised by the IScalarGateway contract.

type IScalarGatewayTokenDeployedIterator

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

IScalarGatewayTokenDeployedIterator is returned from FilterTokenDeployed and is used to iterate over the raw logs and unpacked data for TokenDeployed events raised by the IScalarGateway contract.

func (*IScalarGatewayTokenDeployedIterator) Close

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

func (*IScalarGatewayTokenDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayTokenDeployedIterator) 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 IScalarGatewayTokenMintLimitUpdated

type IScalarGatewayTokenMintLimitUpdated struct {
	Symbol string
	Limit  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

IScalarGatewayTokenMintLimitUpdated represents a TokenMintLimitUpdated event raised by the IScalarGateway contract.

type IScalarGatewayTokenMintLimitUpdatedIterator

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

IScalarGatewayTokenMintLimitUpdatedIterator is returned from FilterTokenMintLimitUpdated and is used to iterate over the raw logs and unpacked data for TokenMintLimitUpdated events raised by the IScalarGateway contract.

func (*IScalarGatewayTokenMintLimitUpdatedIterator) Close

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

func (*IScalarGatewayTokenMintLimitUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayTokenMintLimitUpdatedIterator) 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 IScalarGatewayTokenSent

type IScalarGatewayTokenSent struct {
	Sender             common.Address
	DestinationChain   string
	DestinationAddress string
	Symbol             string
	Amount             *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

IScalarGatewayTokenSent represents a TokenSent event raised by the IScalarGateway contract.

type IScalarGatewayTokenSentIterator

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

IScalarGatewayTokenSentIterator is returned from FilterTokenSent and is used to iterate over the raw logs and unpacked data for TokenSent events raised by the IScalarGateway contract.

func (*IScalarGatewayTokenSentIterator) Close

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

func (*IScalarGatewayTokenSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayTokenSentIterator) 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 IScalarGatewayTransactor

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

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

func NewIScalarGatewayTransactor

func NewIScalarGatewayTransactor(address common.Address, transactor bind.ContractTransactor) (*IScalarGatewayTransactor, error)

NewIScalarGatewayTransactor creates a new write-only instance of IScalarGateway, bound to a specific deployed contract.

func (*IScalarGatewayTransactor) CallContract

func (_IScalarGateway *IScalarGatewayTransactor) CallContract(opts *bind.TransactOpts, destinationChain string, contractAddress string, payload []byte) (*types.Transaction, error)

CallContract is a paid mutator transaction binding the contract method 0x1c92115f.

Solidity: function callContract(string destinationChain, string contractAddress, bytes payload) returns()

func (*IScalarGatewayTransactor) CallContractWithToken

func (_IScalarGateway *IScalarGatewayTransactor) CallContractWithToken(opts *bind.TransactOpts, destinationChain string, contractAddress string, payload []byte, symbol string, amount *big.Int) (*types.Transaction, error)

CallContractWithToken is a paid mutator transaction binding the contract method 0xb5417084.

Solidity: function callContractWithToken(string destinationChain, string contractAddress, bytes payload, string symbol, uint256 amount) returns()

func (*IScalarGatewayTransactor) Execute

func (_IScalarGateway *IScalarGatewayTransactor) Execute(opts *bind.TransactOpts, input []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x09c5eabe.

Solidity: function execute(bytes input) returns()

func (*IScalarGatewayTransactor) SendToken

func (_IScalarGateway *IScalarGatewayTransactor) SendToken(opts *bind.TransactOpts, destinationChain string, destinationAddress string, symbol string, amount *big.Int) (*types.Transaction, error)

SendToken is a paid mutator transaction binding the contract method 0x26ef699d.

Solidity: function sendToken(string destinationChain, string destinationAddress, string symbol, uint256 amount) returns()

func (*IScalarGatewayTransactor) SetTokenMintLimits

func (_IScalarGateway *IScalarGatewayTransactor) SetTokenMintLimits(opts *bind.TransactOpts, symbols []string, limits []*big.Int) (*types.Transaction, error)

SetTokenMintLimits is a paid mutator transaction binding the contract method 0x67ace8eb.

Solidity: function setTokenMintLimits(string[] symbols, uint256[] limits) returns()

func (*IScalarGatewayTransactor) Setup

func (_IScalarGateway *IScalarGatewayTransactor) Setup(opts *bind.TransactOpts, params []byte) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0x9ded06df.

Solidity: function setup(bytes params) returns()

func (*IScalarGatewayTransactor) Upgrade

func (_IScalarGateway *IScalarGatewayTransactor) Upgrade(opts *bind.TransactOpts, newImplementation common.Address, newImplementationCodeHash [32]byte, setupParams []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xa3499c73.

Solidity: function upgrade(address newImplementation, bytes32 newImplementationCodeHash, bytes setupParams) returns()

func (*IScalarGatewayTransactor) ValidateContractCall

func (_IScalarGateway *IScalarGatewayTransactor) ValidateContractCall(opts *bind.TransactOpts, commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte) (*types.Transaction, error)

ValidateContractCall is a paid mutator transaction binding the contract method 0x5f6970c3.

Solidity: function validateContractCall(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash) returns(bool)

func (*IScalarGatewayTransactor) ValidateContractCallAndMint

func (_IScalarGateway *IScalarGatewayTransactor) ValidateContractCallAndMint(opts *bind.TransactOpts, commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte, symbol string, amount *big.Int) (*types.Transaction, error)

ValidateContractCallAndMint is a paid mutator transaction binding the contract method 0x1876eed9.

Solidity: function validateContractCallAndMint(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount) returns(bool)

type IScalarGatewayTransactorRaw

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

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

func (*IScalarGatewayTransactorRaw) Transact

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

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

func (*IScalarGatewayTransactorRaw) Transfer

func (_IScalarGateway *IScalarGatewayTransactorRaw) 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 IScalarGatewayTransactorSession

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

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

func (*IScalarGatewayTransactorSession) CallContract

func (_IScalarGateway *IScalarGatewayTransactorSession) CallContract(destinationChain string, contractAddress string, payload []byte) (*types.Transaction, error)

CallContract is a paid mutator transaction binding the contract method 0x1c92115f.

Solidity: function callContract(string destinationChain, string contractAddress, bytes payload) returns()

func (*IScalarGatewayTransactorSession) CallContractWithToken

func (_IScalarGateway *IScalarGatewayTransactorSession) CallContractWithToken(destinationChain string, contractAddress string, payload []byte, symbol string, amount *big.Int) (*types.Transaction, error)

CallContractWithToken is a paid mutator transaction binding the contract method 0xb5417084.

Solidity: function callContractWithToken(string destinationChain, string contractAddress, bytes payload, string symbol, uint256 amount) returns()

func (*IScalarGatewayTransactorSession) Execute

func (_IScalarGateway *IScalarGatewayTransactorSession) Execute(input []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x09c5eabe.

Solidity: function execute(bytes input) returns()

func (*IScalarGatewayTransactorSession) SendToken

func (_IScalarGateway *IScalarGatewayTransactorSession) SendToken(destinationChain string, destinationAddress string, symbol string, amount *big.Int) (*types.Transaction, error)

SendToken is a paid mutator transaction binding the contract method 0x26ef699d.

Solidity: function sendToken(string destinationChain, string destinationAddress, string symbol, uint256 amount) returns()

func (*IScalarGatewayTransactorSession) SetTokenMintLimits

func (_IScalarGateway *IScalarGatewayTransactorSession) SetTokenMintLimits(symbols []string, limits []*big.Int) (*types.Transaction, error)

SetTokenMintLimits is a paid mutator transaction binding the contract method 0x67ace8eb.

Solidity: function setTokenMintLimits(string[] symbols, uint256[] limits) returns()

func (*IScalarGatewayTransactorSession) Setup

func (_IScalarGateway *IScalarGatewayTransactorSession) Setup(params []byte) (*types.Transaction, error)

Setup is a paid mutator transaction binding the contract method 0x9ded06df.

Solidity: function setup(bytes params) returns()

func (*IScalarGatewayTransactorSession) Upgrade

func (_IScalarGateway *IScalarGatewayTransactorSession) Upgrade(newImplementation common.Address, newImplementationCodeHash [32]byte, setupParams []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xa3499c73.

Solidity: function upgrade(address newImplementation, bytes32 newImplementationCodeHash, bytes setupParams) returns()

func (*IScalarGatewayTransactorSession) ValidateContractCall

func (_IScalarGateway *IScalarGatewayTransactorSession) ValidateContractCall(commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte) (*types.Transaction, error)

ValidateContractCall is a paid mutator transaction binding the contract method 0x5f6970c3.

Solidity: function validateContractCall(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash) returns(bool)

func (*IScalarGatewayTransactorSession) ValidateContractCallAndMint

func (_IScalarGateway *IScalarGatewayTransactorSession) ValidateContractCallAndMint(commandId [32]byte, sourceChain string, sourceAddress string, payloadHash [32]byte, symbol string, amount *big.Int) (*types.Transaction, error)

ValidateContractCallAndMint is a paid mutator transaction binding the contract method 0x1876eed9.

Solidity: function validateContractCallAndMint(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount) returns(bool)

type IScalarGatewayUpgraded

type IScalarGatewayUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

IScalarGatewayUpgraded represents a Upgraded event raised by the IScalarGateway contract.

type IScalarGatewayUpgradedIterator

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

IScalarGatewayUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the IScalarGateway contract.

func (*IScalarGatewayUpgradedIterator) Close

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

func (*IScalarGatewayUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IScalarGatewayUpgradedIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL