agents/contracts/origin/icaller_generated.go
// autogenerated file
package origin
import (
"math/big"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
)
// IOriginCaller ...
type IOriginCaller interface {
// AgentManager is a free data retrieval call binding the contract method 0x7622f78d.
//
// Solidity: function agentManager() view returns(address)
AgentManager(opts *bind.CallOpts) (common.Address, error)
// AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
//
// Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
// GasOracle is a free data retrieval call binding the contract method 0x5d62a8dd.
//
// Solidity: function gasOracle() view returns(address)
GasOracle(opts *bind.CallOpts) (common.Address, error)
// GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
//
// Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
Agent common.Address
Status AgentStatus
}, error)
// GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.
//
// Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)
GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
// Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
//
// Solidity: function inbox() view returns(address)
Inbox(opts *bind.CallOpts) (common.Address, error)
// IsValidState is a free data retrieval call binding the contract method 0xa9dcf22d.
//
// Solidity: function isValidState(bytes statePayload) view returns(bool isValid)
IsValidState(opts *bind.CallOpts, statePayload []byte) (bool, error)
// LatestDisputeStatus is a free data retrieval call binding the contract method 0xdfadd81a.
//
// Solidity: function latestDisputeStatus(uint32 agentIndex) view returns((uint8,uint40,uint40))
LatestDisputeStatus(opts *bind.CallOpts, agentIndex uint32) (DisputeStatus, error)
// LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
//
// Solidity: function localDomain() view returns(uint32)
LocalDomain(opts *bind.CallOpts) (uint32, error)
// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
//
// Solidity: function owner() view returns(address)
Owner(opts *bind.CallOpts) (common.Address, error)
// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
//
// Solidity: function pendingOwner() view returns(address)
PendingOwner(opts *bind.CallOpts) (common.Address, error)
// StatesAmount is a free data retrieval call binding the contract method 0xf2437942.
//
// Solidity: function statesAmount() view returns(uint256)
StatesAmount(opts *bind.CallOpts) (*big.Int, error)
// SuggestLatestState is a free data retrieval call binding the contract method 0xc0b56f7c.
//
// Solidity: function suggestLatestState() view returns(bytes stateData)
SuggestLatestState(opts *bind.CallOpts) ([]byte, error)
// SuggestState is a free data retrieval call binding the contract method 0xb4596b4b.
//
// Solidity: function suggestState(uint32 nonce) view returns(bytes stateData)
SuggestState(opts *bind.CallOpts, nonce uint32) ([]byte, error)
// SynapseDomain is a free data retrieval call binding the contract method 0x717b8638.
//
// Solidity: function synapseDomain() view returns(uint32)
SynapseDomain(opts *bind.CallOpts) (uint32, error)
// Version is a free data retrieval call binding the contract method 0x54fd4d50.
//
// Solidity: function version() view returns(string versionString)
Version(opts *bind.CallOpts) (string, error)
}