abigen

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentABI = AgentMetaData.ABI

AgentABI is the input ABI used to generate the binding from. Deprecated: Use AgentMetaData.ABI instead.

View Source
var AgentDeployerABI = AgentDeployerMetaData.ABI

AgentDeployerABI is the input ABI used to generate the binding from. Deprecated: Use AgentDeployerMetaData.ABI instead.

View Source
var AgentDeployerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"agentId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adoRequestKey\",\"type\":\"address\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AgentDeployerMetaData contains all meta data concerning the AgentDeployer contract.

View Source
var AgentFactoryABI = AgentFactoryMetaData.ABI

AgentFactoryABI is the input ABI used to generate the binding from. Deprecated: Use AgentFactoryMetaData.ABI instead.

View Source
var AgentFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"CreateAgent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"agents\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adoRequestKey\",\"type\":\"address\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"isAgent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"upgradeAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"newAgent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AgentFactoryMetaData contains all meta data concerning the AgentFactory contract.

View Source
var AgentMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"agentRouter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"apiRequestKey\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BadAgentState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"addMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"administration\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adoRequestKey\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"worker\",\"type\":\"uint64\"},{\"internalType\":\"uint64[]\",\"name\":\"controlAddresses\",\"type\":\"uint64[]\"}],\"name\":\"changeMinerWorker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"confirmChangeMinerWorker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newAgent\",\"type\":\"address\"}],\"name\":\"decommissionAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaulted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"faultySectorStartEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"migrateMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOperator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"liquidator\",\"type\":\"uint64\"}],\"name\":\"prepareMinerForLiquidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pullFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pushFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newMinerOwner\",\"type\":\"uint64\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"removeMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_administration\",\"type\":\"address\"}],\"name\":\"setAdministration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newKey\",\"type\":\"address\"}],\"name\":\"setAdoRequestKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setFaulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setInDefault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"setRecovered\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOperator\",\"type\":\"address\"}],\"name\":\"transferOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

AgentMetaData contains all meta data concerning the Agent contract.

View Source
var AgentPoliceABI = AgentPoliceMetaData.ABI

AgentPoliceABI is the input ABI used to generate the binding from. Deprecated: Use AgentPoliceMetaData.ABI instead.

View Source
var AgentPoliceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_defaultWindow\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"contractIPoolRegistry\",\"name\":\"_poolRegistry\",\"type\":\"address\"},{\"internalType\":\"contractIWFIL\",\"name\":\"_wFIL\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentStateRejected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCredential\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"Defaulted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agentID\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"faultEpoch\",\"type\":\"uint256\"}],\"name\":\"FaultySectors\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"OnAdministration\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"_VERIFIABLE_CREDENTIAL_TYPE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"agentApproved\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"agentLiquidated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"confirmRmAdministration\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"confirmRmEquity\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"credentialUsed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultWindow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"deriveStructHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"digest\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"distributeLiquidatedFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"isValidCredential\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAgent[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"name\":\"markAsFaulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxConsecutiveFaultEpochs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxDTE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxEpochsOwedTolerance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLTV\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPoolsPerAgent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOperator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"liquidator\",\"type\":\"uint64\"}],\"name\":\"prepareMinerForLiquidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"administration\",\"type\":\"address\"}],\"name\":\"putAgentOnAdministration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"administration\",\"type\":\"address\"}],\"name\":\"putAgentOnAdministrationDueToFaultySectorDays\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"registerCredentialUseBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sectorFaultyTolerancePercent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"setAgentDefaultDueToFaultySectorDays\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"setAgentDefaulted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_defaultWindow\",\"type\":\"uint256\"}],\"name\":\"setDefaultWindow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxConsecutiveFaultEpochs\",\"type\":\"uint256\"}],\"name\":\"setMaxConsecutiveFaultEpochs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxDTE\",\"type\":\"uint256\"}],\"name\":\"setMaxDTE\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxEpochsOwedTolerance\",\"type\":\"uint256\"}],\"name\":\"setMaxEpochsOwedTolerance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxLTV\",\"type\":\"uint256\"}],\"name\":\"setMaxLTV\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPoolsPerAgent\",\"type\":\"uint256\"}],\"name\":\"setMaxPoolsPerAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sectorFaultyTolerancePercent\",\"type\":\"uint256\"}],\"name\":\"setSectorFaultyTolerancePercent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOperator\",\"type\":\"address\"}],\"name\":\"transferOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"validateCred\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AgentPoliceMetaData contains all meta data concerning the AgentPolice contract.

View Source
var CredParserABI = CredParserMetaData.ABI

CredParserABI is the input ABI used to generate the binding from. Deprecated: Use CredParserMetaData.ABI instead.

View Source
var CredParserMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getAgentValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getCollateralValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getExpectedDailyRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getFaultySectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getGCRED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getGreenScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getLiveSectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getPrincipal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getQAPower\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

CredParserMetaData contains all meta data concerning the CredParser contract.

View Source
var FilForwarderABI = FilForwarderMetaData.ABI

FilForwarderABI is the input ABI used to generate the binding from. Deprecated: Use FilForwarderMetaData.ABI instead.

View Source
var FilForwarderMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"errorCode\",\"type\":\"int256\"}],\"name\":\"ActorError\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailToCallActor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"addr\",\"type\":\"bytes\"}],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"InvalidCodec\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidResponseLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"NotEnoughBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"destination\",\"type\":\"bytes\"}],\"name\":\"forward\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

FilForwarderMetaData contains all meta data concerning the FilForwarder contract.

View Source
var InfinityPoolABI = InfinityPoolMetaData.ABI

InfinityPoolABI is the input ABI used to generate the binding from. Deprecated: Use InfinityPoolMetaData.ABI instead.

View Source
var InfinityPoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rateModule\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidStakingToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_preStake\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minimumLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccountDNE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDefaulted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PayUp\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolShuttingDown\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"principalPaid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"name\":\"Pay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"recoveredFunds\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lostFunds\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"interestPaid\",\"type\":\"uint256\"}],\"name\":\"WriteOff\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPool\",\"name\":\"newPool\",\"type\":\"address\"}],\"name\":\"decommissionPool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"borrowedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feesCollected\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAbsMinLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"getAgentBorrowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLiquidAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"getRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"harvestAmount\",\"type\":\"uint256\"}],\"name\":\"harvestFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvestToRamp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"account\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"isApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isShuttingDown\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accountPrincipal\",\"type\":\"uint256\"}],\"name\":\"jumpStartAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"jumpStartTotalBorrowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidStakingToken\",\"outputs\":[{\"internalType\":\"contractIPoolToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxEpochsOwedTolerance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"pay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"preStake\",\"outputs\":[{\"internalType\":\"contractIPreStake\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ramp\",\"outputs\":[{\"internalType\":\"contractIOffRamp\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rateModule\",\"outputs\":[{\"internalType\":\"contractIRateModule\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"recoverFIL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxEpochsOwedTolerance\",\"type\":\"uint256\"}],\"name\":\"setMaxEpochsOwedTolerance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumLiquidity\",\"type\":\"uint256\"}],\"name\":\"setMinimumLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOffRamp\",\"name\":\"_ramp\",\"type\":\"address\"}],\"name\":\"setRamp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRateModule\",\"name\":\"_rateModule\",\"type\":\"address\"}],\"name\":\"setRateModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"shutDown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrowableAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_preStake\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFromPreStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"recoveredFunds\",\"type\":\"uint256\"}],\"name\":\"writeOff\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalOwed\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

InfinityPoolMetaData contains all meta data concerning the InfinityPool contract.

View Source
var MinerRegistryABI = MinerRegistryMetaData.ABI

MinerRegistryABI is the input ABI used to generate the binding from. Deprecated: Use MinerRegistryMetaData.ABI instead.

View Source
var MinerRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"contractIAgentFactory\",\"name\":\"_agentFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"AddMiner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"RemoveMiner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"addMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getMiner\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"minerRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"minersCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"removeMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MinerRegistryMetaData contains all meta data concerning the MinerRegistry contract.

View Source
var MockMinerABI = MockMinerMetaData.ABI

MockMinerABI is the input ABI used to generate the binding from. Deprecated: Use MockMinerMetaData.ABI instead.

View Source
var MockMinerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"activeBeneficiary\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"beneficiary\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"quota\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"used_quota\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"expiration\",\"type\":\"uint64\"}],\"internalType\":\"structBeneficiaryTerm\",\"name\":\"term\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwnerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"uint64[]\",\"name\":\"\",\"type\":\"uint64[]\"}],\"name\":\"changeWorkerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBeneficiary\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"beneficiary\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"quota\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"used_quota\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"expiration\",\"type\":\"uint64\"}],\"internalType\":\"structBeneficiaryTerm\",\"name\":\"term\",\"type\":\"tuple\"}],\"internalType\":\"structActiveBeneficiary\",\"name\":\"active\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"new_beneficiary\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"new_quota\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"new_expiration\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"approved_by_beneficiary\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"approved_by_nominee\",\"type\":\"bool\"}],\"internalType\":\"structPendingBeneficiaryChange\",\"name\":\"proposed\",\"type\":\"tuple\"}],\"internalType\":\"structGetBeneficiaryReturn\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"id\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposed\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposedBeneficiary\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"new_beneficiary\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"new_quota\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"new_expiration\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"approved_by_beneficiary\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"approved_by_nominee\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_id\",\"type\":\"uint64\"}],\"name\":\"setID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountWithdrawn\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

MockMinerMetaData contains all meta data concerning the MockMiner contract.

View Source
var PingABI = PingMetaData.ABI

PingABI is the input ABI used to generate the binding from. Deprecated: Use PingMetaData.ABI instead.

View Source
var PingMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"AmountWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Balance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"IsOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"}],\"name\":\"checkIsOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"}],\"name\":\"getBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIsFEVM\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

PingMetaData contains all meta data concerning the Ping contract.

View Source
var PoolRegistryABI = PoolRegistryMetaData.ABI

PoolRegistryABI is the input ABI used to generate the binding from. Deprecated: Use PoolRegistryMetaData.ABI instead.

View Source
var PoolRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_treasuryFeeRate\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MAX_TREASURY_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pool\",\"type\":\"uint256\"}],\"name\":\"addPoolToList\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPools\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allPoolsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPool\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"attachPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"poolIDs\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pool\",\"type\":\"uint256\"}],\"name\":\"removePoolFromList\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setTreasuryFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasuryFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPool\",\"name\":\"newPool\",\"type\":\"address\"}],\"name\":\"upgradePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PoolRegistryMetaData contains all meta data concerning the PoolRegistry contract.

View Source
var PoolTokenABI = PoolTokenMetaData.ABI

PoolTokenABI is the input ABI used to generate the binding from. Deprecated: Use PoolTokenMetaData.ABI instead.

View Source
var PoolTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"burner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_burner\",\"type\":\"address\"}],\"name\":\"setBurner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PoolTokenMetaData contains all meta data concerning the PoolToken contract.

View Source
var PreStakeABI = PreStakeMetaData.ABI

PreStakeABI is the input ABI used to generate the binding from. Deprecated: Use PreStakeMetaData.ABI instead.

View Source
var PreStakeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"contractIWFIL\",\"name\":\"_wFIL\",\"type\":\"address\"},{\"internalType\":\"contractIPoolToken\",\"name\":\"_poolToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ApprovePool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approvePoolToTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"convertFILtoWFIL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalValueLocked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

PreStakeMetaData contains all meta data concerning the PreStake contract.

View Source
var PublicGoodsDonatorABI = PublicGoodsDonatorMetaData.ABI

PublicGoodsDonatorABI is the input ABI used to generate the binding from. Deprecated: Use PublicGoodsDonatorMetaData.ABI instead.

View Source
var PublicGoodsDonatorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"contractIPreStake\",\"name\":\"_preStake\",\"type\":\"address\"},{\"internalType\":\"contractIWFIL\",\"name\":\"_wFIL\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_liquidStakingToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"donationAmount\",\"type\":\"uint256\"}],\"name\":\"Donate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawFunds\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"donationPercent\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"donationPercent\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"preStake\",\"outputs\":[{\"internalType\":\"contractIPreStake\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PublicGoodsDonatorMetaData contains all meta data concerning the PublicGoodsDonator contract.

View Source
var RateModuleABI = RateModuleMetaData.ABI

RateModuleABI is the input ABI used to generate the binding from. Deprecated: Use RateModuleMetaData.ABI instead.

View Source
var RateModuleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"uint256[61]\",\"name\":\"_rateLookup\",\"type\":\"uint256[61]\"},{\"internalType\":\"uint256[10]\",\"name\":\"_levels\",\"type\":\"uint256[10]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountLevel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"agentTotalValue\",\"type\":\"uint256\"}],\"name\":\"computeDTE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expectedDailyRewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accountPrincipal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalPrincipal\",\"type\":\"uint256\"}],\"name\":\"computeDTI\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralValue\",\"type\":\"uint256\"}],\"name\":\"computeLTV\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"credParser\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"getRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"account\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"isApproved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"levels\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxDTE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxDTI\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLTV\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minGCRED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"penaltyRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rateLookup\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"agentIDs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"level\",\"type\":\"uint256[]\"}],\"name\":\"setAgentLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseRate\",\"type\":\"uint256\"}],\"name\":\"setBaseRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[10]\",\"name\":\"_levels\",\"type\":\"uint256[10]\"}],\"name\":\"setLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxDTE\",\"type\":\"uint256\"}],\"name\":\"setMaxDTE\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxDTI\",\"type\":\"uint256\"}],\"name\":\"setMaxDTI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxLTV\",\"type\":\"uint256\"}],\"name\":\"setMaxLTV\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minGCRED\",\"type\":\"uint256\"}],\"name\":\"setMinGCRED\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[61]\",\"name\":\"_rateLookup\",\"type\":\"uint256[61]\"}],\"name\":\"setRateLookup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateCredParser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

RateModuleMetaData contains all meta data concerning the RateModule contract.

View Source
var RouterABI = RouterMetaData.ABI

RouterABI is the input ABI used to generate the binding from. Deprecated: Use RouterMetaData.ABI instead.

View Source
var RouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RouteDNE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"}],\"name\":\"PushRoute\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"createAccountKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"getAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"}],\"name\":\"pushRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"}],\"name\":\"pushRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"ids\",\"type\":\"string[]\"},{\"internalType\":\"address[]\",\"name\":\"newRoutes\",\"type\":\"address[]\"}],\"name\":\"pushRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"ids\",\"type\":\"bytes4[]\"},{\"internalType\":\"address[]\",\"name\":\"newRoutes\",\"type\":\"address[]\"}],\"name\":\"pushRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"name\":\"route\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"account\",\"type\":\"tuple\"}],\"name\":\"setAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

RouterMetaData contains all meta data concerning the Router contract.

View Source
var SimpleRampABI = SimpleRampMetaData.ABI

SimpleRampABI is the input ABI used to generate the binding from. Deprecated: Use SimpleRampMetaData.ABI instead.

View Source
var SimpleRampMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_poolID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"burnIFIL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"distribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"iFIL\",\"outputs\":[{\"internalType\":\"contractIPoolToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"contractIPool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recoverFIL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"redeemF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshExtern\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalExitDemand\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wFIL\",\"outputs\":[{\"internalType\":\"contractIWFIL\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

SimpleRampMetaData contains all meta data concerning the SimpleRamp contract.

View Source
var WFILABI = WFILMetaData.ABI

WFILABI is the input ABI used to generate the binding from. Deprecated: Use WFILMetaData.ABI instead.

View Source
var WFILMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

WFILMetaData contains all meta data concerning the WFIL contract.

Functions

This section is empty.

Types

type Account

type Account struct {
	StartEpoch *big.Int
	Principal  *big.Int
	EpochsPaid *big.Int
	Defaulted  bool
}

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

type Account_duplicate_Infinity

type Account_duplicate_Infinity struct {
	StartEpoch *big.Int
	Principal  *big.Int
	EpochsPaid *big.Int
	Defaulted  bool
}

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

type Account_duplicate_RateModule

type Account_duplicate_RateModule struct {
	StartEpoch *big.Int
	Principal  *big.Int
	EpochsPaid *big.Int
	Defaulted  bool
}

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

type ActiveBeneficiary

type ActiveBeneficiary struct {
	Beneficiary uint64
	Term        BeneficiaryTerm
}

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

type Agent

type Agent struct {
	AgentCaller     // Read-only binding to the contract
	AgentTransactor // Write-only binding to the contract
	AgentFilterer   // Log filterer for contract events
}

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

func NewAgent

func NewAgent(address common.Address, backend bind.ContractBackend) (*Agent, error)

NewAgent creates a new instance of Agent, bound to a specific deployed contract.

type AgentCaller

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

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

func NewAgentCaller

func NewAgentCaller(address common.Address, caller bind.ContractCaller) (*AgentCaller, error)

NewAgentCaller creates a new read-only instance of Agent, bound to a specific deployed contract.

func (*AgentCaller) Administration

func (_Agent *AgentCaller) Administration(opts *bind.CallOpts) (common.Address, error)

Administration is a free data retrieval call binding the contract method 0x3847cb59.

Solidity: function administration() view returns(address)

func (*AgentCaller) AdoRequestKey

func (_Agent *AgentCaller) AdoRequestKey(opts *bind.CallOpts) (common.Address, error)

AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.

Solidity: function adoRequestKey() view returns(address)

func (*AgentCaller) Defaulted

func (_Agent *AgentCaller) Defaulted(opts *bind.CallOpts) (bool, error)

Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.

Solidity: function defaulted() view returns(bool)

func (*AgentCaller) FaultySectorStartEpoch

func (_Agent *AgentCaller) FaultySectorStartEpoch(opts *bind.CallOpts) (*big.Int, error)

FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.

Solidity: function faultySectorStartEpoch() view returns(uint256)

func (*AgentCaller) Id

func (_Agent *AgentCaller) Id(opts *bind.CallOpts) (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*AgentCaller) LiquidAssets

func (_Agent *AgentCaller) LiquidAssets(opts *bind.CallOpts) (*big.Int, error)

LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.

Solidity: function liquidAssets() view returns(uint256)

func (*AgentCaller) NewAgent

func (_Agent *AgentCaller) NewAgent(opts *bind.CallOpts) (common.Address, error)

NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.

Solidity: function newAgent() view returns(address)

func (*AgentCaller) Operator

func (_Agent *AgentCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentCaller) Owner

func (_Agent *AgentCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentCaller) PendingOperator

func (_Agent *AgentCaller) PendingOperator(opts *bind.CallOpts) (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentCaller) PendingOwner

func (_Agent *AgentCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentCaller) Version

func (_Agent *AgentCaller) Version(opts *bind.CallOpts) (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type AgentCallerRaw

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

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

func (*AgentCallerRaw) Call

func (_Agent *AgentCallerRaw) 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 AgentCallerSession

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

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

func (*AgentCallerSession) Administration

func (_Agent *AgentCallerSession) Administration() (common.Address, error)

Administration is a free data retrieval call binding the contract method 0x3847cb59.

Solidity: function administration() view returns(address)

func (*AgentCallerSession) AdoRequestKey

func (_Agent *AgentCallerSession) AdoRequestKey() (common.Address, error)

AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.

Solidity: function adoRequestKey() view returns(address)

func (*AgentCallerSession) Defaulted

func (_Agent *AgentCallerSession) Defaulted() (bool, error)

Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.

Solidity: function defaulted() view returns(bool)

func (*AgentCallerSession) FaultySectorStartEpoch

func (_Agent *AgentCallerSession) FaultySectorStartEpoch() (*big.Int, error)

FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.

Solidity: function faultySectorStartEpoch() view returns(uint256)

func (*AgentCallerSession) Id

func (_Agent *AgentCallerSession) Id() (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*AgentCallerSession) LiquidAssets

func (_Agent *AgentCallerSession) LiquidAssets() (*big.Int, error)

LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.

Solidity: function liquidAssets() view returns(uint256)

func (*AgentCallerSession) NewAgent

func (_Agent *AgentCallerSession) NewAgent() (common.Address, error)

NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.

Solidity: function newAgent() view returns(address)

func (*AgentCallerSession) Operator

func (_Agent *AgentCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentCallerSession) Owner

func (_Agent *AgentCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentCallerSession) PendingOperator

func (_Agent *AgentCallerSession) PendingOperator() (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentCallerSession) PendingOwner

func (_Agent *AgentCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentCallerSession) Version

func (_Agent *AgentCallerSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type AgentDeployer

type AgentDeployer struct {
	AgentDeployerCaller     // Read-only binding to the contract
	AgentDeployerTransactor // Write-only binding to the contract
	AgentDeployerFilterer   // Log filterer for contract events
}

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

func NewAgentDeployer

func NewAgentDeployer(address common.Address, backend bind.ContractBackend) (*AgentDeployer, error)

NewAgentDeployer creates a new instance of AgentDeployer, bound to a specific deployed contract.

type AgentDeployerCaller

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

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

func NewAgentDeployerCaller

func NewAgentDeployerCaller(address common.Address, caller bind.ContractCaller) (*AgentDeployerCaller, error)

NewAgentDeployerCaller creates a new read-only instance of AgentDeployer, bound to a specific deployed contract.

func (*AgentDeployerCaller) Version

func (_AgentDeployer *AgentDeployerCaller) Version(opts *bind.CallOpts) (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type AgentDeployerCallerRaw

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

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

func (*AgentDeployerCallerRaw) Call

func (_AgentDeployer *AgentDeployerCallerRaw) 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 AgentDeployerCallerSession

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

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

func (*AgentDeployerCallerSession) Version

func (_AgentDeployer *AgentDeployerCallerSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type AgentDeployerFilterer

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

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

func NewAgentDeployerFilterer

func NewAgentDeployerFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentDeployerFilterer, error)

NewAgentDeployerFilterer creates a new log filterer instance of AgentDeployer, bound to a specific deployed contract.

type AgentDeployerRaw

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

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

func (*AgentDeployerRaw) Call

func (_AgentDeployer *AgentDeployerRaw) 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 (*AgentDeployerRaw) Transact

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

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

func (*AgentDeployerRaw) Transfer

func (_AgentDeployer *AgentDeployerRaw) 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 AgentDeployerSession

type AgentDeployerSession struct {
	Contract     *AgentDeployer    // 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
}

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

func (*AgentDeployerSession) Deploy

func (_AgentDeployer *AgentDeployerSession) Deploy(router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.

Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)

func (*AgentDeployerSession) Version

func (_AgentDeployer *AgentDeployerSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

type AgentDeployerTransactor

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

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

func NewAgentDeployerTransactor

func NewAgentDeployerTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentDeployerTransactor, error)

NewAgentDeployerTransactor creates a new write-only instance of AgentDeployer, bound to a specific deployed contract.

func (*AgentDeployerTransactor) Deploy

func (_AgentDeployer *AgentDeployerTransactor) Deploy(opts *bind.TransactOpts, router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.

Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)

type AgentDeployerTransactorRaw

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

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

func (*AgentDeployerTransactorRaw) Transact

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

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

func (*AgentDeployerTransactorRaw) Transfer

func (_AgentDeployer *AgentDeployerTransactorRaw) 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 AgentDeployerTransactorSession

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

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

func (*AgentDeployerTransactorSession) Deploy

func (_AgentDeployer *AgentDeployerTransactorSession) Deploy(router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.

Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)

type AgentFactory

type AgentFactory struct {
	AgentFactoryCaller     // Read-only binding to the contract
	AgentFactoryTransactor // Write-only binding to the contract
	AgentFactoryFilterer   // Log filterer for contract events
}

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

func NewAgentFactory

func NewAgentFactory(address common.Address, backend bind.ContractBackend) (*AgentFactory, error)

NewAgentFactory creates a new instance of AgentFactory, bound to a specific deployed contract.

type AgentFactoryCaller

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

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

func NewAgentFactoryCaller

func NewAgentFactoryCaller(address common.Address, caller bind.ContractCaller) (*AgentFactoryCaller, error)

NewAgentFactoryCaller creates a new read-only instance of AgentFactory, bound to a specific deployed contract.

func (*AgentFactoryCaller) AgentCount

func (_AgentFactory *AgentFactoryCaller) AgentCount(opts *bind.CallOpts) (*big.Int, error)

AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.

Solidity: function agentCount() view returns(uint256)

func (*AgentFactoryCaller) Agents

func (_AgentFactory *AgentFactoryCaller) Agents(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Agents is a free data retrieval call binding the contract method 0xfd66091e.

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

func (*AgentFactoryCaller) IsAgent

func (_AgentFactory *AgentFactoryCaller) IsAgent(opts *bind.CallOpts, agent common.Address) (bool, error)

IsAgent is a free data retrieval call binding the contract method 0x1ffbb064.

Solidity: function isAgent(address agent) view returns(bool)

type AgentFactoryCallerRaw

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

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

func (*AgentFactoryCallerRaw) Call

func (_AgentFactory *AgentFactoryCallerRaw) 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 AgentFactoryCallerSession

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

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

func (*AgentFactoryCallerSession) AgentCount

func (_AgentFactory *AgentFactoryCallerSession) AgentCount() (*big.Int, error)

AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.

Solidity: function agentCount() view returns(uint256)

func (*AgentFactoryCallerSession) Agents

func (_AgentFactory *AgentFactoryCallerSession) Agents(arg0 common.Address) (*big.Int, error)

Agents is a free data retrieval call binding the contract method 0xfd66091e.

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

func (*AgentFactoryCallerSession) IsAgent

func (_AgentFactory *AgentFactoryCallerSession) IsAgent(agent common.Address) (bool, error)

IsAgent is a free data retrieval call binding the contract method 0x1ffbb064.

Solidity: function isAgent(address agent) view returns(bool)

type AgentFactoryCreateAgent

type AgentFactoryCreateAgent struct {
	AgentID *big.Int
	Agent   common.Address
	Creator common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AgentFactoryCreateAgent represents a CreateAgent event raised by the AgentFactory contract.

type AgentFactoryCreateAgentIterator

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

AgentFactoryCreateAgentIterator is returned from FilterCreateAgent and is used to iterate over the raw logs and unpacked data for CreateAgent events raised by the AgentFactory contract.

func (*AgentFactoryCreateAgentIterator) Close

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

func (*AgentFactoryCreateAgentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentFactoryCreateAgentIterator) 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 AgentFactoryFilterer

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

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

func NewAgentFactoryFilterer

func NewAgentFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentFactoryFilterer, error)

NewAgentFactoryFilterer creates a new log filterer instance of AgentFactory, bound to a specific deployed contract.

func (*AgentFactoryFilterer) FilterCreateAgent

func (_AgentFactory *AgentFactoryFilterer) FilterCreateAgent(opts *bind.FilterOpts, agentID []*big.Int, agent []common.Address, creator []common.Address) (*AgentFactoryCreateAgentIterator, error)

FilterCreateAgent is a free log retrieval operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.

Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)

func (*AgentFactoryFilterer) ParseCreateAgent

func (_AgentFactory *AgentFactoryFilterer) ParseCreateAgent(log types.Log) (*AgentFactoryCreateAgent, error)

ParseCreateAgent is a log parse operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.

Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)

func (*AgentFactoryFilterer) WatchCreateAgent

func (_AgentFactory *AgentFactoryFilterer) WatchCreateAgent(opts *bind.WatchOpts, sink chan<- *AgentFactoryCreateAgent, agentID []*big.Int, agent []common.Address, creator []common.Address) (event.Subscription, error)

WatchCreateAgent is a free log subscription operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.

Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)

type AgentFactoryRaw

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

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

func (*AgentFactoryRaw) Call

func (_AgentFactory *AgentFactoryRaw) 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 (*AgentFactoryRaw) Transact

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

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

func (*AgentFactoryRaw) Transfer

func (_AgentFactory *AgentFactoryRaw) 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 AgentFactorySession

type AgentFactorySession struct {
	Contract     *AgentFactory     // 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
}

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

func (*AgentFactorySession) AgentCount

func (_AgentFactory *AgentFactorySession) AgentCount() (*big.Int, error)

AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.

Solidity: function agentCount() view returns(uint256)

func (*AgentFactorySession) Agents

func (_AgentFactory *AgentFactorySession) Agents(arg0 common.Address) (*big.Int, error)

Agents is a free data retrieval call binding the contract method 0xfd66091e.

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

func (*AgentFactorySession) Create

func (_AgentFactory *AgentFactorySession) Create(owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c041ebd.

Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)

func (*AgentFactorySession) IsAgent

func (_AgentFactory *AgentFactorySession) IsAgent(agent common.Address) (bool, error)

IsAgent is a free data retrieval call binding the contract method 0x1ffbb064.

Solidity: function isAgent(address agent) view returns(bool)

func (*AgentFactorySession) UpgradeAgent

func (_AgentFactory *AgentFactorySession) UpgradeAgent(agent common.Address) (*types.Transaction, error)

UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.

Solidity: function upgradeAgent(address agent) returns(address newAgent)

type AgentFactoryTransactor

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

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

func NewAgentFactoryTransactor

func NewAgentFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentFactoryTransactor, error)

NewAgentFactoryTransactor creates a new write-only instance of AgentFactory, bound to a specific deployed contract.

func (*AgentFactoryTransactor) Create

func (_AgentFactory *AgentFactoryTransactor) Create(opts *bind.TransactOpts, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c041ebd.

Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)

func (*AgentFactoryTransactor) UpgradeAgent

func (_AgentFactory *AgentFactoryTransactor) UpgradeAgent(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)

UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.

Solidity: function upgradeAgent(address agent) returns(address newAgent)

type AgentFactoryTransactorRaw

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

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

func (*AgentFactoryTransactorRaw) Transact

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

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

func (*AgentFactoryTransactorRaw) Transfer

func (_AgentFactory *AgentFactoryTransactorRaw) 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 AgentFactoryTransactorSession

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

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

func (*AgentFactoryTransactorSession) Create

func (_AgentFactory *AgentFactoryTransactorSession) Create(owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c041ebd.

Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)

func (*AgentFactoryTransactorSession) UpgradeAgent

func (_AgentFactory *AgentFactoryTransactorSession) UpgradeAgent(agent common.Address) (*types.Transaction, error)

UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.

Solidity: function upgradeAgent(address agent) returns(address newAgent)

type AgentFilterer

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

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

func NewAgentFilterer

func NewAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentFilterer, error)

NewAgentFilterer creates a new log filterer instance of Agent, bound to a specific deployed contract.

type AgentPolice

type AgentPolice struct {
	AgentPoliceCaller     // Read-only binding to the contract
	AgentPoliceTransactor // Write-only binding to the contract
	AgentPoliceFilterer   // Log filterer for contract events
}

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

func NewAgentPolice

func NewAgentPolice(address common.Address, backend bind.ContractBackend) (*AgentPolice, error)

NewAgentPolice creates a new instance of AgentPolice, bound to a specific deployed contract.

type AgentPoliceCaller

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

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

func NewAgentPoliceCaller

func NewAgentPoliceCaller(address common.Address, caller bind.ContractCaller) (*AgentPoliceCaller, error)

NewAgentPoliceCaller creates a new read-only instance of AgentPolice, bound to a specific deployed contract.

func (*AgentPoliceCaller) AgentApproved

func (_AgentPolice *AgentPoliceCaller) AgentApproved(opts *bind.CallOpts, vc VerifiableCredential) error

AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.

Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCaller) AgentLiquidated

func (_AgentPolice *AgentPoliceCaller) AgentLiquidated(opts *bind.CallOpts, agentID *big.Int) (bool, error)

AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.

Solidity: function agentLiquidated(uint256 agentID) view returns(bool)

func (*AgentPoliceCaller) ConfirmRmAdministration

func (_AgentPolice *AgentPoliceCaller) ConfirmRmAdministration(opts *bind.CallOpts, vc VerifiableCredential) error

ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.

Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCaller) ConfirmRmEquity

func (_AgentPolice *AgentPoliceCaller) ConfirmRmEquity(opts *bind.CallOpts, vc VerifiableCredential) error

ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.

Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCaller) CredentialUsed

func (_AgentPolice *AgentPoliceCaller) CredentialUsed(opts *bind.CallOpts, v uint8, r [32]byte, s [32]byte) (bool, error)

CredentialUsed is a free data retrieval call binding the contract method 0xf37c8b85.

Solidity: function credentialUsed(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*AgentPoliceCaller) DefaultWindow

func (_AgentPolice *AgentPoliceCaller) DefaultWindow(opts *bind.CallOpts) (*big.Int, error)

DefaultWindow is a free data retrieval call binding the contract method 0x78ee44fd.

Solidity: function defaultWindow() view returns(uint256)

func (*AgentPoliceCaller) DeriveStructHash

func (_AgentPolice *AgentPoliceCaller) DeriveStructHash(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)

DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.

Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)

func (*AgentPoliceCaller) Digest

func (_AgentPolice *AgentPoliceCaller) Digest(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xa2f3c210.

Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)

func (*AgentPoliceCaller) IsValidCredential

func (_AgentPolice *AgentPoliceCaller) IsValidCredential(opts *bind.CallOpts, agent *big.Int, action [4]byte, sc SignedCredential) error

IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.

Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

func (*AgentPoliceCaller) MaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceCaller) MaxConsecutiveFaultEpochs(opts *bind.CallOpts) (*big.Int, error)

MaxConsecutiveFaultEpochs is a free data retrieval call binding the contract method 0x395bbfe9.

Solidity: function maxConsecutiveFaultEpochs() view returns(uint256)

func (*AgentPoliceCaller) MaxDTE

func (_AgentPolice *AgentPoliceCaller) MaxDTE(opts *bind.CallOpts) (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*AgentPoliceCaller) MaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceCaller) MaxEpochsOwedTolerance(opts *bind.CallOpts) (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*AgentPoliceCaller) MaxLTV

func (_AgentPolice *AgentPoliceCaller) MaxLTV(opts *bind.CallOpts) (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*AgentPoliceCaller) MaxPoolsPerAgent

func (_AgentPolice *AgentPoliceCaller) MaxPoolsPerAgent(opts *bind.CallOpts) (*big.Int, error)

MaxPoolsPerAgent is a free data retrieval call binding the contract method 0x56146380.

Solidity: function maxPoolsPerAgent() view returns(uint256)

func (*AgentPoliceCaller) Operator

func (_AgentPolice *AgentPoliceCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentPoliceCaller) Owner

func (_AgentPolice *AgentPoliceCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentPoliceCaller) Paused

func (_AgentPolice *AgentPoliceCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*AgentPoliceCaller) PendingOperator

func (_AgentPolice *AgentPoliceCaller) PendingOperator(opts *bind.CallOpts) (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentPoliceCaller) PendingOwner

func (_AgentPolice *AgentPoliceCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentPoliceCaller) Recover

func (_AgentPolice *AgentPoliceCaller) Recover(opts *bind.CallOpts, sc SignedCredential) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x4ead1527.

Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)

func (*AgentPoliceCaller) SectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceCaller) SectorFaultyTolerancePercent(opts *bind.CallOpts) (*big.Int, error)

SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.

Solidity: function sectorFaultyTolerancePercent() view returns(uint256)

func (*AgentPoliceCaller) VERIFIABLECREDENTIALTYPEHASH

func (_AgentPolice *AgentPoliceCaller) VERIFIABLECREDENTIALTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.

Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)

func (*AgentPoliceCaller) ValidateCred

func (_AgentPolice *AgentPoliceCaller) ValidateCred(opts *bind.CallOpts, agent *big.Int, selector [4]byte, sc SignedCredential) error

ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.

Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

type AgentPoliceCallerRaw

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

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

func (*AgentPoliceCallerRaw) Call

func (_AgentPolice *AgentPoliceCallerRaw) 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 AgentPoliceCallerSession

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

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

func (*AgentPoliceCallerSession) AgentApproved

func (_AgentPolice *AgentPoliceCallerSession) AgentApproved(vc VerifiableCredential) error

AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.

Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCallerSession) AgentLiquidated

func (_AgentPolice *AgentPoliceCallerSession) AgentLiquidated(agentID *big.Int) (bool, error)

AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.

Solidity: function agentLiquidated(uint256 agentID) view returns(bool)

func (*AgentPoliceCallerSession) ConfirmRmAdministration

func (_AgentPolice *AgentPoliceCallerSession) ConfirmRmAdministration(vc VerifiableCredential) error

ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.

Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCallerSession) ConfirmRmEquity

func (_AgentPolice *AgentPoliceCallerSession) ConfirmRmEquity(vc VerifiableCredential) error

ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.

Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceCallerSession) CredentialUsed

func (_AgentPolice *AgentPoliceCallerSession) CredentialUsed(v uint8, r [32]byte, s [32]byte) (bool, error)

CredentialUsed is a free data retrieval call binding the contract method 0xf37c8b85.

Solidity: function credentialUsed(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*AgentPoliceCallerSession) DefaultWindow

func (_AgentPolice *AgentPoliceCallerSession) DefaultWindow() (*big.Int, error)

DefaultWindow is a free data retrieval call binding the contract method 0x78ee44fd.

Solidity: function defaultWindow() view returns(uint256)

func (*AgentPoliceCallerSession) DeriveStructHash

func (_AgentPolice *AgentPoliceCallerSession) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)

DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.

Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)

func (*AgentPoliceCallerSession) Digest

func (_AgentPolice *AgentPoliceCallerSession) Digest(vc VerifiableCredential) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xa2f3c210.

Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)

func (*AgentPoliceCallerSession) IsValidCredential

func (_AgentPolice *AgentPoliceCallerSession) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error

IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.

Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

func (*AgentPoliceCallerSession) MaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceCallerSession) MaxConsecutiveFaultEpochs() (*big.Int, error)

MaxConsecutiveFaultEpochs is a free data retrieval call binding the contract method 0x395bbfe9.

Solidity: function maxConsecutiveFaultEpochs() view returns(uint256)

func (*AgentPoliceCallerSession) MaxDTE

func (_AgentPolice *AgentPoliceCallerSession) MaxDTE() (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*AgentPoliceCallerSession) MaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceCallerSession) MaxEpochsOwedTolerance() (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*AgentPoliceCallerSession) MaxLTV

func (_AgentPolice *AgentPoliceCallerSession) MaxLTV() (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*AgentPoliceCallerSession) MaxPoolsPerAgent

func (_AgentPolice *AgentPoliceCallerSession) MaxPoolsPerAgent() (*big.Int, error)

MaxPoolsPerAgent is a free data retrieval call binding the contract method 0x56146380.

Solidity: function maxPoolsPerAgent() view returns(uint256)

func (*AgentPoliceCallerSession) Operator

func (_AgentPolice *AgentPoliceCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentPoliceCallerSession) Owner

func (_AgentPolice *AgentPoliceCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentPoliceCallerSession) Paused

func (_AgentPolice *AgentPoliceCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*AgentPoliceCallerSession) PendingOperator

func (_AgentPolice *AgentPoliceCallerSession) PendingOperator() (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentPoliceCallerSession) PendingOwner

func (_AgentPolice *AgentPoliceCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentPoliceCallerSession) Recover

func (_AgentPolice *AgentPoliceCallerSession) Recover(sc SignedCredential) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x4ead1527.

Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)

func (*AgentPoliceCallerSession) SectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceCallerSession) SectorFaultyTolerancePercent() (*big.Int, error)

SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.

Solidity: function sectorFaultyTolerancePercent() view returns(uint256)

func (*AgentPoliceCallerSession) VERIFIABLECREDENTIALTYPEHASH

func (_AgentPolice *AgentPoliceCallerSession) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)

VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.

Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)

func (*AgentPoliceCallerSession) ValidateCred

func (_AgentPolice *AgentPoliceCallerSession) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error

ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.

Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

type AgentPoliceDefaulted

type AgentPoliceDefaulted struct {
	Agent common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

AgentPoliceDefaulted represents a Defaulted event raised by the AgentPolice contract.

type AgentPoliceDefaultedIterator

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

AgentPoliceDefaultedIterator is returned from FilterDefaulted and is used to iterate over the raw logs and unpacked data for Defaulted events raised by the AgentPolice contract.

func (*AgentPoliceDefaultedIterator) Close

func (it *AgentPoliceDefaultedIterator) Close() error

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

func (*AgentPoliceDefaultedIterator) Error

func (it *AgentPoliceDefaultedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentPoliceDefaultedIterator) 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 AgentPoliceFaultySectors

type AgentPoliceFaultySectors struct {
	AgentID    common.Address
	FaultEpoch *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AgentPoliceFaultySectors represents a FaultySectors event raised by the AgentPolice contract.

type AgentPoliceFaultySectorsIterator

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

AgentPoliceFaultySectorsIterator is returned from FilterFaultySectors and is used to iterate over the raw logs and unpacked data for FaultySectors events raised by the AgentPolice contract.

func (*AgentPoliceFaultySectorsIterator) Close

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

func (*AgentPoliceFaultySectorsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentPoliceFaultySectorsIterator) 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 AgentPoliceFilterer

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

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

func NewAgentPoliceFilterer

func NewAgentPoliceFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentPoliceFilterer, error)

NewAgentPoliceFilterer creates a new log filterer instance of AgentPolice, bound to a specific deployed contract.

func (*AgentPoliceFilterer) FilterDefaulted

func (_AgentPolice *AgentPoliceFilterer) FilterDefaulted(opts *bind.FilterOpts) (*AgentPoliceDefaultedIterator, error)

FilterDefaulted is a free log retrieval operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.

Solidity: event Defaulted(address agent)

func (*AgentPoliceFilterer) FilterFaultySectors

func (_AgentPolice *AgentPoliceFilterer) FilterFaultySectors(opts *bind.FilterOpts, agentID []common.Address) (*AgentPoliceFaultySectorsIterator, error)

FilterFaultySectors is a free log retrieval operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.

Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)

func (*AgentPoliceFilterer) FilterOnAdministration

func (_AgentPolice *AgentPoliceFilterer) FilterOnAdministration(opts *bind.FilterOpts) (*AgentPoliceOnAdministrationIterator, error)

FilterOnAdministration is a free log retrieval operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.

Solidity: event OnAdministration(address agent)

func (*AgentPoliceFilterer) ParseDefaulted

func (_AgentPolice *AgentPoliceFilterer) ParseDefaulted(log types.Log) (*AgentPoliceDefaulted, error)

ParseDefaulted is a log parse operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.

Solidity: event Defaulted(address agent)

func (*AgentPoliceFilterer) ParseFaultySectors

func (_AgentPolice *AgentPoliceFilterer) ParseFaultySectors(log types.Log) (*AgentPoliceFaultySectors, error)

ParseFaultySectors is a log parse operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.

Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)

func (*AgentPoliceFilterer) ParseOnAdministration

func (_AgentPolice *AgentPoliceFilterer) ParseOnAdministration(log types.Log) (*AgentPoliceOnAdministration, error)

ParseOnAdministration is a log parse operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.

Solidity: event OnAdministration(address agent)

func (*AgentPoliceFilterer) WatchDefaulted

func (_AgentPolice *AgentPoliceFilterer) WatchDefaulted(opts *bind.WatchOpts, sink chan<- *AgentPoliceDefaulted) (event.Subscription, error)

WatchDefaulted is a free log subscription operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.

Solidity: event Defaulted(address agent)

func (*AgentPoliceFilterer) WatchFaultySectors

func (_AgentPolice *AgentPoliceFilterer) WatchFaultySectors(opts *bind.WatchOpts, sink chan<- *AgentPoliceFaultySectors, agentID []common.Address) (event.Subscription, error)

WatchFaultySectors is a free log subscription operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.

Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)

func (*AgentPoliceFilterer) WatchOnAdministration

func (_AgentPolice *AgentPoliceFilterer) WatchOnAdministration(opts *bind.WatchOpts, sink chan<- *AgentPoliceOnAdministration) (event.Subscription, error)

WatchOnAdministration is a free log subscription operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.

Solidity: event OnAdministration(address agent)

type AgentPoliceOnAdministration

type AgentPoliceOnAdministration struct {
	Agent common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

AgentPoliceOnAdministration represents a OnAdministration event raised by the AgentPolice contract.

type AgentPoliceOnAdministrationIterator

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

AgentPoliceOnAdministrationIterator is returned from FilterOnAdministration and is used to iterate over the raw logs and unpacked data for OnAdministration events raised by the AgentPolice contract.

func (*AgentPoliceOnAdministrationIterator) Close

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

func (*AgentPoliceOnAdministrationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentPoliceOnAdministrationIterator) 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 AgentPoliceRaw

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

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

func (*AgentPoliceRaw) Call

func (_AgentPolice *AgentPoliceRaw) 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 (*AgentPoliceRaw) Transact

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

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

func (*AgentPoliceRaw) Transfer

func (_AgentPolice *AgentPoliceRaw) 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 AgentPoliceSession

type AgentPoliceSession struct {
	Contract     *AgentPolice      // 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
}

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

func (*AgentPoliceSession) AcceptOperator

func (_AgentPolice *AgentPoliceSession) AcceptOperator() (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentPoliceSession) AcceptOwnership

func (_AgentPolice *AgentPoliceSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentPoliceSession) AgentApproved

func (_AgentPolice *AgentPoliceSession) AgentApproved(vc VerifiableCredential) error

AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.

Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceSession) AgentLiquidated

func (_AgentPolice *AgentPoliceSession) AgentLiquidated(agentID *big.Int) (bool, error)

AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.

Solidity: function agentLiquidated(uint256 agentID) view returns(bool)

func (*AgentPoliceSession) ConfirmRmAdministration

func (_AgentPolice *AgentPoliceSession) ConfirmRmAdministration(vc VerifiableCredential) error

ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.

Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceSession) ConfirmRmEquity

func (_AgentPolice *AgentPoliceSession) ConfirmRmEquity(vc VerifiableCredential) error

ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.

Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()

func (*AgentPoliceSession) CredentialUsed

func (_AgentPolice *AgentPoliceSession) CredentialUsed(v uint8, r [32]byte, s [32]byte) (bool, error)

CredentialUsed is a free data retrieval call binding the contract method 0xf37c8b85.

Solidity: function credentialUsed(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*AgentPoliceSession) DefaultWindow

func (_AgentPolice *AgentPoliceSession) DefaultWindow() (*big.Int, error)

DefaultWindow is a free data retrieval call binding the contract method 0x78ee44fd.

Solidity: function defaultWindow() view returns(uint256)

func (*AgentPoliceSession) DeriveStructHash

func (_AgentPolice *AgentPoliceSession) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)

DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.

Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)

func (*AgentPoliceSession) Digest

func (_AgentPolice *AgentPoliceSession) Digest(vc VerifiableCredential) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xa2f3c210.

Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)

func (*AgentPoliceSession) DistributeLiquidatedFunds

func (_AgentPolice *AgentPoliceSession) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)

DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.

Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()

func (*AgentPoliceSession) IsValidCredential

func (_AgentPolice *AgentPoliceSession) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error

IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.

Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

func (*AgentPoliceSession) MarkAsFaulty

func (_AgentPolice *AgentPoliceSession) MarkAsFaulty(agents []common.Address) (*types.Transaction, error)

MarkAsFaulty is a paid mutator transaction binding the contract method 0x27ddb79d.

Solidity: function markAsFaulty(address[] agents) returns()

func (*AgentPoliceSession) MaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceSession) MaxConsecutiveFaultEpochs() (*big.Int, error)

MaxConsecutiveFaultEpochs is a free data retrieval call binding the contract method 0x395bbfe9.

Solidity: function maxConsecutiveFaultEpochs() view returns(uint256)

func (*AgentPoliceSession) MaxDTE

func (_AgentPolice *AgentPoliceSession) MaxDTE() (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*AgentPoliceSession) MaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceSession) MaxEpochsOwedTolerance() (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*AgentPoliceSession) MaxLTV

func (_AgentPolice *AgentPoliceSession) MaxLTV() (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*AgentPoliceSession) MaxPoolsPerAgent

func (_AgentPolice *AgentPoliceSession) MaxPoolsPerAgent() (*big.Int, error)

MaxPoolsPerAgent is a free data retrieval call binding the contract method 0x56146380.

Solidity: function maxPoolsPerAgent() view returns(uint256)

func (*AgentPoliceSession) Operator

func (_AgentPolice *AgentPoliceSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentPoliceSession) Owner

func (_AgentPolice *AgentPoliceSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentPoliceSession) Pause

func (_AgentPolice *AgentPoliceSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AgentPoliceSession) Paused

func (_AgentPolice *AgentPoliceSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*AgentPoliceSession) PendingOperator

func (_AgentPolice *AgentPoliceSession) PendingOperator() (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentPoliceSession) PendingOwner

func (_AgentPolice *AgentPoliceSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentPoliceSession) PrepareMinerForLiquidation

func (_AgentPolice *AgentPoliceSession) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.

Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()

func (*AgentPoliceSession) PutAgentOnAdministration

func (_AgentPolice *AgentPoliceSession) PutAgentOnAdministration(agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x2c6de7c9.

Solidity: function putAgentOnAdministration(address agent, address administration) returns()

func (*AgentPoliceSession) PutAgentOnAdministrationDueToFaultySectorDays

func (_AgentPolice *AgentPoliceSession) PutAgentOnAdministrationDueToFaultySectorDays(agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministrationDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xcb70f563.

Solidity: function putAgentOnAdministrationDueToFaultySectorDays(address agent, address administration) returns()

func (*AgentPoliceSession) Recover

func (_AgentPolice *AgentPoliceSession) Recover(sc SignedCredential) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x4ead1527.

Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)

func (*AgentPoliceSession) RefreshRoutes

func (_AgentPolice *AgentPoliceSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentPoliceSession) RegisterCredentialUseBlock

func (_AgentPolice *AgentPoliceSession) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)

RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.

Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentPoliceSession) Resume

func (_AgentPolice *AgentPoliceSession) Resume() (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x046f7da2.

Solidity: function resume() returns()

func (*AgentPoliceSession) SectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceSession) SectorFaultyTolerancePercent() (*big.Int, error)

SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.

Solidity: function sectorFaultyTolerancePercent() view returns(uint256)

func (*AgentPoliceSession) SetAgentDefaultDueToFaultySectorDays

func (_AgentPolice *AgentPoliceSession) SetAgentDefaultDueToFaultySectorDays(agent common.Address) (*types.Transaction, error)

SetAgentDefaultDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xa86beff8.

Solidity: function setAgentDefaultDueToFaultySectorDays(address agent) returns()

func (*AgentPoliceSession) SetAgentDefaulted

func (_AgentPolice *AgentPoliceSession) SetAgentDefaulted(agent common.Address) (*types.Transaction, error)

SetAgentDefaulted is a paid mutator transaction binding the contract method 0x8b21505a.

Solidity: function setAgentDefaulted(address agent) returns()

func (*AgentPoliceSession) SetDefaultWindow

func (_AgentPolice *AgentPoliceSession) SetDefaultWindow(_defaultWindow *big.Int) (*types.Transaction, error)

SetDefaultWindow is a paid mutator transaction binding the contract method 0xacec9564.

Solidity: function setDefaultWindow(uint256 _defaultWindow) returns()

func (*AgentPoliceSession) SetMaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceSession) SetMaxConsecutiveFaultEpochs(_maxConsecutiveFaultEpochs *big.Int) (*types.Transaction, error)

SetMaxConsecutiveFaultEpochs is a paid mutator transaction binding the contract method 0xaf10015e.

Solidity: function setMaxConsecutiveFaultEpochs(uint256 _maxConsecutiveFaultEpochs) returns()

func (*AgentPoliceSession) SetMaxDTE

func (_AgentPolice *AgentPoliceSession) SetMaxDTE(_maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*AgentPoliceSession) SetMaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceSession) SetMaxEpochsOwedTolerance(_maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*AgentPoliceSession) SetMaxLTV

func (_AgentPolice *AgentPoliceSession) SetMaxLTV(_maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*AgentPoliceSession) SetMaxPoolsPerAgent

func (_AgentPolice *AgentPoliceSession) SetMaxPoolsPerAgent(_maxPoolsPerAgent *big.Int) (*types.Transaction, error)

SetMaxPoolsPerAgent is a paid mutator transaction binding the contract method 0x64af5690.

Solidity: function setMaxPoolsPerAgent(uint256 _maxPoolsPerAgent) returns()

func (*AgentPoliceSession) SetSectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceSession) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)

SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.

Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()

func (*AgentPoliceSession) TransferOperator

func (_AgentPolice *AgentPoliceSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentPoliceSession) TransferOwnership

func (_AgentPolice *AgentPoliceSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*AgentPoliceSession) VERIFIABLECREDENTIALTYPEHASH

func (_AgentPolice *AgentPoliceSession) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)

VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.

Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)

func (*AgentPoliceSession) ValidateCred

func (_AgentPolice *AgentPoliceSession) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error

ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.

Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()

type AgentPoliceTransactor

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

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

func NewAgentPoliceTransactor

func NewAgentPoliceTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentPoliceTransactor, error)

NewAgentPoliceTransactor creates a new write-only instance of AgentPolice, bound to a specific deployed contract.

func (*AgentPoliceTransactor) AcceptOperator

func (_AgentPolice *AgentPoliceTransactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentPoliceTransactor) AcceptOwnership

func (_AgentPolice *AgentPoliceTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentPoliceTransactor) DistributeLiquidatedFunds

func (_AgentPolice *AgentPoliceTransactor) DistributeLiquidatedFunds(opts *bind.TransactOpts, agent common.Address, amount *big.Int) (*types.Transaction, error)

DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.

Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()

func (*AgentPoliceTransactor) MarkAsFaulty

func (_AgentPolice *AgentPoliceTransactor) MarkAsFaulty(opts *bind.TransactOpts, agents []common.Address) (*types.Transaction, error)

MarkAsFaulty is a paid mutator transaction binding the contract method 0x27ddb79d.

Solidity: function markAsFaulty(address[] agents) returns()

func (*AgentPoliceTransactor) Pause

func (_AgentPolice *AgentPoliceTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AgentPoliceTransactor) PrepareMinerForLiquidation

func (_AgentPolice *AgentPoliceTransactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.

Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()

func (*AgentPoliceTransactor) PutAgentOnAdministration

func (_AgentPolice *AgentPoliceTransactor) PutAgentOnAdministration(opts *bind.TransactOpts, agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x2c6de7c9.

Solidity: function putAgentOnAdministration(address agent, address administration) returns()

func (*AgentPoliceTransactor) PutAgentOnAdministrationDueToFaultySectorDays

func (_AgentPolice *AgentPoliceTransactor) PutAgentOnAdministrationDueToFaultySectorDays(opts *bind.TransactOpts, agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministrationDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xcb70f563.

Solidity: function putAgentOnAdministrationDueToFaultySectorDays(address agent, address administration) returns()

func (*AgentPoliceTransactor) RefreshRoutes

func (_AgentPolice *AgentPoliceTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentPoliceTransactor) RegisterCredentialUseBlock

func (_AgentPolice *AgentPoliceTransactor) RegisterCredentialUseBlock(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)

RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.

Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentPoliceTransactor) Resume

func (_AgentPolice *AgentPoliceTransactor) Resume(opts *bind.TransactOpts) (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x046f7da2.

Solidity: function resume() returns()

func (*AgentPoliceTransactor) SetAgentDefaultDueToFaultySectorDays

func (_AgentPolice *AgentPoliceTransactor) SetAgentDefaultDueToFaultySectorDays(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)

SetAgentDefaultDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xa86beff8.

Solidity: function setAgentDefaultDueToFaultySectorDays(address agent) returns()

func (*AgentPoliceTransactor) SetAgentDefaulted

func (_AgentPolice *AgentPoliceTransactor) SetAgentDefaulted(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)

SetAgentDefaulted is a paid mutator transaction binding the contract method 0x8b21505a.

Solidity: function setAgentDefaulted(address agent) returns()

func (*AgentPoliceTransactor) SetDefaultWindow

func (_AgentPolice *AgentPoliceTransactor) SetDefaultWindow(opts *bind.TransactOpts, _defaultWindow *big.Int) (*types.Transaction, error)

SetDefaultWindow is a paid mutator transaction binding the contract method 0xacec9564.

Solidity: function setDefaultWindow(uint256 _defaultWindow) returns()

func (*AgentPoliceTransactor) SetMaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceTransactor) SetMaxConsecutiveFaultEpochs(opts *bind.TransactOpts, _maxConsecutiveFaultEpochs *big.Int) (*types.Transaction, error)

SetMaxConsecutiveFaultEpochs is a paid mutator transaction binding the contract method 0xaf10015e.

Solidity: function setMaxConsecutiveFaultEpochs(uint256 _maxConsecutiveFaultEpochs) returns()

func (*AgentPoliceTransactor) SetMaxDTE

func (_AgentPolice *AgentPoliceTransactor) SetMaxDTE(opts *bind.TransactOpts, _maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*AgentPoliceTransactor) SetMaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceTransactor) SetMaxEpochsOwedTolerance(opts *bind.TransactOpts, _maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*AgentPoliceTransactor) SetMaxLTV

func (_AgentPolice *AgentPoliceTransactor) SetMaxLTV(opts *bind.TransactOpts, _maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*AgentPoliceTransactor) SetMaxPoolsPerAgent

func (_AgentPolice *AgentPoliceTransactor) SetMaxPoolsPerAgent(opts *bind.TransactOpts, _maxPoolsPerAgent *big.Int) (*types.Transaction, error)

SetMaxPoolsPerAgent is a paid mutator transaction binding the contract method 0x64af5690.

Solidity: function setMaxPoolsPerAgent(uint256 _maxPoolsPerAgent) returns()

func (*AgentPoliceTransactor) SetSectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceTransactor) SetSectorFaultyTolerancePercent(opts *bind.TransactOpts, _sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)

SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.

Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()

func (*AgentPoliceTransactor) TransferOperator

func (_AgentPolice *AgentPoliceTransactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentPoliceTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type AgentPoliceTransactorRaw

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

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

func (*AgentPoliceTransactorRaw) Transact

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

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

func (*AgentPoliceTransactorRaw) Transfer

func (_AgentPolice *AgentPoliceTransactorRaw) 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 AgentPoliceTransactorSession

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

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

func (*AgentPoliceTransactorSession) AcceptOperator

func (_AgentPolice *AgentPoliceTransactorSession) AcceptOperator() (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentPoliceTransactorSession) AcceptOwnership

func (_AgentPolice *AgentPoliceTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentPoliceTransactorSession) DistributeLiquidatedFunds

func (_AgentPolice *AgentPoliceTransactorSession) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)

DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.

Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()

func (*AgentPoliceTransactorSession) MarkAsFaulty

func (_AgentPolice *AgentPoliceTransactorSession) MarkAsFaulty(agents []common.Address) (*types.Transaction, error)

MarkAsFaulty is a paid mutator transaction binding the contract method 0x27ddb79d.

Solidity: function markAsFaulty(address[] agents) returns()

func (*AgentPoliceTransactorSession) Pause

func (_AgentPolice *AgentPoliceTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AgentPoliceTransactorSession) PrepareMinerForLiquidation

func (_AgentPolice *AgentPoliceTransactorSession) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.

Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()

func (*AgentPoliceTransactorSession) PutAgentOnAdministration

func (_AgentPolice *AgentPoliceTransactorSession) PutAgentOnAdministration(agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x2c6de7c9.

Solidity: function putAgentOnAdministration(address agent, address administration) returns()

func (*AgentPoliceTransactorSession) PutAgentOnAdministrationDueToFaultySectorDays

func (_AgentPolice *AgentPoliceTransactorSession) PutAgentOnAdministrationDueToFaultySectorDays(agent common.Address, administration common.Address) (*types.Transaction, error)

PutAgentOnAdministrationDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xcb70f563.

Solidity: function putAgentOnAdministrationDueToFaultySectorDays(address agent, address administration) returns()

func (*AgentPoliceTransactorSession) RefreshRoutes

func (_AgentPolice *AgentPoliceTransactorSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentPoliceTransactorSession) RegisterCredentialUseBlock

func (_AgentPolice *AgentPoliceTransactorSession) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)

RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.

Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentPoliceTransactorSession) Resume

func (_AgentPolice *AgentPoliceTransactorSession) Resume() (*types.Transaction, error)

Resume is a paid mutator transaction binding the contract method 0x046f7da2.

Solidity: function resume() returns()

func (*AgentPoliceTransactorSession) SetAgentDefaultDueToFaultySectorDays

func (_AgentPolice *AgentPoliceTransactorSession) SetAgentDefaultDueToFaultySectorDays(agent common.Address) (*types.Transaction, error)

SetAgentDefaultDueToFaultySectorDays is a paid mutator transaction binding the contract method 0xa86beff8.

Solidity: function setAgentDefaultDueToFaultySectorDays(address agent) returns()

func (*AgentPoliceTransactorSession) SetAgentDefaulted

func (_AgentPolice *AgentPoliceTransactorSession) SetAgentDefaulted(agent common.Address) (*types.Transaction, error)

SetAgentDefaulted is a paid mutator transaction binding the contract method 0x8b21505a.

Solidity: function setAgentDefaulted(address agent) returns()

func (*AgentPoliceTransactorSession) SetDefaultWindow

func (_AgentPolice *AgentPoliceTransactorSession) SetDefaultWindow(_defaultWindow *big.Int) (*types.Transaction, error)

SetDefaultWindow is a paid mutator transaction binding the contract method 0xacec9564.

Solidity: function setDefaultWindow(uint256 _defaultWindow) returns()

func (*AgentPoliceTransactorSession) SetMaxConsecutiveFaultEpochs

func (_AgentPolice *AgentPoliceTransactorSession) SetMaxConsecutiveFaultEpochs(_maxConsecutiveFaultEpochs *big.Int) (*types.Transaction, error)

SetMaxConsecutiveFaultEpochs is a paid mutator transaction binding the contract method 0xaf10015e.

Solidity: function setMaxConsecutiveFaultEpochs(uint256 _maxConsecutiveFaultEpochs) returns()

func (*AgentPoliceTransactorSession) SetMaxDTE

func (_AgentPolice *AgentPoliceTransactorSession) SetMaxDTE(_maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*AgentPoliceTransactorSession) SetMaxEpochsOwedTolerance

func (_AgentPolice *AgentPoliceTransactorSession) SetMaxEpochsOwedTolerance(_maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*AgentPoliceTransactorSession) SetMaxLTV

func (_AgentPolice *AgentPoliceTransactorSession) SetMaxLTV(_maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*AgentPoliceTransactorSession) SetMaxPoolsPerAgent

func (_AgentPolice *AgentPoliceTransactorSession) SetMaxPoolsPerAgent(_maxPoolsPerAgent *big.Int) (*types.Transaction, error)

SetMaxPoolsPerAgent is a paid mutator transaction binding the contract method 0x64af5690.

Solidity: function setMaxPoolsPerAgent(uint256 _maxPoolsPerAgent) returns()

func (*AgentPoliceTransactorSession) SetSectorFaultyTolerancePercent

func (_AgentPolice *AgentPoliceTransactorSession) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)

SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.

Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()

func (*AgentPoliceTransactorSession) TransferOperator

func (_AgentPolice *AgentPoliceTransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentPoliceTransactorSession) TransferOwnership

func (_AgentPolice *AgentPoliceTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type AgentRaw

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

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

func (*AgentRaw) Call

func (_Agent *AgentRaw) 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 (*AgentRaw) Transact

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

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

func (*AgentRaw) Transfer

func (_Agent *AgentRaw) 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 AgentSession

type AgentSession struct {
	Contract     *Agent            // 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
}

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

func (*AgentSession) AcceptOperator

func (_Agent *AgentSession) AcceptOperator() (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentSession) AcceptOwnership

func (_Agent *AgentSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentSession) AddMiner

func (_Agent *AgentSession) AddMiner(sc SignedCredential) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.

Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) Administration

func (_Agent *AgentSession) Administration() (common.Address, error)

Administration is a free data retrieval call binding the contract method 0x3847cb59.

Solidity: function administration() view returns(address)

func (*AgentSession) AdoRequestKey

func (_Agent *AgentSession) AdoRequestKey() (common.Address, error)

AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.

Solidity: function adoRequestKey() view returns(address)

func (*AgentSession) Borrow

func (_Agent *AgentSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0x5859117d.

Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) ChangeMinerWorker

func (_Agent *AgentSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)

ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.

Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()

func (*AgentSession) ConfirmChangeMinerWorker

func (_Agent *AgentSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)

ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.

Solidity: function confirmChangeMinerWorker(uint64 miner) returns()

func (*AgentSession) DecommissionAgent

func (_Agent *AgentSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)

DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.

Solidity: function decommissionAgent(address _newAgent) returns()

func (*AgentSession) Defaulted

func (_Agent *AgentSession) Defaulted() (bool, error)

Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.

Solidity: function defaulted() view returns(bool)

func (*AgentSession) Fallback

func (_Agent *AgentSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*AgentSession) FaultySectorStartEpoch

func (_Agent *AgentSession) FaultySectorStartEpoch() (*big.Int, error)

FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.

Solidity: function faultySectorStartEpoch() view returns(uint256)

func (*AgentSession) Id

func (_Agent *AgentSession) Id() (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*AgentSession) LiquidAssets

func (_Agent *AgentSession) LiquidAssets() (*big.Int, error)

LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.

Solidity: function liquidAssets() view returns(uint256)

func (*AgentSession) MigrateMiner

func (_Agent *AgentSession) MigrateMiner(miner uint64) (*types.Transaction, error)

MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.

Solidity: function migrateMiner(uint64 miner) returns()

func (*AgentSession) NewAgent

func (_Agent *AgentSession) NewAgent() (common.Address, error)

NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.

Solidity: function newAgent() view returns(address)

func (*AgentSession) Operator

func (_Agent *AgentSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*AgentSession) Owner

func (_Agent *AgentSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentSession) Pay

func (_Agent *AgentSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Pay is a paid mutator transaction binding the contract method 0x9ba7e551.

Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*AgentSession) PendingOperator

func (_Agent *AgentSession) PendingOperator() (common.Address, error)

PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.

Solidity: function pendingOperator() view returns(address)

func (*AgentSession) PendingOwner

func (_Agent *AgentSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*AgentSession) PrepareMinerForLiquidation

func (_Agent *AgentSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.

Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()

func (*AgentSession) PullFunds

func (_Agent *AgentSession) PullFunds(sc SignedCredential) (*types.Transaction, error)

PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.

Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) PushFunds

func (_Agent *AgentSession) PushFunds(sc SignedCredential) (*types.Transaction, error)

PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.

Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) Receive

func (_Agent *AgentSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*AgentSession) RefreshRoutes

func (_Agent *AgentSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentSession) RemoveMiner

func (_Agent *AgentSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.

Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) SetAdministration

func (_Agent *AgentSession) SetAdministration(_administration common.Address) (*types.Transaction, error)

SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.

Solidity: function setAdministration(address _administration) returns()

func (*AgentSession) SetAdoRequestKey

func (_Agent *AgentSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)

SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.

Solidity: function setAdoRequestKey(address _newKey) returns()

func (*AgentSession) SetFaulty

func (_Agent *AgentSession) SetFaulty() (*types.Transaction, error)

SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.

Solidity: function setFaulty() returns()

func (*AgentSession) SetInDefault

func (_Agent *AgentSession) SetInDefault() (*types.Transaction, error)

SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.

Solidity: function setInDefault() returns()

func (*AgentSession) SetRecovered

func (_Agent *AgentSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)

SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.

Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentSession) TransferOperator

func (_Agent *AgentSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentSession) TransferOwnership

func (_Agent *AgentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*AgentSession) Version

func (_Agent *AgentSession) Version() (uint8, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint8)

func (*AgentSession) Withdraw

func (_Agent *AgentSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)

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

Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

type AgentTransactor

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

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

func NewAgentTransactor

func NewAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentTransactor, error)

NewAgentTransactor creates a new write-only instance of Agent, bound to a specific deployed contract.

func (*AgentTransactor) AcceptOperator

func (_Agent *AgentTransactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentTransactor) AcceptOwnership

func (_Agent *AgentTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentTransactor) AddMiner

func (_Agent *AgentTransactor) AddMiner(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.

Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) Borrow

func (_Agent *AgentTransactor) Borrow(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0x5859117d.

Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) ChangeMinerWorker

func (_Agent *AgentTransactor) ChangeMinerWorker(opts *bind.TransactOpts, miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)

ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.

Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()

func (*AgentTransactor) ConfirmChangeMinerWorker

func (_Agent *AgentTransactor) ConfirmChangeMinerWorker(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)

ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.

Solidity: function confirmChangeMinerWorker(uint64 miner) returns()

func (*AgentTransactor) DecommissionAgent

func (_Agent *AgentTransactor) DecommissionAgent(opts *bind.TransactOpts, _newAgent common.Address) (*types.Transaction, error)

DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.

Solidity: function decommissionAgent(address _newAgent) returns()

func (*AgentTransactor) Fallback

func (_Agent *AgentTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*AgentTransactor) MigrateMiner

func (_Agent *AgentTransactor) MigrateMiner(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)

MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.

Solidity: function migrateMiner(uint64 miner) returns()

func (*AgentTransactor) Pay

func (_Agent *AgentTransactor) Pay(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Pay is a paid mutator transaction binding the contract method 0x9ba7e551.

Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*AgentTransactor) PrepareMinerForLiquidation

func (_Agent *AgentTransactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.

Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()

func (*AgentTransactor) PullFunds

func (_Agent *AgentTransactor) PullFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)

PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.

Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) PushFunds

func (_Agent *AgentTransactor) PushFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)

PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.

Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) Receive

func (_Agent *AgentTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*AgentTransactor) RefreshRoutes

func (_Agent *AgentTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentTransactor) RemoveMiner

func (_Agent *AgentTransactor) RemoveMiner(opts *bind.TransactOpts, newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.

Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) SetAdministration

func (_Agent *AgentTransactor) SetAdministration(opts *bind.TransactOpts, _administration common.Address) (*types.Transaction, error)

SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.

Solidity: function setAdministration(address _administration) returns()

func (*AgentTransactor) SetAdoRequestKey

func (_Agent *AgentTransactor) SetAdoRequestKey(opts *bind.TransactOpts, _newKey common.Address) (*types.Transaction, error)

SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.

Solidity: function setAdoRequestKey(address _newKey) returns()

func (*AgentTransactor) SetFaulty

func (_Agent *AgentTransactor) SetFaulty(opts *bind.TransactOpts) (*types.Transaction, error)

SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.

Solidity: function setFaulty() returns()

func (*AgentTransactor) SetInDefault

func (_Agent *AgentTransactor) SetInDefault(opts *bind.TransactOpts) (*types.Transaction, error)

SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.

Solidity: function setInDefault() returns()

func (*AgentTransactor) SetRecovered

func (_Agent *AgentTransactor) SetRecovered(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)

SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.

Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactor) TransferOperator

func (_Agent *AgentTransactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*AgentTransactor) Withdraw

func (_Agent *AgentTransactor) Withdraw(opts *bind.TransactOpts, receiver common.Address, sc SignedCredential) (*types.Transaction, error)

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

Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

type AgentTransactorRaw

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

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

func (*AgentTransactorRaw) Transact

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

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

func (*AgentTransactorRaw) Transfer

func (_Agent *AgentTransactorRaw) 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 AgentTransactorSession

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

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

func (*AgentTransactorSession) AcceptOperator

func (_Agent *AgentTransactorSession) AcceptOperator() (*types.Transaction, error)

AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.

Solidity: function acceptOperator() returns()

func (*AgentTransactorSession) AcceptOwnership

func (_Agent *AgentTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AgentTransactorSession) AddMiner

AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.

Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) Borrow

func (_Agent *AgentTransactorSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0x5859117d.

Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) ChangeMinerWorker

func (_Agent *AgentTransactorSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)

ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.

Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()

func (*AgentTransactorSession) ConfirmChangeMinerWorker

func (_Agent *AgentTransactorSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)

ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.

Solidity: function confirmChangeMinerWorker(uint64 miner) returns()

func (*AgentTransactorSession) DecommissionAgent

func (_Agent *AgentTransactorSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)

DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.

Solidity: function decommissionAgent(address _newAgent) returns()

func (*AgentTransactorSession) Fallback

func (_Agent *AgentTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*AgentTransactorSession) MigrateMiner

func (_Agent *AgentTransactorSession) MigrateMiner(miner uint64) (*types.Transaction, error)

MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.

Solidity: function migrateMiner(uint64 miner) returns()

func (*AgentTransactorSession) Pay

func (_Agent *AgentTransactorSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)

Pay is a paid mutator transaction binding the contract method 0x9ba7e551.

Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*AgentTransactorSession) PrepareMinerForLiquidation

func (_Agent *AgentTransactorSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)

PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.

Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()

func (*AgentTransactorSession) PullFunds

PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.

Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) PushFunds

PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.

Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) Receive

func (_Agent *AgentTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*AgentTransactorSession) RefreshRoutes

func (_Agent *AgentTransactorSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*AgentTransactorSession) RemoveMiner

func (_Agent *AgentTransactorSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.

Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) SetAdministration

func (_Agent *AgentTransactorSession) SetAdministration(_administration common.Address) (*types.Transaction, error)

SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.

Solidity: function setAdministration(address _administration) returns()

func (*AgentTransactorSession) SetAdoRequestKey

func (_Agent *AgentTransactorSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)

SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.

Solidity: function setAdoRequestKey(address _newKey) returns()

func (*AgentTransactorSession) SetFaulty

func (_Agent *AgentTransactorSession) SetFaulty() (*types.Transaction, error)

SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.

Solidity: function setFaulty() returns()

func (*AgentTransactorSession) SetInDefault

func (_Agent *AgentTransactorSession) SetInDefault() (*types.Transaction, error)

SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.

Solidity: function setInDefault() returns()

func (*AgentTransactorSession) SetRecovered

func (_Agent *AgentTransactorSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)

SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.

Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

func (*AgentTransactorSession) TransferOperator

func (_Agent *AgentTransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)

TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.

Solidity: function transferOperator(address newOperator) returns()

func (*AgentTransactorSession) TransferOwnership

func (_Agent *AgentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*AgentTransactorSession) Withdraw

func (_Agent *AgentTransactorSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)

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

Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()

type BeneficiaryTerm

type BeneficiaryTerm struct {
	Quota      *big.Int
	UsedQuota  *big.Int
	Expiration uint64
}

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

type CredParser

type CredParser struct {
	CredParserCaller     // Read-only binding to the contract
	CredParserTransactor // Write-only binding to the contract
	CredParserFilterer   // Log filterer for contract events
}

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

func NewCredParser

func NewCredParser(address common.Address, backend bind.ContractBackend) (*CredParser, error)

NewCredParser creates a new instance of CredParser, bound to a specific deployed contract.

type CredParserCaller

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

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

func NewCredParserCaller

func NewCredParserCaller(address common.Address, caller bind.ContractCaller) (*CredParserCaller, error)

NewCredParserCaller creates a new read-only instance of CredParser, bound to a specific deployed contract.

func (*CredParserCaller) GetAgentValue

func (_CredParser *CredParserCaller) GetAgentValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.

Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetCollateralValue

func (_CredParser *CredParserCaller) GetCollateralValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.

Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetExpectedDailyRewards

func (_CredParser *CredParserCaller) GetExpectedDailyRewards(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.

Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetFaultySectors

func (_CredParser *CredParserCaller) GetFaultySectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.

Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetGCRED

func (_CredParser *CredParserCaller) GetGCRED(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.

Solidity: function getGCRED(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetGreenScore

func (_CredParser *CredParserCaller) GetGreenScore(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.

Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetLiveSectors

func (_CredParser *CredParserCaller) GetLiveSectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.

Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetPrincipal

func (_CredParser *CredParserCaller) GetPrincipal(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.

Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)

func (*CredParserCaller) GetQAPower

func (_CredParser *CredParserCaller) GetQAPower(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)

GetQAPower is a free data retrieval call binding the contract method 0x50543540.

Solidity: function getQAPower(bytes _agentData) pure returns(uint256)

type CredParserCallerRaw

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

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

func (*CredParserCallerRaw) Call

func (_CredParser *CredParserCallerRaw) 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 CredParserCallerSession

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

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

func (*CredParserCallerSession) GetAgentValue

func (_CredParser *CredParserCallerSession) GetAgentValue(_agentData []byte) (*big.Int, error)

GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.

Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetCollateralValue

func (_CredParser *CredParserCallerSession) GetCollateralValue(_agentData []byte) (*big.Int, error)

GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.

Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetExpectedDailyRewards

func (_CredParser *CredParserCallerSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)

GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.

Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetFaultySectors

func (_CredParser *CredParserCallerSession) GetFaultySectors(_agentData []byte) (*big.Int, error)

GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.

Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetGCRED

func (_CredParser *CredParserCallerSession) GetGCRED(_agentData []byte) (*big.Int, error)

GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.

Solidity: function getGCRED(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetGreenScore

func (_CredParser *CredParserCallerSession) GetGreenScore(_agentData []byte) (*big.Int, error)

GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.

Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetLiveSectors

func (_CredParser *CredParserCallerSession) GetLiveSectors(_agentData []byte) (*big.Int, error)

GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.

Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetPrincipal

func (_CredParser *CredParserCallerSession) GetPrincipal(_agentData []byte) (*big.Int, error)

GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.

Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)

func (*CredParserCallerSession) GetQAPower

func (_CredParser *CredParserCallerSession) GetQAPower(_agentData []byte) (*big.Int, error)

GetQAPower is a free data retrieval call binding the contract method 0x50543540.

Solidity: function getQAPower(bytes _agentData) pure returns(uint256)

type CredParserFilterer

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

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

func NewCredParserFilterer

func NewCredParserFilterer(address common.Address, filterer bind.ContractFilterer) (*CredParserFilterer, error)

NewCredParserFilterer creates a new log filterer instance of CredParser, bound to a specific deployed contract.

type CredParserRaw

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

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

func (*CredParserRaw) Call

func (_CredParser *CredParserRaw) 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 (*CredParserRaw) Transact

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

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

func (*CredParserRaw) Transfer

func (_CredParser *CredParserRaw) 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 CredParserSession

type CredParserSession struct {
	Contract     *CredParser       // 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
}

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

func (*CredParserSession) GetAgentValue

func (_CredParser *CredParserSession) GetAgentValue(_agentData []byte) (*big.Int, error)

GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.

Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetCollateralValue

func (_CredParser *CredParserSession) GetCollateralValue(_agentData []byte) (*big.Int, error)

GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.

Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetExpectedDailyRewards

func (_CredParser *CredParserSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)

GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.

Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetFaultySectors

func (_CredParser *CredParserSession) GetFaultySectors(_agentData []byte) (*big.Int, error)

GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.

Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetGCRED

func (_CredParser *CredParserSession) GetGCRED(_agentData []byte) (*big.Int, error)

GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.

Solidity: function getGCRED(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetGreenScore

func (_CredParser *CredParserSession) GetGreenScore(_agentData []byte) (*big.Int, error)

GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.

Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetLiveSectors

func (_CredParser *CredParserSession) GetLiveSectors(_agentData []byte) (*big.Int, error)

GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.

Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetPrincipal

func (_CredParser *CredParserSession) GetPrincipal(_agentData []byte) (*big.Int, error)

GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.

Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)

func (*CredParserSession) GetQAPower

func (_CredParser *CredParserSession) GetQAPower(_agentData []byte) (*big.Int, error)

GetQAPower is a free data retrieval call binding the contract method 0x50543540.

Solidity: function getQAPower(bytes _agentData) pure returns(uint256)

type CredParserTransactor

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

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

func NewCredParserTransactor

func NewCredParserTransactor(address common.Address, transactor bind.ContractTransactor) (*CredParserTransactor, error)

NewCredParserTransactor creates a new write-only instance of CredParser, bound to a specific deployed contract.

type CredParserTransactorRaw

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

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

func (*CredParserTransactorRaw) Transact

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

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

func (*CredParserTransactorRaw) Transfer

func (_CredParser *CredParserTransactorRaw) 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 CredParserTransactorSession

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

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

type FilForwarder

type FilForwarder struct {
	FilForwarderCaller     // Read-only binding to the contract
	FilForwarderTransactor // Write-only binding to the contract
	FilForwarderFilterer   // Log filterer for contract events
}

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

func NewFilForwarder

func NewFilForwarder(address common.Address, backend bind.ContractBackend) (*FilForwarder, error)

NewFilForwarder creates a new instance of FilForwarder, bound to a specific deployed contract.

type FilForwarderCaller

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

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

func NewFilForwarderCaller

func NewFilForwarderCaller(address common.Address, caller bind.ContractCaller) (*FilForwarderCaller, error)

NewFilForwarderCaller creates a new read-only instance of FilForwarder, bound to a specific deployed contract.

type FilForwarderCallerRaw

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

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

func (*FilForwarderCallerRaw) Call

func (_FilForwarder *FilForwarderCallerRaw) 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 FilForwarderCallerSession

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

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

type FilForwarderFilterer

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

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

func NewFilForwarderFilterer

func NewFilForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*FilForwarderFilterer, error)

NewFilForwarderFilterer creates a new log filterer instance of FilForwarder, bound to a specific deployed contract.

type FilForwarderRaw

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

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

func (*FilForwarderRaw) Call

func (_FilForwarder *FilForwarderRaw) 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 (*FilForwarderRaw) Transact

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

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

func (*FilForwarderRaw) Transfer

func (_FilForwarder *FilForwarderRaw) 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 FilForwarderSession

type FilForwarderSession struct {
	Contract     *FilForwarder     // 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
}

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

func (*FilForwarderSession) Forward

func (_FilForwarder *FilForwarderSession) Forward(destination []byte) (*types.Transaction, error)

Forward is a paid mutator transaction binding the contract method 0xd948d468.

Solidity: function forward(bytes destination) payable returns()

type FilForwarderTransactor

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

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

func NewFilForwarderTransactor

func NewFilForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*FilForwarderTransactor, error)

NewFilForwarderTransactor creates a new write-only instance of FilForwarder, bound to a specific deployed contract.

func (*FilForwarderTransactor) Forward

func (_FilForwarder *FilForwarderTransactor) Forward(opts *bind.TransactOpts, destination []byte) (*types.Transaction, error)

Forward is a paid mutator transaction binding the contract method 0xd948d468.

Solidity: function forward(bytes destination) payable returns()

type FilForwarderTransactorRaw

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

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

func (*FilForwarderTransactorRaw) Transact

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

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

func (*FilForwarderTransactorRaw) Transfer

func (_FilForwarder *FilForwarderTransactorRaw) 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 FilForwarderTransactorSession

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

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

func (*FilForwarderTransactorSession) Forward

func (_FilForwarder *FilForwarderTransactorSession) Forward(destination []byte) (*types.Transaction, error)

Forward is a paid mutator transaction binding the contract method 0xd948d468.

Solidity: function forward(bytes destination) payable returns()

type GetBeneficiaryReturn

type GetBeneficiaryReturn struct {
	Active   ActiveBeneficiary
	Proposed PendingBeneficiaryChange
}

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

type InfinityPool

type InfinityPool struct {
	InfinityPoolCaller     // Read-only binding to the contract
	InfinityPoolTransactor // Write-only binding to the contract
	InfinityPoolFilterer   // Log filterer for contract events
}

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

func NewInfinityPool

func NewInfinityPool(address common.Address, backend bind.ContractBackend) (*InfinityPool, error)

NewInfinityPool creates a new instance of InfinityPool, bound to a specific deployed contract.

type InfinityPoolBorrow

type InfinityPoolBorrow struct {
	Agent  *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

InfinityPoolBorrow represents a Borrow event raised by the InfinityPool contract.

type InfinityPoolBorrowIterator

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

InfinityPoolBorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the InfinityPool contract.

func (*InfinityPoolBorrowIterator) Close

func (it *InfinityPoolBorrowIterator) Close() error

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

func (*InfinityPoolBorrowIterator) Error

func (it *InfinityPoolBorrowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InfinityPoolBorrowIterator) Next

func (it *InfinityPoolBorrowIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InfinityPoolCaller

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

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

func NewInfinityPoolCaller

func NewInfinityPoolCaller(address common.Address, caller bind.ContractCaller) (*InfinityPoolCaller, error)

NewInfinityPoolCaller creates a new read-only instance of InfinityPool, bound to a specific deployed contract.

func (*InfinityPoolCaller) Asset

func (_InfinityPool *InfinityPoolCaller) Asset(opts *bind.CallOpts) (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*InfinityPoolCaller) ConvertToAssets

func (_InfinityPool *InfinityPoolCaller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*InfinityPoolCaller) ConvertToShares

func (_InfinityPool *InfinityPoolCaller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*InfinityPoolCaller) FeesCollected

func (_InfinityPool *InfinityPoolCaller) FeesCollected(opts *bind.CallOpts) (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*InfinityPoolCaller) GetAbsMinLiquidity

func (_InfinityPool *InfinityPoolCaller) GetAbsMinLiquidity(opts *bind.CallOpts) (*big.Int, error)

GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.

Solidity: function getAbsMinLiquidity() view returns(uint256)

func (*InfinityPoolCaller) GetAgentBorrowed

func (_InfinityPool *InfinityPoolCaller) GetAgentBorrowed(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)

GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.

Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)

func (*InfinityPoolCaller) GetLiquidAssets

func (_InfinityPool *InfinityPoolCaller) GetLiquidAssets(opts *bind.CallOpts) (*big.Int, error)

GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.

Solidity: function getLiquidAssets() view returns(uint256)

func (*InfinityPoolCaller) GetRate

func (_InfinityPool *InfinityPoolCaller) GetRate(opts *bind.CallOpts, vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*InfinityPoolCaller) Id

func (_InfinityPool *InfinityPoolCaller) Id(opts *bind.CallOpts) (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*InfinityPoolCaller) IsApproved

func (_InfinityPool *InfinityPoolCaller) IsApproved(opts *bind.CallOpts, account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool approved)

func (*InfinityPoolCaller) IsShuttingDown

func (_InfinityPool *InfinityPoolCaller) IsShuttingDown(opts *bind.CallOpts) (bool, error)

IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.

Solidity: function isShuttingDown() view returns(bool)

func (*InfinityPoolCaller) LiquidStakingToken

func (_InfinityPool *InfinityPoolCaller) LiquidStakingToken(opts *bind.CallOpts) (common.Address, error)

LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.

Solidity: function liquidStakingToken() view returns(address)

func (*InfinityPoolCaller) MaxDeposit

func (_InfinityPool *InfinityPoolCaller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) pure returns(uint256)

func (*InfinityPoolCaller) MaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolCaller) MaxEpochsOwedTolerance(opts *bind.CallOpts) (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*InfinityPoolCaller) MaxMint

func (_InfinityPool *InfinityPoolCaller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) pure returns(uint256)

func (*InfinityPoolCaller) MaxRedeem

func (_InfinityPool *InfinityPoolCaller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*InfinityPoolCaller) MaxWithdraw

func (_InfinityPool *InfinityPoolCaller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*InfinityPoolCaller) MinimumLiquidity

func (_InfinityPool *InfinityPoolCaller) MinimumLiquidity(opts *bind.CallOpts) (*big.Int, error)

MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.

Solidity: function minimumLiquidity() view returns(uint256)

func (*InfinityPoolCaller) Owner

func (_InfinityPool *InfinityPoolCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*InfinityPoolCaller) PendingOwner

func (_InfinityPool *InfinityPoolCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*InfinityPoolCaller) PreStake

func (_InfinityPool *InfinityPoolCaller) PreStake(opts *bind.CallOpts) (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

func (*InfinityPoolCaller) PreviewDeposit

func (_InfinityPool *InfinityPoolCaller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*InfinityPoolCaller) PreviewMint

func (_InfinityPool *InfinityPoolCaller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*InfinityPoolCaller) PreviewRedeem

func (_InfinityPool *InfinityPoolCaller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*InfinityPoolCaller) PreviewWithdraw

func (_InfinityPool *InfinityPoolCaller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*InfinityPoolCaller) Ramp

func (_InfinityPool *InfinityPoolCaller) Ramp(opts *bind.CallOpts) (common.Address, error)

Ramp is a free data retrieval call binding the contract method 0x15d276e1.

Solidity: function ramp() view returns(address)

func (*InfinityPoolCaller) RateModule

func (_InfinityPool *InfinityPoolCaller) RateModule(opts *bind.CallOpts) (common.Address, error)

RateModule is a free data retrieval call binding the contract method 0x336d391e.

Solidity: function rateModule() view returns(address)

func (*InfinityPoolCaller) TotalAssets

func (_InfinityPool *InfinityPoolCaller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*InfinityPoolCaller) TotalBorrowableAssets

func (_InfinityPool *InfinityPoolCaller) TotalBorrowableAssets(opts *bind.CallOpts) (*big.Int, error)

TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.

Solidity: function totalBorrowableAssets() view returns(uint256)

func (*InfinityPoolCaller) TotalBorrowed

func (_InfinityPool *InfinityPoolCaller) TotalBorrowed(opts *bind.CallOpts) (*big.Int, error)

TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.

Solidity: function totalBorrowed() view returns(uint256)

type InfinityPoolCallerRaw

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

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

func (*InfinityPoolCallerRaw) Call

func (_InfinityPool *InfinityPoolCallerRaw) 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 InfinityPoolCallerSession

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

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

func (*InfinityPoolCallerSession) Asset

func (_InfinityPool *InfinityPoolCallerSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*InfinityPoolCallerSession) ConvertToAssets

func (_InfinityPool *InfinityPoolCallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*InfinityPoolCallerSession) ConvertToShares

func (_InfinityPool *InfinityPoolCallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*InfinityPoolCallerSession) FeesCollected

func (_InfinityPool *InfinityPoolCallerSession) FeesCollected() (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*InfinityPoolCallerSession) GetAbsMinLiquidity

func (_InfinityPool *InfinityPoolCallerSession) GetAbsMinLiquidity() (*big.Int, error)

GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.

Solidity: function getAbsMinLiquidity() view returns(uint256)

func (*InfinityPoolCallerSession) GetAgentBorrowed

func (_InfinityPool *InfinityPoolCallerSession) GetAgentBorrowed(agentID *big.Int) (*big.Int, error)

GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.

Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)

func (*InfinityPoolCallerSession) GetLiquidAssets

func (_InfinityPool *InfinityPoolCallerSession) GetLiquidAssets() (*big.Int, error)

GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.

Solidity: function getLiquidAssets() view returns(uint256)

func (*InfinityPoolCallerSession) GetRate

func (_InfinityPool *InfinityPoolCallerSession) GetRate(vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*InfinityPoolCallerSession) Id

func (_InfinityPool *InfinityPoolCallerSession) Id() (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*InfinityPoolCallerSession) IsApproved

func (_InfinityPool *InfinityPoolCallerSession) IsApproved(account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool approved)

func (*InfinityPoolCallerSession) IsShuttingDown

func (_InfinityPool *InfinityPoolCallerSession) IsShuttingDown() (bool, error)

IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.

Solidity: function isShuttingDown() view returns(bool)

func (*InfinityPoolCallerSession) LiquidStakingToken

func (_InfinityPool *InfinityPoolCallerSession) LiquidStakingToken() (common.Address, error)

LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.

Solidity: function liquidStakingToken() view returns(address)

func (*InfinityPoolCallerSession) MaxDeposit

func (_InfinityPool *InfinityPoolCallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) pure returns(uint256)

func (*InfinityPoolCallerSession) MaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolCallerSession) MaxEpochsOwedTolerance() (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*InfinityPoolCallerSession) MaxMint

func (_InfinityPool *InfinityPoolCallerSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) pure returns(uint256)

func (*InfinityPoolCallerSession) MaxRedeem

func (_InfinityPool *InfinityPoolCallerSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*InfinityPoolCallerSession) MaxWithdraw

func (_InfinityPool *InfinityPoolCallerSession) MaxWithdraw(owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*InfinityPoolCallerSession) MinimumLiquidity

func (_InfinityPool *InfinityPoolCallerSession) MinimumLiquidity() (*big.Int, error)

MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.

Solidity: function minimumLiquidity() view returns(uint256)

func (*InfinityPoolCallerSession) Owner

func (_InfinityPool *InfinityPoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*InfinityPoolCallerSession) PendingOwner

func (_InfinityPool *InfinityPoolCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*InfinityPoolCallerSession) PreStake

func (_InfinityPool *InfinityPoolCallerSession) PreStake() (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

func (*InfinityPoolCallerSession) PreviewDeposit

func (_InfinityPool *InfinityPoolCallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*InfinityPoolCallerSession) PreviewMint

func (_InfinityPool *InfinityPoolCallerSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*InfinityPoolCallerSession) PreviewRedeem

func (_InfinityPool *InfinityPoolCallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*InfinityPoolCallerSession) PreviewWithdraw

func (_InfinityPool *InfinityPoolCallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*InfinityPoolCallerSession) Ramp

func (_InfinityPool *InfinityPoolCallerSession) Ramp() (common.Address, error)

Ramp is a free data retrieval call binding the contract method 0x15d276e1.

Solidity: function ramp() view returns(address)

func (*InfinityPoolCallerSession) RateModule

func (_InfinityPool *InfinityPoolCallerSession) RateModule() (common.Address, error)

RateModule is a free data retrieval call binding the contract method 0x336d391e.

Solidity: function rateModule() view returns(address)

func (*InfinityPoolCallerSession) TotalAssets

func (_InfinityPool *InfinityPoolCallerSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*InfinityPoolCallerSession) TotalBorrowableAssets

func (_InfinityPool *InfinityPoolCallerSession) TotalBorrowableAssets() (*big.Int, error)

TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.

Solidity: function totalBorrowableAssets() view returns(uint256)

func (*InfinityPoolCallerSession) TotalBorrowed

func (_InfinityPool *InfinityPoolCallerSession) TotalBorrowed() (*big.Int, error)

TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.

Solidity: function totalBorrowed() view returns(uint256)

type InfinityPoolDeposit

type InfinityPoolDeposit struct {
	Caller common.Address
	Owner  common.Address
	Assets *big.Int
	Shares *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

InfinityPoolDeposit represents a Deposit event raised by the InfinityPool contract.

type InfinityPoolDepositIterator

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

InfinityPoolDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the InfinityPool contract.

func (*InfinityPoolDepositIterator) Close

func (it *InfinityPoolDepositIterator) Close() error

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

func (*InfinityPoolDepositIterator) Error

func (it *InfinityPoolDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InfinityPoolDepositIterator) Next

func (it *InfinityPoolDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InfinityPoolFilterer

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

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

func NewInfinityPoolFilterer

func NewInfinityPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*InfinityPoolFilterer, error)

NewInfinityPoolFilterer creates a new log filterer instance of InfinityPool, bound to a specific deployed contract.

func (*InfinityPoolFilterer) FilterBorrow

func (_InfinityPool *InfinityPoolFilterer) FilterBorrow(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolBorrowIterator, error)

FilterBorrow is a free log retrieval operation binding the contract event 0x044ec4d36b0d76019c4b5aec2a216dbca5ad6c6d671940c8fbbcd23cfe4e804b.

Solidity: event Borrow(uint256 indexed agent, uint256 amount)

func (*InfinityPoolFilterer) FilterDeposit

func (_InfinityPool *InfinityPoolFilterer) FilterDeposit(opts *bind.FilterOpts, caller []common.Address, owner []common.Address) (*InfinityPoolDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) FilterPay

func (_InfinityPool *InfinityPoolFilterer) FilterPay(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolPayIterator, error)

FilterPay is a free log retrieval operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.

Solidity: event Pay(uint256 indexed agent, uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolFilterer) FilterWithdraw

func (_InfinityPool *InfinityPoolFilterer) FilterWithdraw(opts *bind.FilterOpts, caller []common.Address, receiver []common.Address, owner []common.Address) (*InfinityPoolWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) FilterWriteOff

func (_InfinityPool *InfinityPoolFilterer) FilterWriteOff(opts *bind.FilterOpts, agentID []*big.Int) (*InfinityPoolWriteOffIterator, error)

FilterWriteOff is a free log retrieval operation binding the contract event 0x31d6d43b5ab97f9739e3e78ab72e97d7575b3233f23e8e929160920032436aa5.

Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 interestPaid)

func (*InfinityPoolFilterer) ParseBorrow

func (_InfinityPool *InfinityPoolFilterer) ParseBorrow(log types.Log) (*InfinityPoolBorrow, error)

ParseBorrow is a log parse operation binding the contract event 0x044ec4d36b0d76019c4b5aec2a216dbca5ad6c6d671940c8fbbcd23cfe4e804b.

Solidity: event Borrow(uint256 indexed agent, uint256 amount)

func (*InfinityPoolFilterer) ParseDeposit

func (_InfinityPool *InfinityPoolFilterer) ParseDeposit(log types.Log) (*InfinityPoolDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) ParsePay

func (_InfinityPool *InfinityPoolFilterer) ParsePay(log types.Log) (*InfinityPoolPay, error)

ParsePay is a log parse operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.

Solidity: event Pay(uint256 indexed agent, uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolFilterer) ParseWithdraw

func (_InfinityPool *InfinityPoolFilterer) ParseWithdraw(log types.Log) (*InfinityPoolWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) ParseWriteOff

func (_InfinityPool *InfinityPoolFilterer) ParseWriteOff(log types.Log) (*InfinityPoolWriteOff, error)

ParseWriteOff is a log parse operation binding the contract event 0x31d6d43b5ab97f9739e3e78ab72e97d7575b3233f23e8e929160920032436aa5.

Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 interestPaid)

func (*InfinityPoolFilterer) WatchBorrow

func (_InfinityPool *InfinityPoolFilterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *InfinityPoolBorrow, agent []*big.Int) (event.Subscription, error)

WatchBorrow is a free log subscription operation binding the contract event 0x044ec4d36b0d76019c4b5aec2a216dbca5ad6c6d671940c8fbbcd23cfe4e804b.

Solidity: event Borrow(uint256 indexed agent, uint256 amount)

func (*InfinityPoolFilterer) WatchDeposit

func (_InfinityPool *InfinityPoolFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *InfinityPoolDeposit, caller []common.Address, owner []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.

Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) WatchPay

func (_InfinityPool *InfinityPoolFilterer) WatchPay(opts *bind.WatchOpts, sink chan<- *InfinityPoolPay, agent []*big.Int) (event.Subscription, error)

WatchPay is a free log subscription operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.

Solidity: event Pay(uint256 indexed agent, uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolFilterer) WatchWithdraw

func (_InfinityPool *InfinityPoolFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *InfinityPoolWithdraw, caller []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*InfinityPoolFilterer) WatchWriteOff

func (_InfinityPool *InfinityPoolFilterer) WatchWriteOff(opts *bind.WatchOpts, sink chan<- *InfinityPoolWriteOff, agentID []*big.Int) (event.Subscription, error)

WatchWriteOff is a free log subscription operation binding the contract event 0x31d6d43b5ab97f9739e3e78ab72e97d7575b3233f23e8e929160920032436aa5.

Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 interestPaid)

type InfinityPoolPay

type InfinityPoolPay struct {
	Agent         *big.Int
	Rate          *big.Int
	EpochsPaid    *big.Int
	PrincipalPaid *big.Int
	Refund        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

InfinityPoolPay represents a Pay event raised by the InfinityPool contract.

type InfinityPoolPayIterator

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

InfinityPoolPayIterator is returned from FilterPay and is used to iterate over the raw logs and unpacked data for Pay events raised by the InfinityPool contract.

func (*InfinityPoolPayIterator) Close

func (it *InfinityPoolPayIterator) Close() error

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

func (*InfinityPoolPayIterator) Error

func (it *InfinityPoolPayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InfinityPoolPayIterator) Next

func (it *InfinityPoolPayIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InfinityPoolRaw

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

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

func (*InfinityPoolRaw) Call

func (_InfinityPool *InfinityPoolRaw) 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 (*InfinityPoolRaw) Transact

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

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

func (*InfinityPoolRaw) Transfer

func (_InfinityPool *InfinityPoolRaw) 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 InfinityPoolSession

type InfinityPoolSession struct {
	Contract     *InfinityPool     // 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
}

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

func (*InfinityPoolSession) AcceptOwnership

func (_InfinityPool *InfinityPoolSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*InfinityPoolSession) Asset

func (_InfinityPool *InfinityPoolSession) Asset() (common.Address, error)

Asset is a free data retrieval call binding the contract method 0x38d52e0f.

Solidity: function asset() view returns(address)

func (*InfinityPoolSession) Borrow

func (_InfinityPool *InfinityPoolSession) Borrow(vc VerifiableCredential) (*types.Transaction, error)

Borrow is a paid mutator transaction binding the contract method 0x415e819d.

Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()

func (*InfinityPoolSession) ConvertToAssets

func (_InfinityPool *InfinityPoolSession) ConvertToAssets(shares *big.Int) (*big.Int, error)

ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.

Solidity: function convertToAssets(uint256 shares) view returns(uint256)

func (*InfinityPoolSession) ConvertToShares

func (_InfinityPool *InfinityPoolSession) ConvertToShares(assets *big.Int) (*big.Int, error)

ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.

Solidity: function convertToShares(uint256 assets) view returns(uint256)

func (*InfinityPoolSession) DecommissionPool

func (_InfinityPool *InfinityPoolSession) DecommissionPool(newPool common.Address) (*types.Transaction, error)

DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.

Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)

func (*InfinityPoolSession) Deposit

func (_InfinityPool *InfinityPoolSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*InfinityPoolSession) Deposit0

func (_InfinityPool *InfinityPoolSession) Deposit0(receiver common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address receiver) payable returns(uint256 shares)

func (*InfinityPoolSession) Fallback

func (_InfinityPool *InfinityPoolSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*InfinityPoolSession) FeesCollected

func (_InfinityPool *InfinityPoolSession) FeesCollected() (*big.Int, error)

FeesCollected is a free data retrieval call binding the contract method 0xf071db5a.

Solidity: function feesCollected() view returns(uint256)

func (*InfinityPoolSession) GetAbsMinLiquidity

func (_InfinityPool *InfinityPoolSession) GetAbsMinLiquidity() (*big.Int, error)

GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.

Solidity: function getAbsMinLiquidity() view returns(uint256)

func (*InfinityPoolSession) GetAgentBorrowed

func (_InfinityPool *InfinityPoolSession) GetAgentBorrowed(agentID *big.Int) (*big.Int, error)

GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.

Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)

func (*InfinityPoolSession) GetLiquidAssets

func (_InfinityPool *InfinityPoolSession) GetLiquidAssets() (*big.Int, error)

GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.

Solidity: function getLiquidAssets() view returns(uint256)

func (*InfinityPoolSession) GetRate

func (_InfinityPool *InfinityPoolSession) GetRate(vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*InfinityPoolSession) HarvestFees

func (_InfinityPool *InfinityPoolSession) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)

HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.

Solidity: function harvestFees(uint256 harvestAmount) returns()

func (*InfinityPoolSession) HarvestToRamp

func (_InfinityPool *InfinityPoolSession) HarvestToRamp() (*types.Transaction, error)

HarvestToRamp is a paid mutator transaction binding the contract method 0x38dff49c.

Solidity: function harvestToRamp() returns()

func (*InfinityPoolSession) Id

func (_InfinityPool *InfinityPoolSession) Id() (*big.Int, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint256)

func (*InfinityPoolSession) IsApproved

func (_InfinityPool *InfinityPoolSession) IsApproved(account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool approved)

func (*InfinityPoolSession) IsShuttingDown

func (_InfinityPool *InfinityPoolSession) IsShuttingDown() (bool, error)

IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.

Solidity: function isShuttingDown() view returns(bool)

func (*InfinityPoolSession) JumpStartAccount

func (_InfinityPool *InfinityPoolSession) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)

JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.

Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()

func (*InfinityPoolSession) JumpStartTotalBorrowed

func (_InfinityPool *InfinityPoolSession) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)

JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.

Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()

func (*InfinityPoolSession) LiquidStakingToken

func (_InfinityPool *InfinityPoolSession) LiquidStakingToken() (common.Address, error)

LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.

Solidity: function liquidStakingToken() view returns(address)

func (*InfinityPoolSession) MaxDeposit

func (_InfinityPool *InfinityPoolSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

Solidity: function maxDeposit(address ) pure returns(uint256)

func (*InfinityPoolSession) MaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolSession) MaxEpochsOwedTolerance() (*big.Int, error)

MaxEpochsOwedTolerance is a free data retrieval call binding the contract method 0x1387b4ed.

Solidity: function maxEpochsOwedTolerance() view returns(uint256)

func (*InfinityPoolSession) MaxMint

func (_InfinityPool *InfinityPoolSession) MaxMint(arg0 common.Address) (*big.Int, error)

MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.

Solidity: function maxMint(address ) pure returns(uint256)

func (*InfinityPoolSession) MaxRedeem

func (_InfinityPool *InfinityPoolSession) MaxRedeem(owner common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address owner) view returns(uint256)

func (*InfinityPoolSession) MaxWithdraw

func (_InfinityPool *InfinityPoolSession) MaxWithdraw(owner common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address owner) view returns(uint256)

func (*InfinityPoolSession) MinimumLiquidity

func (_InfinityPool *InfinityPoolSession) MinimumLiquidity() (*big.Int, error)

MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.

Solidity: function minimumLiquidity() view returns(uint256)

func (*InfinityPoolSession) Mint

func (_InfinityPool *InfinityPoolSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*InfinityPoolSession) Owner

func (_InfinityPool *InfinityPoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*InfinityPoolSession) Pay

func (_InfinityPool *InfinityPoolSession) Pay(vc VerifiableCredential) (*types.Transaction, error)

Pay is a paid mutator transaction binding the contract method 0x7d694730.

Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolSession) PendingOwner

func (_InfinityPool *InfinityPoolSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*InfinityPoolSession) PreStake

func (_InfinityPool *InfinityPoolSession) PreStake() (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

func (*InfinityPoolSession) PreviewDeposit

func (_InfinityPool *InfinityPoolSession) PreviewDeposit(assets *big.Int) (*big.Int, error)

PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.

Solidity: function previewDeposit(uint256 assets) view returns(uint256)

func (*InfinityPoolSession) PreviewMint

func (_InfinityPool *InfinityPoolSession) PreviewMint(shares *big.Int) (*big.Int, error)

PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.

Solidity: function previewMint(uint256 shares) view returns(uint256)

func (*InfinityPoolSession) PreviewRedeem

func (_InfinityPool *InfinityPoolSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256)

func (*InfinityPoolSession) PreviewWithdraw

func (_InfinityPool *InfinityPoolSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256)

func (*InfinityPoolSession) Ramp

func (_InfinityPool *InfinityPoolSession) Ramp() (common.Address, error)

Ramp is a free data retrieval call binding the contract method 0x15d276e1.

Solidity: function ramp() view returns(address)

func (*InfinityPoolSession) RateModule

func (_InfinityPool *InfinityPoolSession) RateModule() (common.Address, error)

RateModule is a free data retrieval call binding the contract method 0x336d391e.

Solidity: function rateModule() view returns(address)

func (*InfinityPoolSession) Receive

func (_InfinityPool *InfinityPoolSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*InfinityPoolSession) RecoverERC20

func (_InfinityPool *InfinityPoolSession) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.

Solidity: function recoverERC20(address receiver, address token) returns()

func (*InfinityPoolSession) RecoverFIL

func (_InfinityPool *InfinityPoolSession) RecoverFIL(receiver common.Address) (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.

Solidity: function recoverFIL(address receiver) returns()

func (*InfinityPoolSession) Redeem

func (_InfinityPool *InfinityPoolSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)

func (*InfinityPoolSession) RefreshRoutes

func (_InfinityPool *InfinityPoolSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*InfinityPoolSession) SetMaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolSession) SetMaxEpochsOwedTolerance(_maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*InfinityPoolSession) SetMinimumLiquidity

func (_InfinityPool *InfinityPoolSession) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)

SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.

Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()

func (*InfinityPoolSession) SetRamp

func (_InfinityPool *InfinityPoolSession) SetRamp(_ramp common.Address) (*types.Transaction, error)

SetRamp is a paid mutator transaction binding the contract method 0x3d9c3c17.

Solidity: function setRamp(address _ramp) returns()

func (*InfinityPoolSession) SetRateModule

func (_InfinityPool *InfinityPoolSession) SetRateModule(_rateModule common.Address) (*types.Transaction, error)

SetRateModule is a paid mutator transaction binding the contract method 0x31ff92fa.

Solidity: function setRateModule(address _rateModule) returns()

func (*InfinityPoolSession) ShutDown

func (_InfinityPool *InfinityPoolSession) ShutDown() (*types.Transaction, error)

ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.

Solidity: function shutDown() returns()

func (*InfinityPoolSession) TotalAssets

func (_InfinityPool *InfinityPoolSession) TotalAssets() (*big.Int, error)

TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.

Solidity: function totalAssets() view returns(uint256)

func (*InfinityPoolSession) TotalBorrowableAssets

func (_InfinityPool *InfinityPoolSession) TotalBorrowableAssets() (*big.Int, error)

TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.

Solidity: function totalBorrowableAssets() view returns(uint256)

func (*InfinityPoolSession) TotalBorrowed

func (_InfinityPool *InfinityPoolSession) TotalBorrowed() (*big.Int, error)

TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.

Solidity: function totalBorrowed() view returns(uint256)

func (*InfinityPoolSession) TransferFromPreStake

func (_InfinityPool *InfinityPoolSession) TransferFromPreStake(_preStake common.Address, _amount *big.Int) (*types.Transaction, error)

TransferFromPreStake is a paid mutator transaction binding the contract method 0x00dcfc20.

Solidity: function transferFromPreStake(address _preStake, uint256 _amount) returns()

func (*InfinityPoolSession) TransferOwnership

func (_InfinityPool *InfinityPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*InfinityPoolSession) Withdraw

func (_InfinityPool *InfinityPoolSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)

func (*InfinityPoolSession) WriteOff

func (_InfinityPool *InfinityPoolSession) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)

WriteOff is a paid mutator transaction binding the contract method 0xc564f772.

Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns(uint256 totalOwed)

type InfinityPoolTransactor

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

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

func NewInfinityPoolTransactor

func NewInfinityPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*InfinityPoolTransactor, error)

NewInfinityPoolTransactor creates a new write-only instance of InfinityPool, bound to a specific deployed contract.

func (*InfinityPoolTransactor) AcceptOwnership

func (_InfinityPool *InfinityPoolTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*InfinityPoolTransactor) Borrow

Borrow is a paid mutator transaction binding the contract method 0x415e819d.

Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()

func (*InfinityPoolTransactor) DecommissionPool

func (_InfinityPool *InfinityPoolTransactor) DecommissionPool(opts *bind.TransactOpts, newPool common.Address) (*types.Transaction, error)

DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.

Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)

func (*InfinityPoolTransactor) Deposit

func (_InfinityPool *InfinityPoolTransactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*InfinityPoolTransactor) Deposit0

func (_InfinityPool *InfinityPoolTransactor) Deposit0(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address receiver) payable returns(uint256 shares)

func (*InfinityPoolTransactor) Fallback

func (_InfinityPool *InfinityPoolTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*InfinityPoolTransactor) HarvestFees

func (_InfinityPool *InfinityPoolTransactor) HarvestFees(opts *bind.TransactOpts, harvestAmount *big.Int) (*types.Transaction, error)

HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.

Solidity: function harvestFees(uint256 harvestAmount) returns()

func (*InfinityPoolTransactor) HarvestToRamp

func (_InfinityPool *InfinityPoolTransactor) HarvestToRamp(opts *bind.TransactOpts) (*types.Transaction, error)

HarvestToRamp is a paid mutator transaction binding the contract method 0x38dff49c.

Solidity: function harvestToRamp() returns()

func (*InfinityPoolTransactor) JumpStartAccount

func (_InfinityPool *InfinityPoolTransactor) JumpStartAccount(opts *bind.TransactOpts, receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)

JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.

Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()

func (*InfinityPoolTransactor) JumpStartTotalBorrowed

func (_InfinityPool *InfinityPoolTransactor) JumpStartTotalBorrowed(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.

Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()

func (*InfinityPoolTransactor) Mint

func (_InfinityPool *InfinityPoolTransactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*InfinityPoolTransactor) Pay

Pay is a paid mutator transaction binding the contract method 0x7d694730.

Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolTransactor) Receive

func (_InfinityPool *InfinityPoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*InfinityPoolTransactor) RecoverERC20

func (_InfinityPool *InfinityPoolTransactor) RecoverERC20(opts *bind.TransactOpts, receiver common.Address, token common.Address) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.

Solidity: function recoverERC20(address receiver, address token) returns()

func (*InfinityPoolTransactor) RecoverFIL

func (_InfinityPool *InfinityPoolTransactor) RecoverFIL(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.

Solidity: function recoverFIL(address receiver) returns()

func (*InfinityPoolTransactor) Redeem

func (_InfinityPool *InfinityPoolTransactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)

func (*InfinityPoolTransactor) RefreshRoutes

func (_InfinityPool *InfinityPoolTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*InfinityPoolTransactor) SetMaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolTransactor) SetMaxEpochsOwedTolerance(opts *bind.TransactOpts, _maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*InfinityPoolTransactor) SetMinimumLiquidity

func (_InfinityPool *InfinityPoolTransactor) SetMinimumLiquidity(opts *bind.TransactOpts, _minimumLiquidity *big.Int) (*types.Transaction, error)

SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.

Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()

func (*InfinityPoolTransactor) SetRamp

func (_InfinityPool *InfinityPoolTransactor) SetRamp(opts *bind.TransactOpts, _ramp common.Address) (*types.Transaction, error)

SetRamp is a paid mutator transaction binding the contract method 0x3d9c3c17.

Solidity: function setRamp(address _ramp) returns()

func (*InfinityPoolTransactor) SetRateModule

func (_InfinityPool *InfinityPoolTransactor) SetRateModule(opts *bind.TransactOpts, _rateModule common.Address) (*types.Transaction, error)

SetRateModule is a paid mutator transaction binding the contract method 0x31ff92fa.

Solidity: function setRateModule(address _rateModule) returns()

func (*InfinityPoolTransactor) ShutDown

func (_InfinityPool *InfinityPoolTransactor) ShutDown(opts *bind.TransactOpts) (*types.Transaction, error)

ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.

Solidity: function shutDown() returns()

func (*InfinityPoolTransactor) TransferFromPreStake

func (_InfinityPool *InfinityPoolTransactor) TransferFromPreStake(opts *bind.TransactOpts, _preStake common.Address, _amount *big.Int) (*types.Transaction, error)

TransferFromPreStake is a paid mutator transaction binding the contract method 0x00dcfc20.

Solidity: function transferFromPreStake(address _preStake, uint256 _amount) returns()

func (*InfinityPoolTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*InfinityPoolTransactor) Withdraw

func (_InfinityPool *InfinityPoolTransactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)

func (*InfinityPoolTransactor) WriteOff

func (_InfinityPool *InfinityPoolTransactor) WriteOff(opts *bind.TransactOpts, agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)

WriteOff is a paid mutator transaction binding the contract method 0xc564f772.

Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns(uint256 totalOwed)

type InfinityPoolTransactorRaw

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

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

func (*InfinityPoolTransactorRaw) Transact

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

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

func (*InfinityPoolTransactorRaw) Transfer

func (_InfinityPool *InfinityPoolTransactorRaw) 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 InfinityPoolTransactorSession

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

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

func (*InfinityPoolTransactorSession) AcceptOwnership

func (_InfinityPool *InfinityPoolTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*InfinityPoolTransactorSession) Borrow

Borrow is a paid mutator transaction binding the contract method 0x415e819d.

Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()

func (*InfinityPoolTransactorSession) DecommissionPool

func (_InfinityPool *InfinityPoolTransactorSession) DecommissionPool(newPool common.Address) (*types.Transaction, error)

DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.

Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)

func (*InfinityPoolTransactorSession) Deposit

func (_InfinityPool *InfinityPoolTransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)

func (*InfinityPoolTransactorSession) Deposit0

func (_InfinityPool *InfinityPoolTransactorSession) Deposit0(receiver common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address receiver) payable returns(uint256 shares)

func (*InfinityPoolTransactorSession) Fallback

func (_InfinityPool *InfinityPoolTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*InfinityPoolTransactorSession) HarvestFees

func (_InfinityPool *InfinityPoolTransactorSession) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)

HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.

Solidity: function harvestFees(uint256 harvestAmount) returns()

func (*InfinityPoolTransactorSession) HarvestToRamp

func (_InfinityPool *InfinityPoolTransactorSession) HarvestToRamp() (*types.Transaction, error)

HarvestToRamp is a paid mutator transaction binding the contract method 0x38dff49c.

Solidity: function harvestToRamp() returns()

func (*InfinityPoolTransactorSession) JumpStartAccount

func (_InfinityPool *InfinityPoolTransactorSession) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)

JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.

Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()

func (*InfinityPoolTransactorSession) JumpStartTotalBorrowed

func (_InfinityPool *InfinityPoolTransactorSession) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)

JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.

Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()

func (*InfinityPoolTransactorSession) Mint

func (_InfinityPool *InfinityPoolTransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)

func (*InfinityPoolTransactorSession) Pay

Pay is a paid mutator transaction binding the contract method 0x7d694730.

Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)

func (*InfinityPoolTransactorSession) Receive

func (_InfinityPool *InfinityPoolTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*InfinityPoolTransactorSession) RecoverERC20

func (_InfinityPool *InfinityPoolTransactorSession) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.

Solidity: function recoverERC20(address receiver, address token) returns()

func (*InfinityPoolTransactorSession) RecoverFIL

func (_InfinityPool *InfinityPoolTransactorSession) RecoverFIL(receiver common.Address) (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.

Solidity: function recoverFIL(address receiver) returns()

func (*InfinityPoolTransactorSession) Redeem

func (_InfinityPool *InfinityPoolTransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xba087652.

Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)

func (*InfinityPoolTransactorSession) RefreshRoutes

func (_InfinityPool *InfinityPoolTransactorSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*InfinityPoolTransactorSession) SetMaxEpochsOwedTolerance

func (_InfinityPool *InfinityPoolTransactorSession) SetMaxEpochsOwedTolerance(_maxEpochsOwedTolerance *big.Int) (*types.Transaction, error)

SetMaxEpochsOwedTolerance is a paid mutator transaction binding the contract method 0x4107e644.

Solidity: function setMaxEpochsOwedTolerance(uint256 _maxEpochsOwedTolerance) returns()

func (*InfinityPoolTransactorSession) SetMinimumLiquidity

func (_InfinityPool *InfinityPoolTransactorSession) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)

SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.

Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()

func (*InfinityPoolTransactorSession) SetRamp

func (_InfinityPool *InfinityPoolTransactorSession) SetRamp(_ramp common.Address) (*types.Transaction, error)

SetRamp is a paid mutator transaction binding the contract method 0x3d9c3c17.

Solidity: function setRamp(address _ramp) returns()

func (*InfinityPoolTransactorSession) SetRateModule

func (_InfinityPool *InfinityPoolTransactorSession) SetRateModule(_rateModule common.Address) (*types.Transaction, error)

SetRateModule is a paid mutator transaction binding the contract method 0x31ff92fa.

Solidity: function setRateModule(address _rateModule) returns()

func (*InfinityPoolTransactorSession) ShutDown

func (_InfinityPool *InfinityPoolTransactorSession) ShutDown() (*types.Transaction, error)

ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.

Solidity: function shutDown() returns()

func (*InfinityPoolTransactorSession) TransferFromPreStake

func (_InfinityPool *InfinityPoolTransactorSession) TransferFromPreStake(_preStake common.Address, _amount *big.Int) (*types.Transaction, error)

TransferFromPreStake is a paid mutator transaction binding the contract method 0x00dcfc20.

Solidity: function transferFromPreStake(address _preStake, uint256 _amount) returns()

func (*InfinityPoolTransactorSession) TransferOwnership

func (_InfinityPool *InfinityPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*InfinityPoolTransactorSession) Withdraw

func (_InfinityPool *InfinityPoolTransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)

func (*InfinityPoolTransactorSession) WriteOff

func (_InfinityPool *InfinityPoolTransactorSession) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)

WriteOff is a paid mutator transaction binding the contract method 0xc564f772.

Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns(uint256 totalOwed)

type InfinityPoolWithdraw

type InfinityPoolWithdraw struct {
	Caller   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

InfinityPoolWithdraw represents a Withdraw event raised by the InfinityPool contract.

type InfinityPoolWithdrawIterator

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

InfinityPoolWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the InfinityPool contract.

func (*InfinityPoolWithdrawIterator) Close

func (it *InfinityPoolWithdrawIterator) Close() error

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

func (*InfinityPoolWithdrawIterator) Error

func (it *InfinityPoolWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InfinityPoolWithdrawIterator) 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 InfinityPoolWriteOff

type InfinityPoolWriteOff struct {
	AgentID        *big.Int
	RecoveredFunds *big.Int
	LostFunds      *big.Int
	InterestPaid   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

InfinityPoolWriteOff represents a WriteOff event raised by the InfinityPool contract.

type InfinityPoolWriteOffIterator

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

InfinityPoolWriteOffIterator is returned from FilterWriteOff and is used to iterate over the raw logs and unpacked data for WriteOff events raised by the InfinityPool contract.

func (*InfinityPoolWriteOffIterator) Close

func (it *InfinityPoolWriteOffIterator) Close() error

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

func (*InfinityPoolWriteOffIterator) Error

func (it *InfinityPoolWriteOffIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InfinityPoolWriteOffIterator) 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 MinerRegistry

type MinerRegistry struct {
	MinerRegistryCaller     // Read-only binding to the contract
	MinerRegistryTransactor // Write-only binding to the contract
	MinerRegistryFilterer   // Log filterer for contract events
}

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

func NewMinerRegistry

func NewMinerRegistry(address common.Address, backend bind.ContractBackend) (*MinerRegistry, error)

NewMinerRegistry creates a new instance of MinerRegistry, bound to a specific deployed contract.

type MinerRegistryAddMiner

type MinerRegistryAddMiner struct {
	Agent common.Address
	Miner uint64
	Raw   types.Log // Blockchain specific contextual infos
}

MinerRegistryAddMiner represents a AddMiner event raised by the MinerRegistry contract.

type MinerRegistryAddMinerIterator

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

MinerRegistryAddMinerIterator is returned from FilterAddMiner and is used to iterate over the raw logs and unpacked data for AddMiner events raised by the MinerRegistry contract.

func (*MinerRegistryAddMinerIterator) Close

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

func (*MinerRegistryAddMinerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinerRegistryAddMinerIterator) 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 MinerRegistryCaller

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

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

func NewMinerRegistryCaller

func NewMinerRegistryCaller(address common.Address, caller bind.ContractCaller) (*MinerRegistryCaller, error)

NewMinerRegistryCaller creates a new read-only instance of MinerRegistry, bound to a specific deployed contract.

func (*MinerRegistryCaller) GetMiner

func (_MinerRegistry *MinerRegistryCaller) GetMiner(opts *bind.CallOpts, agentID *big.Int, index *big.Int) (uint64, error)

GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.

Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)

func (*MinerRegistryCaller) MinerRegistered

func (_MinerRegistry *MinerRegistryCaller) MinerRegistered(opts *bind.CallOpts, agentID *big.Int, miner uint64) (bool, error)

MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.

Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)

func (*MinerRegistryCaller) MinersCount

func (_MinerRegistry *MinerRegistryCaller) MinersCount(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)

MinersCount is a free data retrieval call binding the contract method 0xe3441365.

Solidity: function minersCount(uint256 agentID) view returns(uint256)

type MinerRegistryCallerRaw

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

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

func (*MinerRegistryCallerRaw) Call

func (_MinerRegistry *MinerRegistryCallerRaw) 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 MinerRegistryCallerSession

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

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

func (*MinerRegistryCallerSession) GetMiner

func (_MinerRegistry *MinerRegistryCallerSession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)

GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.

Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)

func (*MinerRegistryCallerSession) MinerRegistered

func (_MinerRegistry *MinerRegistryCallerSession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)

MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.

Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)

func (*MinerRegistryCallerSession) MinersCount

func (_MinerRegistry *MinerRegistryCallerSession) MinersCount(agentID *big.Int) (*big.Int, error)

MinersCount is a free data retrieval call binding the contract method 0xe3441365.

Solidity: function minersCount(uint256 agentID) view returns(uint256)

type MinerRegistryFilterer

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

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

func NewMinerRegistryFilterer

func NewMinerRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*MinerRegistryFilterer, error)

NewMinerRegistryFilterer creates a new log filterer instance of MinerRegistry, bound to a specific deployed contract.

func (*MinerRegistryFilterer) FilterAddMiner

func (_MinerRegistry *MinerRegistryFilterer) FilterAddMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryAddMinerIterator, error)

FilterAddMiner is a free log retrieval operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.

Solidity: event AddMiner(address indexed agent, uint64 indexed miner)

func (*MinerRegistryFilterer) FilterRemoveMiner

func (_MinerRegistry *MinerRegistryFilterer) FilterRemoveMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryRemoveMinerIterator, error)

FilterRemoveMiner is a free log retrieval operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.

Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)

func (*MinerRegistryFilterer) ParseAddMiner

func (_MinerRegistry *MinerRegistryFilterer) ParseAddMiner(log types.Log) (*MinerRegistryAddMiner, error)

ParseAddMiner is a log parse operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.

Solidity: event AddMiner(address indexed agent, uint64 indexed miner)

func (*MinerRegistryFilterer) ParseRemoveMiner

func (_MinerRegistry *MinerRegistryFilterer) ParseRemoveMiner(log types.Log) (*MinerRegistryRemoveMiner, error)

ParseRemoveMiner is a log parse operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.

Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)

func (*MinerRegistryFilterer) WatchAddMiner

func (_MinerRegistry *MinerRegistryFilterer) WatchAddMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryAddMiner, agent []common.Address, miner []uint64) (event.Subscription, error)

WatchAddMiner is a free log subscription operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.

Solidity: event AddMiner(address indexed agent, uint64 indexed miner)

func (*MinerRegistryFilterer) WatchRemoveMiner

func (_MinerRegistry *MinerRegistryFilterer) WatchRemoveMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryRemoveMiner, agent []common.Address, miner []uint64) (event.Subscription, error)

WatchRemoveMiner is a free log subscription operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.

Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)

type MinerRegistryRaw

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

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

func (*MinerRegistryRaw) Call

func (_MinerRegistry *MinerRegistryRaw) 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 (*MinerRegistryRaw) Transact

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

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

func (*MinerRegistryRaw) Transfer

func (_MinerRegistry *MinerRegistryRaw) 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 MinerRegistryRemoveMiner

type MinerRegistryRemoveMiner struct {
	Agent common.Address
	Miner uint64
	Raw   types.Log // Blockchain specific contextual infos
}

MinerRegistryRemoveMiner represents a RemoveMiner event raised by the MinerRegistry contract.

type MinerRegistryRemoveMinerIterator

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

MinerRegistryRemoveMinerIterator is returned from FilterRemoveMiner and is used to iterate over the raw logs and unpacked data for RemoveMiner events raised by the MinerRegistry contract.

func (*MinerRegistryRemoveMinerIterator) Close

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

func (*MinerRegistryRemoveMinerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinerRegistryRemoveMinerIterator) 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 MinerRegistrySession

type MinerRegistrySession struct {
	Contract     *MinerRegistry    // 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
}

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

func (*MinerRegistrySession) AddMiner

func (_MinerRegistry *MinerRegistrySession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.

Solidity: function addMiner(uint256 agentID, uint64 miner) returns()

func (*MinerRegistrySession) GetMiner

func (_MinerRegistry *MinerRegistrySession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)

GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.

Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)

func (*MinerRegistrySession) MinerRegistered

func (_MinerRegistry *MinerRegistrySession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)

MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.

Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)

func (*MinerRegistrySession) MinersCount

func (_MinerRegistry *MinerRegistrySession) MinersCount(agentID *big.Int) (*big.Int, error)

MinersCount is a free data retrieval call binding the contract method 0xe3441365.

Solidity: function minersCount(uint256 agentID) view returns(uint256)

func (*MinerRegistrySession) RefreshRoutes

func (_MinerRegistry *MinerRegistrySession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*MinerRegistrySession) RemoveMiner

func (_MinerRegistry *MinerRegistrySession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.

Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()

type MinerRegistryTransactor

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

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

func NewMinerRegistryTransactor

func NewMinerRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*MinerRegistryTransactor, error)

NewMinerRegistryTransactor creates a new write-only instance of MinerRegistry, bound to a specific deployed contract.

func (*MinerRegistryTransactor) AddMiner

func (_MinerRegistry *MinerRegistryTransactor) AddMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.

Solidity: function addMiner(uint256 agentID, uint64 miner) returns()

func (*MinerRegistryTransactor) RefreshRoutes

func (_MinerRegistry *MinerRegistryTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*MinerRegistryTransactor) RemoveMiner

func (_MinerRegistry *MinerRegistryTransactor) RemoveMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.

Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()

type MinerRegistryTransactorRaw

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

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

func (*MinerRegistryTransactorRaw) Transact

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

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

func (*MinerRegistryTransactorRaw) Transfer

func (_MinerRegistry *MinerRegistryTransactorRaw) 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 MinerRegistryTransactorSession

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

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

func (*MinerRegistryTransactorSession) AddMiner

func (_MinerRegistry *MinerRegistryTransactorSession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)

AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.

Solidity: function addMiner(uint256 agentID, uint64 miner) returns()

func (*MinerRegistryTransactorSession) RefreshRoutes

func (_MinerRegistry *MinerRegistryTransactorSession) RefreshRoutes() (*types.Transaction, error)

RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.

Solidity: function refreshRoutes() returns()

func (*MinerRegistryTransactorSession) RemoveMiner

func (_MinerRegistry *MinerRegistryTransactorSession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)

RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.

Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()

type MockMiner

type MockMiner struct {
	MockMinerCaller     // Read-only binding to the contract
	MockMinerTransactor // Write-only binding to the contract
	MockMinerFilterer   // Log filterer for contract events
}

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

func NewMockMiner

func NewMockMiner(address common.Address, backend bind.ContractBackend) (*MockMiner, error)

NewMockMiner creates a new instance of MockMiner, bound to a specific deployed contract.

type MockMinerCaller

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

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

func NewMockMinerCaller

func NewMockMinerCaller(address common.Address, caller bind.ContractCaller) (*MockMinerCaller, error)

NewMockMinerCaller creates a new read-only instance of MockMiner, bound to a specific deployed contract.

func (*MockMinerCaller) ActiveBeneficiary

func (_MockMiner *MockMinerCaller) ActiveBeneficiary(opts *bind.CallOpts) (struct {
	Beneficiary uint64
	Term        BeneficiaryTerm
}, error)

ActiveBeneficiary is a free data retrieval call binding the contract method 0xca5f9df3.

Solidity: function activeBeneficiary() view returns(uint64 beneficiary, (uint256,uint256,uint64) term)

func (*MockMinerCaller) GetBeneficiary

func (_MockMiner *MockMinerCaller) GetBeneficiary(opts *bind.CallOpts) (GetBeneficiaryReturn, error)

GetBeneficiary is a free data retrieval call binding the contract method 0x565a2e2c.

Solidity: function getBeneficiary() view returns(((uint64,(uint256,uint256,uint64)),(uint64,uint256,uint64,bool,bool)))

func (*MockMinerCaller) Id

func (_MockMiner *MockMinerCaller) Id(opts *bind.CallOpts) (uint64, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint64)

func (*MockMinerCaller) Owner

func (_MockMiner *MockMinerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MockMinerCaller) Proposed

func (_MockMiner *MockMinerCaller) Proposed(opts *bind.CallOpts) (common.Address, error)

Proposed is a free data retrieval call binding the contract method 0xd1851c92.

Solidity: function proposed() view returns(address)

func (*MockMinerCaller) ProposedBeneficiary

func (_MockMiner *MockMinerCaller) ProposedBeneficiary(opts *bind.CallOpts) (struct {
	NewBeneficiary        uint64
	NewQuota              *big.Int
	NewExpiration         uint64
	ApprovedByBeneficiary bool
	ApprovedByNominee     bool
}, error)

ProposedBeneficiary is a free data retrieval call binding the contract method 0xc7de66e5.

Solidity: function proposedBeneficiary() view returns(uint64 new_beneficiary, uint256 new_quota, uint64 new_expiration, bool approved_by_beneficiary, bool approved_by_nominee)

type MockMinerCallerRaw

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

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

func (*MockMinerCallerRaw) Call

func (_MockMiner *MockMinerCallerRaw) 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 MockMinerCallerSession

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

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

func (*MockMinerCallerSession) ActiveBeneficiary

func (_MockMiner *MockMinerCallerSession) ActiveBeneficiary() (struct {
	Beneficiary uint64
	Term        BeneficiaryTerm
}, error)

ActiveBeneficiary is a free data retrieval call binding the contract method 0xca5f9df3.

Solidity: function activeBeneficiary() view returns(uint64 beneficiary, (uint256,uint256,uint64) term)

func (*MockMinerCallerSession) GetBeneficiary

func (_MockMiner *MockMinerCallerSession) GetBeneficiary() (GetBeneficiaryReturn, error)

GetBeneficiary is a free data retrieval call binding the contract method 0x565a2e2c.

Solidity: function getBeneficiary() view returns(((uint64,(uint256,uint256,uint64)),(uint64,uint256,uint64,bool,bool)))

func (*MockMinerCallerSession) Id

func (_MockMiner *MockMinerCallerSession) Id() (uint64, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint64)

func (*MockMinerCallerSession) Owner

func (_MockMiner *MockMinerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MockMinerCallerSession) Proposed

func (_MockMiner *MockMinerCallerSession) Proposed() (common.Address, error)

Proposed is a free data retrieval call binding the contract method 0xd1851c92.

Solidity: function proposed() view returns(address)

func (*MockMinerCallerSession) ProposedBeneficiary

func (_MockMiner *MockMinerCallerSession) ProposedBeneficiary() (struct {
	NewBeneficiary        uint64
	NewQuota              *big.Int
	NewExpiration         uint64
	ApprovedByBeneficiary bool
	ApprovedByNominee     bool
}, error)

ProposedBeneficiary is a free data retrieval call binding the contract method 0xc7de66e5.

Solidity: function proposedBeneficiary() view returns(uint64 new_beneficiary, uint256 new_quota, uint64 new_expiration, bool approved_by_beneficiary, bool approved_by_nominee)

type MockMinerFilterer

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

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

func NewMockMinerFilterer

func NewMockMinerFilterer(address common.Address, filterer bind.ContractFilterer) (*MockMinerFilterer, error)

NewMockMinerFilterer creates a new log filterer instance of MockMiner, bound to a specific deployed contract.

type MockMinerRaw

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

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

func (*MockMinerRaw) Call

func (_MockMiner *MockMinerRaw) 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 (*MockMinerRaw) Transact

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

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

func (*MockMinerRaw) Transfer

func (_MockMiner *MockMinerRaw) 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 MockMinerSession

type MockMinerSession struct {
	Contract     *MockMiner        // 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
}

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

func (*MockMinerSession) ActiveBeneficiary

func (_MockMiner *MockMinerSession) ActiveBeneficiary() (struct {
	Beneficiary uint64
	Term        BeneficiaryTerm
}, error)

ActiveBeneficiary is a free data retrieval call binding the contract method 0xca5f9df3.

Solidity: function activeBeneficiary() view returns(uint64 beneficiary, (uint256,uint256,uint64) term)

func (*MockMinerSession) ChangeOwnerAddress

func (_MockMiner *MockMinerSession) ChangeOwnerAddress(newOwner common.Address) (*types.Transaction, error)

ChangeOwnerAddress is a paid mutator transaction binding the contract method 0x85eac05f.

Solidity: function changeOwnerAddress(address newOwner) returns()

func (*MockMinerSession) ChangeWorkerAddress

func (_MockMiner *MockMinerSession) ChangeWorkerAddress(arg0 uint64, arg1 []uint64) (*types.Transaction, error)

ChangeWorkerAddress is a paid mutator transaction binding the contract method 0x9efe79f0.

Solidity: function changeWorkerAddress(uint64 , uint64[] ) returns()

func (*MockMinerSession) Fallback

func (_MockMiner *MockMinerSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MockMinerSession) GetBeneficiary

func (_MockMiner *MockMinerSession) GetBeneficiary() (GetBeneficiaryReturn, error)

GetBeneficiary is a free data retrieval call binding the contract method 0x565a2e2c.

Solidity: function getBeneficiary() view returns(((uint64,(uint256,uint256,uint64)),(uint64,uint256,uint64,bool,bool)))

func (*MockMinerSession) Id

func (_MockMiner *MockMinerSession) Id() (uint64, error)

Id is a free data retrieval call binding the contract method 0xaf640d0f.

Solidity: function id() view returns(uint64)

func (*MockMinerSession) Owner

func (_MockMiner *MockMinerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MockMinerSession) Proposed

func (_MockMiner *MockMinerSession) Proposed() (common.Address, error)

Proposed is a free data retrieval call binding the contract method 0xd1851c92.

Solidity: function proposed() view returns(address)

func (*MockMinerSession) ProposedBeneficiary

func (_MockMiner *MockMinerSession) ProposedBeneficiary() (struct {
	NewBeneficiary        uint64
	NewQuota              *big.Int
	NewExpiration         uint64
	ApprovedByBeneficiary bool
	ApprovedByNominee     bool
}, error)

ProposedBeneficiary is a free data retrieval call binding the contract method 0xc7de66e5.

Solidity: function proposedBeneficiary() view returns(uint64 new_beneficiary, uint256 new_quota, uint64 new_expiration, bool approved_by_beneficiary, bool approved_by_nominee)

func (*MockMinerSession) Receive

func (_MockMiner *MockMinerSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MockMinerSession) SetID

func (_MockMiner *MockMinerSession) SetID(_id uint64) (*types.Transaction, error)

SetID is a paid mutator transaction binding the contract method 0xa467e366.

Solidity: function setID(uint64 _id) returns()

func (*MockMinerSession) WithdrawBalance

func (_MockMiner *MockMinerSession) WithdrawBalance(amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0xda76d5cd.

Solidity: function withdrawBalance(uint256 amount) returns(uint256 amountWithdrawn)

type MockMinerTransactor

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

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

func NewMockMinerTransactor

func NewMockMinerTransactor(address common.Address, transactor bind.ContractTransactor) (*MockMinerTransactor, error)

NewMockMinerTransactor creates a new write-only instance of MockMiner, bound to a specific deployed contract.

func (*MockMinerTransactor) ChangeOwnerAddress

func (_MockMiner *MockMinerTransactor) ChangeOwnerAddress(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

ChangeOwnerAddress is a paid mutator transaction binding the contract method 0x85eac05f.

Solidity: function changeOwnerAddress(address newOwner) returns()

func (*MockMinerTransactor) ChangeWorkerAddress

func (_MockMiner *MockMinerTransactor) ChangeWorkerAddress(opts *bind.TransactOpts, arg0 uint64, arg1 []uint64) (*types.Transaction, error)

ChangeWorkerAddress is a paid mutator transaction binding the contract method 0x9efe79f0.

Solidity: function changeWorkerAddress(uint64 , uint64[] ) returns()

func (*MockMinerTransactor) Fallback

func (_MockMiner *MockMinerTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MockMinerTransactor) Receive

func (_MockMiner *MockMinerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MockMinerTransactor) SetID

func (_MockMiner *MockMinerTransactor) SetID(opts *bind.TransactOpts, _id uint64) (*types.Transaction, error)

SetID is a paid mutator transaction binding the contract method 0xa467e366.

Solidity: function setID(uint64 _id) returns()

func (*MockMinerTransactor) WithdrawBalance

func (_MockMiner *MockMinerTransactor) WithdrawBalance(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0xda76d5cd.

Solidity: function withdrawBalance(uint256 amount) returns(uint256 amountWithdrawn)

type MockMinerTransactorRaw

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

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

func (*MockMinerTransactorRaw) Transact

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

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

func (*MockMinerTransactorRaw) Transfer

func (_MockMiner *MockMinerTransactorRaw) 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 MockMinerTransactorSession

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

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

func (*MockMinerTransactorSession) ChangeOwnerAddress

func (_MockMiner *MockMinerTransactorSession) ChangeOwnerAddress(newOwner common.Address) (*types.Transaction, error)

ChangeOwnerAddress is a paid mutator transaction binding the contract method 0x85eac05f.

Solidity: function changeOwnerAddress(address newOwner) returns()

func (*MockMinerTransactorSession) ChangeWorkerAddress

func (_MockMiner *MockMinerTransactorSession) ChangeWorkerAddress(arg0 uint64, arg1 []uint64) (*types.Transaction, error)

ChangeWorkerAddress is a paid mutator transaction binding the contract method 0x9efe79f0.

Solidity: function changeWorkerAddress(uint64 , uint64[] ) returns()

func (*MockMinerTransactorSession) Fallback

func (_MockMiner *MockMinerTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MockMinerTransactorSession) Receive

func (_MockMiner *MockMinerTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MockMinerTransactorSession) SetID

func (_MockMiner *MockMinerTransactorSession) SetID(_id uint64) (*types.Transaction, error)

SetID is a paid mutator transaction binding the contract method 0xa467e366.

Solidity: function setID(uint64 _id) returns()

func (*MockMinerTransactorSession) WithdrawBalance

func (_MockMiner *MockMinerTransactorSession) WithdrawBalance(amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0xda76d5cd.

Solidity: function withdrawBalance(uint256 amount) returns(uint256 amountWithdrawn)

type PendingBeneficiaryChange

type PendingBeneficiaryChange struct {
	NewBeneficiary        uint64
	NewQuota              *big.Int
	NewExpiration         uint64
	ApprovedByBeneficiary bool
	ApprovedByNominee     bool
}

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

type Ping

type Ping struct {
	PingCaller     // Read-only binding to the contract
	PingTransactor // Write-only binding to the contract
	PingFilterer   // Log filterer for contract events
}

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

func NewPing

func NewPing(address common.Address, backend bind.ContractBackend) (*Ping, error)

NewPing creates a new instance of Ping, bound to a specific deployed contract.

type PingAmountWithdrawn

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

PingAmountWithdrawn represents a AmountWithdrawn event raised by the Ping contract.

type PingAmountWithdrawnIterator

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

PingAmountWithdrawnIterator is returned from FilterAmountWithdrawn and is used to iterate over the raw logs and unpacked data for AmountWithdrawn events raised by the Ping contract.

func (*PingAmountWithdrawnIterator) Close

func (it *PingAmountWithdrawnIterator) Close() error

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

func (*PingAmountWithdrawnIterator) Error

func (it *PingAmountWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingAmountWithdrawnIterator) Next

func (it *PingAmountWithdrawnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingBalance

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

PingBalance represents a Balance event raised by the Ping contract.

type PingBalanceIterator

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

PingBalanceIterator is returned from FilterBalance and is used to iterate over the raw logs and unpacked data for Balance events raised by the Ping contract.

func (*PingBalanceIterator) Close

func (it *PingBalanceIterator) Close() error

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

func (*PingBalanceIterator) Error

func (it *PingBalanceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingBalanceIterator) Next

func (it *PingBalanceIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingCaller

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

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

func NewPingCaller

func NewPingCaller(address common.Address, caller bind.ContractCaller) (*PingCaller, error)

NewPingCaller creates a new read-only instance of Ping, bound to a specific deployed contract.

func (*PingCaller) GetIsFEVM

func (_Ping *PingCaller) GetIsFEVM(opts *bind.CallOpts) (bool, error)

GetIsFEVM is a free data retrieval call binding the contract method 0x4249538e.

Solidity: function getIsFEVM() pure returns(bool)

func (*PingCaller) GetVersion

func (_Ping *PingCaller) GetVersion(opts *bind.CallOpts) (*big.Int, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() pure returns(uint256)

type PingCallerRaw

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

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

func (*PingCallerRaw) Call

func (_Ping *PingCallerRaw) 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 PingCallerSession

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

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

func (*PingCallerSession) GetIsFEVM

func (_Ping *PingCallerSession) GetIsFEVM() (bool, error)

GetIsFEVM is a free data retrieval call binding the contract method 0x4249538e.

Solidity: function getIsFEVM() pure returns(bool)

func (*PingCallerSession) GetVersion

func (_Ping *PingCallerSession) GetVersion() (*big.Int, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() pure returns(uint256)

type PingFilterer

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

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

func NewPingFilterer

func NewPingFilterer(address common.Address, filterer bind.ContractFilterer) (*PingFilterer, error)

NewPingFilterer creates a new log filterer instance of Ping, bound to a specific deployed contract.

func (*PingFilterer) FilterAmountWithdrawn

func (_Ping *PingFilterer) FilterAmountWithdrawn(opts *bind.FilterOpts) (*PingAmountWithdrawnIterator, error)

FilterAmountWithdrawn is a free log retrieval operation binding the contract event 0x3e92aa4db3477ddd7c90d0ded7b985612c042e99cdeed9408343c650bdda73b9.

Solidity: event AmountWithdrawn(uint256 arg0)

func (*PingFilterer) FilterBalance

func (_Ping *PingFilterer) FilterBalance(opts *bind.FilterOpts) (*PingBalanceIterator, error)

FilterBalance is a free log retrieval operation binding the contract event 0xe8d947d7ebdd7b8b8fa2ad2022c7591418ac32d8c29c5f8a8fc9de52ffa54092.

Solidity: event Balance(uint256 arg0)

func (*PingFilterer) FilterIsOwner

func (_Ping *PingFilterer) FilterIsOwner(opts *bind.FilterOpts) (*PingIsOwnerIterator, error)

FilterIsOwner is a free log retrieval operation binding the contract event 0xf86afeaae77bccf494ba8205cc81f613ed84b3839d47a054b15a4ffd41ebd53e.

Solidity: event IsOwner(bool arg0)

func (*PingFilterer) FilterReceived

func (_Ping *PingFilterer) FilterReceived(opts *bind.FilterOpts) (*PingReceivedIterator, error)

FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address arg0, uint256 arg1)

func (*PingFilterer) ParseAmountWithdrawn

func (_Ping *PingFilterer) ParseAmountWithdrawn(log types.Log) (*PingAmountWithdrawn, error)

ParseAmountWithdrawn is a log parse operation binding the contract event 0x3e92aa4db3477ddd7c90d0ded7b985612c042e99cdeed9408343c650bdda73b9.

Solidity: event AmountWithdrawn(uint256 arg0)

func (*PingFilterer) ParseBalance

func (_Ping *PingFilterer) ParseBalance(log types.Log) (*PingBalance, error)

ParseBalance is a log parse operation binding the contract event 0xe8d947d7ebdd7b8b8fa2ad2022c7591418ac32d8c29c5f8a8fc9de52ffa54092.

Solidity: event Balance(uint256 arg0)

func (*PingFilterer) ParseIsOwner

func (_Ping *PingFilterer) ParseIsOwner(log types.Log) (*PingIsOwner, error)

ParseIsOwner is a log parse operation binding the contract event 0xf86afeaae77bccf494ba8205cc81f613ed84b3839d47a054b15a4ffd41ebd53e.

Solidity: event IsOwner(bool arg0)

func (*PingFilterer) ParseReceived

func (_Ping *PingFilterer) ParseReceived(log types.Log) (*PingReceived, error)

ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address arg0, uint256 arg1)

func (*PingFilterer) WatchAmountWithdrawn

func (_Ping *PingFilterer) WatchAmountWithdrawn(opts *bind.WatchOpts, sink chan<- *PingAmountWithdrawn) (event.Subscription, error)

WatchAmountWithdrawn is a free log subscription operation binding the contract event 0x3e92aa4db3477ddd7c90d0ded7b985612c042e99cdeed9408343c650bdda73b9.

Solidity: event AmountWithdrawn(uint256 arg0)

func (*PingFilterer) WatchBalance

func (_Ping *PingFilterer) WatchBalance(opts *bind.WatchOpts, sink chan<- *PingBalance) (event.Subscription, error)

WatchBalance is a free log subscription operation binding the contract event 0xe8d947d7ebdd7b8b8fa2ad2022c7591418ac32d8c29c5f8a8fc9de52ffa54092.

Solidity: event Balance(uint256 arg0)

func (*PingFilterer) WatchIsOwner

func (_Ping *PingFilterer) WatchIsOwner(opts *bind.WatchOpts, sink chan<- *PingIsOwner) (event.Subscription, error)

WatchIsOwner is a free log subscription operation binding the contract event 0xf86afeaae77bccf494ba8205cc81f613ed84b3839d47a054b15a4ffd41ebd53e.

Solidity: event IsOwner(bool arg0)

func (*PingFilterer) WatchReceived

func (_Ping *PingFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *PingReceived) (event.Subscription, error)

WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address arg0, uint256 arg1)

type PingIsOwner

type PingIsOwner struct {
	Arg0 bool
	Raw  types.Log // Blockchain specific contextual infos
}

PingIsOwner represents a IsOwner event raised by the Ping contract.

type PingIsOwnerIterator

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

PingIsOwnerIterator is returned from FilterIsOwner and is used to iterate over the raw logs and unpacked data for IsOwner events raised by the Ping contract.

func (*PingIsOwnerIterator) Close

func (it *PingIsOwnerIterator) Close() error

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

func (*PingIsOwnerIterator) Error

func (it *PingIsOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingIsOwnerIterator) Next

func (it *PingIsOwnerIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingRaw

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

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

func (*PingRaw) Call

func (_Ping *PingRaw) 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 (*PingRaw) Transact

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

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

func (*PingRaw) Transfer

func (_Ping *PingRaw) 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 PingReceived

type PingReceived struct {
	Arg0 common.Address
	Arg1 *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

PingReceived represents a Received event raised by the Ping contract.

type PingReceivedIterator

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

PingReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the Ping contract.

func (*PingReceivedIterator) Close

func (it *PingReceivedIterator) Close() error

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

func (*PingReceivedIterator) Error

func (it *PingReceivedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PingReceivedIterator) Next

func (it *PingReceivedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PingSession

type PingSession struct {
	Contract     *Ping             // 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
}

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

func (*PingSession) ChangeOwner

func (_Ping *PingSession) ChangeOwner(target uint64) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf5914f5b.

Solidity: function changeOwner(uint64 target) returns()

func (*PingSession) CheckIsOwner

func (_Ping *PingSession) CheckIsOwner(target uint64) (*types.Transaction, error)

CheckIsOwner is a paid mutator transaction binding the contract method 0x7cb2e58e.

Solidity: function checkIsOwner(uint64 target) returns()

func (*PingSession) GetBalance

func (_Ping *PingSession) GetBalance(target uint64) (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0x341b9e5a.

Solidity: function getBalance(uint64 target) returns()

func (*PingSession) GetIsFEVM

func (_Ping *PingSession) GetIsFEVM() (bool, error)

GetIsFEVM is a free data retrieval call binding the contract method 0x4249538e.

Solidity: function getIsFEVM() pure returns(bool)

func (*PingSession) GetVersion

func (_Ping *PingSession) GetVersion() (*big.Int, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() pure returns(uint256)

func (*PingSession) Receive

func (_Ping *PingSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PingSession) Transfer

func (_Ping *PingSession) Transfer(target uint64, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3823c189.

Solidity: function transfer(uint64 target, uint256 amount) returns()

func (*PingSession) WithdrawBalance

func (_Ping *PingSession) WithdrawBalance(target uint64, amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x38792dd3.

Solidity: function withdrawBalance(uint64 target, uint256 amount) returns()

type PingTransactor

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

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

func NewPingTransactor

func NewPingTransactor(address common.Address, transactor bind.ContractTransactor) (*PingTransactor, error)

NewPingTransactor creates a new write-only instance of Ping, bound to a specific deployed contract.

func (*PingTransactor) ChangeOwner

func (_Ping *PingTransactor) ChangeOwner(opts *bind.TransactOpts, target uint64) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf5914f5b.

Solidity: function changeOwner(uint64 target) returns()

func (*PingTransactor) CheckIsOwner

func (_Ping *PingTransactor) CheckIsOwner(opts *bind.TransactOpts, target uint64) (*types.Transaction, error)

CheckIsOwner is a paid mutator transaction binding the contract method 0x7cb2e58e.

Solidity: function checkIsOwner(uint64 target) returns()

func (*PingTransactor) GetBalance

func (_Ping *PingTransactor) GetBalance(opts *bind.TransactOpts, target uint64) (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0x341b9e5a.

Solidity: function getBalance(uint64 target) returns()

func (*PingTransactor) Receive

func (_Ping *PingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PingTransactor) Transfer

func (_Ping *PingTransactor) Transfer(opts *bind.TransactOpts, target uint64, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3823c189.

Solidity: function transfer(uint64 target, uint256 amount) returns()

func (*PingTransactor) WithdrawBalance

func (_Ping *PingTransactor) WithdrawBalance(opts *bind.TransactOpts, target uint64, amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x38792dd3.

Solidity: function withdrawBalance(uint64 target, uint256 amount) returns()

type PingTransactorRaw

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

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

func (*PingTransactorRaw) Transact

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

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

func (*PingTransactorRaw) Transfer

func (_Ping *PingTransactorRaw) 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 PingTransactorSession

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

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

func (*PingTransactorSession) ChangeOwner

func (_Ping *PingTransactorSession) ChangeOwner(target uint64) (*types.Transaction, error)

ChangeOwner is a paid mutator transaction binding the contract method 0xf5914f5b.

Solidity: function changeOwner(uint64 target) returns()

func (*PingTransactorSession) CheckIsOwner

func (_Ping *PingTransactorSession) CheckIsOwner(target uint64) (*types.Transaction, error)

CheckIsOwner is a paid mutator transaction binding the contract method 0x7cb2e58e.

Solidity: function checkIsOwner(uint64 target) returns()

func (*PingTransactorSession) GetBalance

func (_Ping *PingTransactorSession) GetBalance(target uint64) (*types.Transaction, error)

GetBalance is a paid mutator transaction binding the contract method 0x341b9e5a.

Solidity: function getBalance(uint64 target) returns()

func (*PingTransactorSession) Receive

func (_Ping *PingTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PingTransactorSession) Transfer

func (_Ping *PingTransactorSession) Transfer(target uint64, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x3823c189.

Solidity: function transfer(uint64 target, uint256 amount) returns()

func (*PingTransactorSession) WithdrawBalance

func (_Ping *PingTransactorSession) WithdrawBalance(target uint64, amount *big.Int) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x38792dd3.

Solidity: function withdrawBalance(uint64 target, uint256 amount) returns()

type PoolRegistry

type PoolRegistry struct {
	PoolRegistryCaller     // Read-only binding to the contract
	PoolRegistryTransactor // Write-only binding to the contract
	PoolRegistryFilterer   // Log filterer for contract events
}

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

func NewPoolRegistry

func NewPoolRegistry(address common.Address, backend bind.ContractBackend) (*PoolRegistry, error)

NewPoolRegistry creates a new instance of PoolRegistry, bound to a specific deployed contract.

type PoolRegistryCaller

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

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

func NewPoolRegistryCaller

func NewPoolRegistryCaller(address common.Address, caller bind.ContractCaller) (*PoolRegistryCaller, error)

NewPoolRegistryCaller creates a new read-only instance of PoolRegistry, bound to a specific deployed contract.

func (*PoolRegistryCaller) AllPools

func (_PoolRegistry *PoolRegistryCaller) AllPools(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

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

func (*PoolRegistryCaller) AllPoolsLength

func (_PoolRegistry *PoolRegistryCaller) AllPoolsLength(opts *bind.CallOpts) (*big.Int, error)

AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.

Solidity: function allPoolsLength() view returns(uint256)

func (*PoolRegistryCaller) MAXTREASURYFEE

func (_PoolRegistry *PoolRegistryCaller) MAXTREASURYFEE(opts *bind.CallOpts) (*big.Int, error)

MAXTREASURYFEE is a free data retrieval call binding the contract method 0xf2b3c809.

Solidity: function MAX_TREASURY_FEE() view returns(uint256)

func (*PoolRegistryCaller) Owner

func (_PoolRegistry *PoolRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolRegistryCaller) PendingOwner

func (_PoolRegistry *PoolRegistryCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolRegistryCaller) PoolIDs

func (_PoolRegistry *PoolRegistryCaller) PoolIDs(opts *bind.CallOpts, agentID *big.Int) ([]*big.Int, error)

PoolIDs is a free data retrieval call binding the contract method 0x9a014e24.

Solidity: function poolIDs(uint256 agentID) view returns(uint256[])

func (*PoolRegistryCaller) TreasuryFeeRate

func (_PoolRegistry *PoolRegistryCaller) TreasuryFeeRate(opts *bind.CallOpts) (*big.Int, error)

TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.

Solidity: function treasuryFeeRate() view returns(uint256)

type PoolRegistryCallerRaw

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

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

func (*PoolRegistryCallerRaw) Call

func (_PoolRegistry *PoolRegistryCallerRaw) 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 PoolRegistryCallerSession

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

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

func (*PoolRegistryCallerSession) AllPools

func (_PoolRegistry *PoolRegistryCallerSession) AllPools(arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

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

func (*PoolRegistryCallerSession) AllPoolsLength

func (_PoolRegistry *PoolRegistryCallerSession) AllPoolsLength() (*big.Int, error)

AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.

Solidity: function allPoolsLength() view returns(uint256)

func (*PoolRegistryCallerSession) MAXTREASURYFEE

func (_PoolRegistry *PoolRegistryCallerSession) MAXTREASURYFEE() (*big.Int, error)

MAXTREASURYFEE is a free data retrieval call binding the contract method 0xf2b3c809.

Solidity: function MAX_TREASURY_FEE() view returns(uint256)

func (*PoolRegistryCallerSession) Owner

func (_PoolRegistry *PoolRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolRegistryCallerSession) PendingOwner

func (_PoolRegistry *PoolRegistryCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolRegistryCallerSession) PoolIDs

func (_PoolRegistry *PoolRegistryCallerSession) PoolIDs(agentID *big.Int) ([]*big.Int, error)

PoolIDs is a free data retrieval call binding the contract method 0x9a014e24.

Solidity: function poolIDs(uint256 agentID) view returns(uint256[])

func (*PoolRegistryCallerSession) TreasuryFeeRate

func (_PoolRegistry *PoolRegistryCallerSession) TreasuryFeeRate() (*big.Int, error)

TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.

Solidity: function treasuryFeeRate() view returns(uint256)

type PoolRegistryFilterer

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

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

func NewPoolRegistryFilterer

func NewPoolRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*PoolRegistryFilterer, error)

NewPoolRegistryFilterer creates a new log filterer instance of PoolRegistry, bound to a specific deployed contract.

type PoolRegistryRaw

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

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

func (*PoolRegistryRaw) Call

func (_PoolRegistry *PoolRegistryRaw) 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 (*PoolRegistryRaw) Transact

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

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

func (*PoolRegistryRaw) Transfer

func (_PoolRegistry *PoolRegistryRaw) 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 PoolRegistrySession

type PoolRegistrySession struct {
	Contract     *PoolRegistry     // 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
}

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

func (*PoolRegistrySession) AcceptOwnership

func (_PoolRegistry *PoolRegistrySession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolRegistrySession) AddPoolToList

func (_PoolRegistry *PoolRegistrySession) AddPoolToList(agentID *big.Int, pool *big.Int) (*types.Transaction, error)

AddPoolToList is a paid mutator transaction binding the contract method 0x6834f901.

Solidity: function addPoolToList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistrySession) AllPools

func (_PoolRegistry *PoolRegistrySession) AllPools(arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

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

func (*PoolRegistrySession) AllPoolsLength

func (_PoolRegistry *PoolRegistrySession) AllPoolsLength() (*big.Int, error)

AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.

Solidity: function allPoolsLength() view returns(uint256)

func (*PoolRegistrySession) AttachPool

func (_PoolRegistry *PoolRegistrySession) AttachPool(pool common.Address) (*types.Transaction, error)

AttachPool is a paid mutator transaction binding the contract method 0x12b1ee6c.

Solidity: function attachPool(address pool) returns()

func (*PoolRegistrySession) MAXTREASURYFEE

func (_PoolRegistry *PoolRegistrySession) MAXTREASURYFEE() (*big.Int, error)

MAXTREASURYFEE is a free data retrieval call binding the contract method 0xf2b3c809.

Solidity: function MAX_TREASURY_FEE() view returns(uint256)

func (*PoolRegistrySession) Owner

func (_PoolRegistry *PoolRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolRegistrySession) PendingOwner

func (_PoolRegistry *PoolRegistrySession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolRegistrySession) PoolIDs

func (_PoolRegistry *PoolRegistrySession) PoolIDs(agentID *big.Int) ([]*big.Int, error)

PoolIDs is a free data retrieval call binding the contract method 0x9a014e24.

Solidity: function poolIDs(uint256 agentID) view returns(uint256[])

func (*PoolRegistrySession) RemovePoolFromList

func (_PoolRegistry *PoolRegistrySession) RemovePoolFromList(agentID *big.Int, pool *big.Int) (*types.Transaction, error)

RemovePoolFromList is a paid mutator transaction binding the contract method 0x8152a6c6.

Solidity: function removePoolFromList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistrySession) SetTreasuryFeeRate

func (_PoolRegistry *PoolRegistrySession) SetTreasuryFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.

Solidity: function setTreasuryFeeRate(uint256 newFeeRate) returns()

func (*PoolRegistrySession) TransferOwnership

func (_PoolRegistry *PoolRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PoolRegistrySession) TreasuryFeeRate

func (_PoolRegistry *PoolRegistrySession) TreasuryFeeRate() (*big.Int, error)

TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.

Solidity: function treasuryFeeRate() view returns(uint256)

func (*PoolRegistrySession) UpgradePool

func (_PoolRegistry *PoolRegistrySession) UpgradePool(newPool common.Address) (*types.Transaction, error)

UpgradePool is a paid mutator transaction binding the contract method 0xa2ff484f.

Solidity: function upgradePool(address newPool) returns()

type PoolRegistryTransactor

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

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

func NewPoolRegistryTransactor

func NewPoolRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*PoolRegistryTransactor, error)

NewPoolRegistryTransactor creates a new write-only instance of PoolRegistry, bound to a specific deployed contract.

func (*PoolRegistryTransactor) AcceptOwnership

func (_PoolRegistry *PoolRegistryTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolRegistryTransactor) AddPoolToList

func (_PoolRegistry *PoolRegistryTransactor) AddPoolToList(opts *bind.TransactOpts, agentID *big.Int, pool *big.Int) (*types.Transaction, error)

AddPoolToList is a paid mutator transaction binding the contract method 0x6834f901.

Solidity: function addPoolToList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistryTransactor) AttachPool

func (_PoolRegistry *PoolRegistryTransactor) AttachPool(opts *bind.TransactOpts, pool common.Address) (*types.Transaction, error)

AttachPool is a paid mutator transaction binding the contract method 0x12b1ee6c.

Solidity: function attachPool(address pool) returns()

func (*PoolRegistryTransactor) RemovePoolFromList

func (_PoolRegistry *PoolRegistryTransactor) RemovePoolFromList(opts *bind.TransactOpts, agentID *big.Int, pool *big.Int) (*types.Transaction, error)

RemovePoolFromList is a paid mutator transaction binding the contract method 0x8152a6c6.

Solidity: function removePoolFromList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistryTransactor) SetTreasuryFeeRate

func (_PoolRegistry *PoolRegistryTransactor) SetTreasuryFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)

SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.

Solidity: function setTreasuryFeeRate(uint256 newFeeRate) returns()

func (*PoolRegistryTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PoolRegistryTransactor) UpgradePool

func (_PoolRegistry *PoolRegistryTransactor) UpgradePool(opts *bind.TransactOpts, newPool common.Address) (*types.Transaction, error)

UpgradePool is a paid mutator transaction binding the contract method 0xa2ff484f.

Solidity: function upgradePool(address newPool) returns()

type PoolRegistryTransactorRaw

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

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

func (*PoolRegistryTransactorRaw) Transact

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

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

func (*PoolRegistryTransactorRaw) Transfer

func (_PoolRegistry *PoolRegistryTransactorRaw) 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 PoolRegistryTransactorSession

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

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

func (*PoolRegistryTransactorSession) AcceptOwnership

func (_PoolRegistry *PoolRegistryTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolRegistryTransactorSession) AddPoolToList

func (_PoolRegistry *PoolRegistryTransactorSession) AddPoolToList(agentID *big.Int, pool *big.Int) (*types.Transaction, error)

AddPoolToList is a paid mutator transaction binding the contract method 0x6834f901.

Solidity: function addPoolToList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistryTransactorSession) AttachPool

func (_PoolRegistry *PoolRegistryTransactorSession) AttachPool(pool common.Address) (*types.Transaction, error)

AttachPool is a paid mutator transaction binding the contract method 0x12b1ee6c.

Solidity: function attachPool(address pool) returns()

func (*PoolRegistryTransactorSession) RemovePoolFromList

func (_PoolRegistry *PoolRegistryTransactorSession) RemovePoolFromList(agentID *big.Int, pool *big.Int) (*types.Transaction, error)

RemovePoolFromList is a paid mutator transaction binding the contract method 0x8152a6c6.

Solidity: function removePoolFromList(uint256 agentID, uint256 pool) returns()

func (*PoolRegistryTransactorSession) SetTreasuryFeeRate

func (_PoolRegistry *PoolRegistryTransactorSession) SetTreasuryFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.

Solidity: function setTreasuryFeeRate(uint256 newFeeRate) returns()

func (*PoolRegistryTransactorSession) TransferOwnership

func (_PoolRegistry *PoolRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PoolRegistryTransactorSession) UpgradePool

func (_PoolRegistry *PoolRegistryTransactorSession) UpgradePool(newPool common.Address) (*types.Transaction, error)

UpgradePool is a paid mutator transaction binding the contract method 0xa2ff484f.

Solidity: function upgradePool(address newPool) returns()

type PoolToken

type PoolToken struct {
	PoolTokenCaller     // Read-only binding to the contract
	PoolTokenTransactor // Write-only binding to the contract
	PoolTokenFilterer   // Log filterer for contract events
}

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

func NewPoolToken

func NewPoolToken(address common.Address, backend bind.ContractBackend) (*PoolToken, error)

NewPoolToken creates a new instance of PoolToken, bound to a specific deployed contract.

type PoolTokenApproval

type PoolTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PoolTokenApproval represents a Approval event raised by the PoolToken contract.

type PoolTokenApprovalIterator

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

PoolTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the PoolToken contract.

func (*PoolTokenApprovalIterator) Close

func (it *PoolTokenApprovalIterator) Close() error

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

func (*PoolTokenApprovalIterator) Error

func (it *PoolTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PoolTokenApprovalIterator) Next

func (it *PoolTokenApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PoolTokenCaller

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

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

func NewPoolTokenCaller

func NewPoolTokenCaller(address common.Address, caller bind.ContractCaller) (*PoolTokenCaller, error)

NewPoolTokenCaller creates a new read-only instance of PoolToken, bound to a specific deployed contract.

func (*PoolTokenCaller) Allowance

func (_PoolToken *PoolTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*PoolTokenCaller) BalanceOf

func (_PoolToken *PoolTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PoolTokenCaller) Burner

func (_PoolToken *PoolTokenCaller) Burner(opts *bind.CallOpts) (common.Address, error)

Burner is a free data retrieval call binding the contract method 0x27810b6e.

Solidity: function burner() view returns(address)

func (*PoolTokenCaller) DOMAINSEPARATOR

func (_PoolToken *PoolTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PoolTokenCaller) Decimals

func (_PoolToken *PoolTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PoolTokenCaller) Minter

func (_PoolToken *PoolTokenCaller) Minter(opts *bind.CallOpts) (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*PoolTokenCaller) Name

func (_PoolToken *PoolTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PoolTokenCaller) Nonces

func (_PoolToken *PoolTokenCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PoolTokenCaller) Owner

func (_PoolToken *PoolTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolTokenCaller) PendingOwner

func (_PoolToken *PoolTokenCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolTokenCaller) Symbol

func (_PoolToken *PoolTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PoolTokenCaller) TotalSupply

func (_PoolToken *PoolTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type PoolTokenCallerRaw

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

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

func (*PoolTokenCallerRaw) Call

func (_PoolToken *PoolTokenCallerRaw) 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 PoolTokenCallerSession

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

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

func (*PoolTokenCallerSession) Allowance

func (_PoolToken *PoolTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*PoolTokenCallerSession) BalanceOf

func (_PoolToken *PoolTokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PoolTokenCallerSession) Burner

func (_PoolToken *PoolTokenCallerSession) Burner() (common.Address, error)

Burner is a free data retrieval call binding the contract method 0x27810b6e.

Solidity: function burner() view returns(address)

func (*PoolTokenCallerSession) DOMAINSEPARATOR

func (_PoolToken *PoolTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PoolTokenCallerSession) Decimals

func (_PoolToken *PoolTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PoolTokenCallerSession) Minter

func (_PoolToken *PoolTokenCallerSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*PoolTokenCallerSession) Name

func (_PoolToken *PoolTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PoolTokenCallerSession) Nonces

func (_PoolToken *PoolTokenCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PoolTokenCallerSession) Owner

func (_PoolToken *PoolTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolTokenCallerSession) PendingOwner

func (_PoolToken *PoolTokenCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolTokenCallerSession) Symbol

func (_PoolToken *PoolTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PoolTokenCallerSession) TotalSupply

func (_PoolToken *PoolTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type PoolTokenFilterer

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

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

func NewPoolTokenFilterer

func NewPoolTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*PoolTokenFilterer, error)

NewPoolTokenFilterer creates a new log filterer instance of PoolToken, bound to a specific deployed contract.

func (*PoolTokenFilterer) FilterApproval

func (_PoolToken *PoolTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PoolTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*PoolTokenFilterer) FilterOwnershipTransferStarted

func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PoolTokenOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PoolTokenFilterer) FilterOwnershipTransferred

func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PoolTokenOwnershipTransferredIterator, error)

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

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

func (*PoolTokenFilterer) FilterTransfer

func (_PoolToken *PoolTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PoolTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*PoolTokenFilterer) ParseApproval

func (_PoolToken *PoolTokenFilterer) ParseApproval(log types.Log) (*PoolTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*PoolTokenFilterer) ParseOwnershipTransferStarted

func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*PoolTokenOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PoolTokenFilterer) ParseOwnershipTransferred

func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferred(log types.Log) (*PoolTokenOwnershipTransferred, error)

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

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

func (*PoolTokenFilterer) ParseTransfer

func (_PoolToken *PoolTokenFilterer) ParseTransfer(log types.Log) (*PoolTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*PoolTokenFilterer) WatchApproval

func (_PoolToken *PoolTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PoolTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*PoolTokenFilterer) WatchOwnershipTransferStarted

func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PoolTokenFilterer) WatchOwnershipTransferred

func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*PoolTokenFilterer) WatchTransfer

func (_PoolToken *PoolTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PoolTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

type PoolTokenOwnershipTransferStarted

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

PoolTokenOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the PoolToken contract.

type PoolTokenOwnershipTransferStartedIterator

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

PoolTokenOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the PoolToken contract.

func (*PoolTokenOwnershipTransferStartedIterator) Close

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

func (*PoolTokenOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PoolTokenOwnershipTransferStartedIterator) 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 PoolTokenOwnershipTransferred

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

PoolTokenOwnershipTransferred represents a OwnershipTransferred event raised by the PoolToken contract.

type PoolTokenOwnershipTransferredIterator

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

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

func (*PoolTokenOwnershipTransferredIterator) Close

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

func (*PoolTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PoolTokenOwnershipTransferredIterator) 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 PoolTokenRaw

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

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

func (*PoolTokenRaw) Call

func (_PoolToken *PoolTokenRaw) 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 (*PoolTokenRaw) Transact

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

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

func (*PoolTokenRaw) Transfer

func (_PoolToken *PoolTokenRaw) 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 PoolTokenSession

type PoolTokenSession struct {
	Contract     *PoolToken        // 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
}

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

func (*PoolTokenSession) AcceptOwnership

func (_PoolToken *PoolTokenSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolTokenSession) Allowance

func (_PoolToken *PoolTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*PoolTokenSession) Approve

func (_PoolToken *PoolTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PoolTokenSession) BalanceOf

func (_PoolToken *PoolTokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PoolTokenSession) Burn

func (_PoolToken *PoolTokenSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*PoolTokenSession) Burner

func (_PoolToken *PoolTokenSession) Burner() (common.Address, error)

Burner is a free data retrieval call binding the contract method 0x27810b6e.

Solidity: function burner() view returns(address)

func (*PoolTokenSession) DOMAINSEPARATOR

func (_PoolToken *PoolTokenSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PoolTokenSession) Decimals

func (_PoolToken *PoolTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PoolTokenSession) Mint

func (_PoolToken *PoolTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*PoolTokenSession) Minter

func (_PoolToken *PoolTokenSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*PoolTokenSession) Name

func (_PoolToken *PoolTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PoolTokenSession) Nonces

func (_PoolToken *PoolTokenSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*PoolTokenSession) Owner

func (_PoolToken *PoolTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PoolTokenSession) PendingOwner

func (_PoolToken *PoolTokenSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PoolTokenSession) Permit

func (_PoolToken *PoolTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PoolTokenSession) SetBurner

func (_PoolToken *PoolTokenSession) SetBurner(_burner common.Address) (*types.Transaction, error)

SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.

Solidity: function setBurner(address _burner) returns()

func (*PoolTokenSession) SetMinter

func (_PoolToken *PoolTokenSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*PoolTokenSession) Symbol

func (_PoolToken *PoolTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PoolTokenSession) TotalSupply

func (_PoolToken *PoolTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PoolTokenSession) Transfer

func (_PoolToken *PoolTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*PoolTokenSession) TransferFrom

func (_PoolToken *PoolTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*PoolTokenSession) TransferOwnership

func (_PoolToken *PoolTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PoolTokenTransactor

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

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

func NewPoolTokenTransactor

func NewPoolTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*PoolTokenTransactor, error)

NewPoolTokenTransactor creates a new write-only instance of PoolToken, bound to a specific deployed contract.

func (*PoolTokenTransactor) AcceptOwnership

func (_PoolToken *PoolTokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolTokenTransactor) Approve

func (_PoolToken *PoolTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PoolTokenTransactor) Burn

func (_PoolToken *PoolTokenTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*PoolTokenTransactor) Mint

func (_PoolToken *PoolTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*PoolTokenTransactor) Permit

func (_PoolToken *PoolTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PoolTokenTransactor) SetBurner

func (_PoolToken *PoolTokenTransactor) SetBurner(opts *bind.TransactOpts, _burner common.Address) (*types.Transaction, error)

SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.

Solidity: function setBurner(address _burner) returns()

func (*PoolTokenTransactor) SetMinter

func (_PoolToken *PoolTokenTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*PoolTokenTransactor) Transfer

func (_PoolToken *PoolTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*PoolTokenTransactor) TransferFrom

func (_PoolToken *PoolTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*PoolTokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type PoolTokenTransactorRaw

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

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

func (*PoolTokenTransactorRaw) Transact

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

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

func (*PoolTokenTransactorRaw) Transfer

func (_PoolToken *PoolTokenTransactorRaw) 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 PoolTokenTransactorSession

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

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

func (*PoolTokenTransactorSession) AcceptOwnership

func (_PoolToken *PoolTokenTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PoolTokenTransactorSession) Approve

func (_PoolToken *PoolTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PoolTokenTransactorSession) Burn

func (_PoolToken *PoolTokenTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns(bool)

func (*PoolTokenTransactorSession) Mint

func (_PoolToken *PoolTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*PoolTokenTransactorSession) Permit

func (_PoolToken *PoolTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*PoolTokenTransactorSession) SetBurner

func (_PoolToken *PoolTokenTransactorSession) SetBurner(_burner common.Address) (*types.Transaction, error)

SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.

Solidity: function setBurner(address _burner) returns()

func (*PoolTokenTransactorSession) SetMinter

func (_PoolToken *PoolTokenTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.

Solidity: function setMinter(address _minter) returns()

func (*PoolTokenTransactorSession) Transfer

func (_PoolToken *PoolTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*PoolTokenTransactorSession) TransferFrom

func (_PoolToken *PoolTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*PoolTokenTransactorSession) TransferOwnership

func (_PoolToken *PoolTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PoolTokenTransfer

type PoolTokenTransfer struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PoolTokenTransfer represents a Transfer event raised by the PoolToken contract.

type PoolTokenTransferIterator

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

PoolTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the PoolToken contract.

func (*PoolTokenTransferIterator) Close

func (it *PoolTokenTransferIterator) Close() error

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

func (*PoolTokenTransferIterator) Error

func (it *PoolTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PoolTokenTransferIterator) Next

func (it *PoolTokenTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PreStake

type PreStake struct {
	PreStakeCaller     // Read-only binding to the contract
	PreStakeTransactor // Write-only binding to the contract
	PreStakeFilterer   // Log filterer for contract events
}

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

func NewPreStake

func NewPreStake(address common.Address, backend bind.ContractBackend) (*PreStake, error)

NewPreStake creates a new instance of PreStake, bound to a specific deployed contract.

type PreStakeApprovePool

type PreStakeApprovePool struct {
	Pool   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PreStakeApprovePool represents a ApprovePool event raised by the PreStake contract.

type PreStakeApprovePoolIterator

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

PreStakeApprovePoolIterator is returned from FilterApprovePool and is used to iterate over the raw logs and unpacked data for ApprovePool events raised by the PreStake contract.

func (*PreStakeApprovePoolIterator) Close

func (it *PreStakeApprovePoolIterator) Close() error

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

func (*PreStakeApprovePoolIterator) Error

func (it *PreStakeApprovePoolIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PreStakeApprovePoolIterator) Next

func (it *PreStakeApprovePoolIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PreStakeCaller

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

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

func NewPreStakeCaller

func NewPreStakeCaller(address common.Address, caller bind.ContractCaller) (*PreStakeCaller, error)

NewPreStakeCaller creates a new read-only instance of PreStake, bound to a specific deployed contract.

func (*PreStakeCaller) Owner

func (_PreStake *PreStakeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PreStakeCaller) PendingOwner

func (_PreStake *PreStakeCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PreStakeCaller) TotalValueLocked

func (_PreStake *PreStakeCaller) TotalValueLocked(opts *bind.CallOpts) (*big.Int, error)

TotalValueLocked is a free data retrieval call binding the contract method 0xec18154e.

Solidity: function totalValueLocked() view returns(uint256)

type PreStakeCallerRaw

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

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

func (*PreStakeCallerRaw) Call

func (_PreStake *PreStakeCallerRaw) 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 PreStakeCallerSession

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

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

func (*PreStakeCallerSession) Owner

func (_PreStake *PreStakeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PreStakeCallerSession) PendingOwner

func (_PreStake *PreStakeCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PreStakeCallerSession) TotalValueLocked

func (_PreStake *PreStakeCallerSession) TotalValueLocked() (*big.Int, error)

TotalValueLocked is a free data retrieval call binding the contract method 0xec18154e.

Solidity: function totalValueLocked() view returns(uint256)

type PreStakeDeposit

type PreStakeDeposit struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PreStakeDeposit represents a Deposit event raised by the PreStake contract.

type PreStakeDepositIterator

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

PreStakeDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the PreStake contract.

func (*PreStakeDepositIterator) Close

func (it *PreStakeDepositIterator) Close() error

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

func (*PreStakeDepositIterator) Error

func (it *PreStakeDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PreStakeDepositIterator) Next

func (it *PreStakeDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PreStakeFilterer

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

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

func NewPreStakeFilterer

func NewPreStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*PreStakeFilterer, error)

NewPreStakeFilterer creates a new log filterer instance of PreStake, bound to a specific deployed contract.

func (*PreStakeFilterer) FilterApprovePool

func (_PreStake *PreStakeFilterer) FilterApprovePool(opts *bind.FilterOpts, pool []common.Address) (*PreStakeApprovePoolIterator, error)

FilterApprovePool is a free log retrieval operation binding the contract event 0x349c23e02899ddce96ca5c007ea92efb73b9dc4db1d0ffb87de71f87ac54a953.

Solidity: event ApprovePool(address indexed pool, uint256 amount)

func (*PreStakeFilterer) FilterDeposit

func (_PreStake *PreStakeFilterer) FilterDeposit(opts *bind.FilterOpts, account []common.Address) (*PreStakeDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed account, uint256 amount)

func (*PreStakeFilterer) FilterOwnershipTransferStarted

func (_PreStake *PreStakeFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PreStakeOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PreStakeFilterer) FilterOwnershipTransferred

func (_PreStake *PreStakeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PreStakeOwnershipTransferredIterator, error)

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

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

func (*PreStakeFilterer) ParseApprovePool

func (_PreStake *PreStakeFilterer) ParseApprovePool(log types.Log) (*PreStakeApprovePool, error)

ParseApprovePool is a log parse operation binding the contract event 0x349c23e02899ddce96ca5c007ea92efb73b9dc4db1d0ffb87de71f87ac54a953.

Solidity: event ApprovePool(address indexed pool, uint256 amount)

func (*PreStakeFilterer) ParseDeposit

func (_PreStake *PreStakeFilterer) ParseDeposit(log types.Log) (*PreStakeDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed account, uint256 amount)

func (*PreStakeFilterer) ParseOwnershipTransferStarted

func (_PreStake *PreStakeFilterer) ParseOwnershipTransferStarted(log types.Log) (*PreStakeOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PreStakeFilterer) ParseOwnershipTransferred

func (_PreStake *PreStakeFilterer) ParseOwnershipTransferred(log types.Log) (*PreStakeOwnershipTransferred, error)

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

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

func (*PreStakeFilterer) WatchApprovePool

func (_PreStake *PreStakeFilterer) WatchApprovePool(opts *bind.WatchOpts, sink chan<- *PreStakeApprovePool, pool []common.Address) (event.Subscription, error)

WatchApprovePool is a free log subscription operation binding the contract event 0x349c23e02899ddce96ca5c007ea92efb73b9dc4db1d0ffb87de71f87ac54a953.

Solidity: event ApprovePool(address indexed pool, uint256 amount)

func (*PreStakeFilterer) WatchDeposit

func (_PreStake *PreStakeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *PreStakeDeposit, account []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed account, uint256 amount)

func (*PreStakeFilterer) WatchOwnershipTransferStarted

func (_PreStake *PreStakeFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *PreStakeOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PreStakeFilterer) WatchOwnershipTransferred

func (_PreStake *PreStakeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PreStakeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type PreStakeOwnershipTransferStarted

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

PreStakeOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the PreStake contract.

type PreStakeOwnershipTransferStartedIterator

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

PreStakeOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the PreStake contract.

func (*PreStakeOwnershipTransferStartedIterator) Close

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

func (*PreStakeOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PreStakeOwnershipTransferStartedIterator) 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 PreStakeOwnershipTransferred

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

PreStakeOwnershipTransferred represents a OwnershipTransferred event raised by the PreStake contract.

type PreStakeOwnershipTransferredIterator

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

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

func (*PreStakeOwnershipTransferredIterator) Close

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

func (*PreStakeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PreStakeOwnershipTransferredIterator) 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 PreStakeRaw

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

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

func (*PreStakeRaw) Call

func (_PreStake *PreStakeRaw) 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 (*PreStakeRaw) Transact

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

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

func (*PreStakeRaw) Transfer

func (_PreStake *PreStakeRaw) 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 PreStakeSession

type PreStakeSession struct {
	Contract     *PreStake         // 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
}

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

func (*PreStakeSession) AcceptOwnership

func (_PreStake *PreStakeSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PreStakeSession) ApprovePoolToTransfer

func (_PreStake *PreStakeSession) ApprovePoolToTransfer(pool common.Address, amount *big.Int) (*types.Transaction, error)

ApprovePoolToTransfer is a paid mutator transaction binding the contract method 0x7ea4e0e5.

Solidity: function approvePoolToTransfer(address pool, uint256 amount) returns()

func (*PreStakeSession) ConvertFILtoWFIL

func (_PreStake *PreStakeSession) ConvertFILtoWFIL() (*types.Transaction, error)

ConvertFILtoWFIL is a paid mutator transaction binding the contract method 0x1a3ece7f.

Solidity: function convertFILtoWFIL() returns()

func (*PreStakeSession) Deposit

func (_PreStake *PreStakeSession) Deposit(account common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address account, uint256 amount) returns()

func (*PreStakeSession) Deposit0

func (_PreStake *PreStakeSession) Deposit0(account common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address account) payable returns()

func (*PreStakeSession) Fallback

func (_PreStake *PreStakeSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*PreStakeSession) Owner

func (_PreStake *PreStakeSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PreStakeSession) PendingOwner

func (_PreStake *PreStakeSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PreStakeSession) Receive

func (_PreStake *PreStakeSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PreStakeSession) TotalValueLocked

func (_PreStake *PreStakeSession) TotalValueLocked() (*big.Int, error)

TotalValueLocked is a free data retrieval call binding the contract method 0xec18154e.

Solidity: function totalValueLocked() view returns(uint256)

func (*PreStakeSession) TransferOwnership

func (_PreStake *PreStakeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PreStakeTransactor

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

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

func NewPreStakeTransactor

func NewPreStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*PreStakeTransactor, error)

NewPreStakeTransactor creates a new write-only instance of PreStake, bound to a specific deployed contract.

func (*PreStakeTransactor) AcceptOwnership

func (_PreStake *PreStakeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PreStakeTransactor) ApprovePoolToTransfer

func (_PreStake *PreStakeTransactor) ApprovePoolToTransfer(opts *bind.TransactOpts, pool common.Address, amount *big.Int) (*types.Transaction, error)

ApprovePoolToTransfer is a paid mutator transaction binding the contract method 0x7ea4e0e5.

Solidity: function approvePoolToTransfer(address pool, uint256 amount) returns()

func (*PreStakeTransactor) ConvertFILtoWFIL

func (_PreStake *PreStakeTransactor) ConvertFILtoWFIL(opts *bind.TransactOpts) (*types.Transaction, error)

ConvertFILtoWFIL is a paid mutator transaction binding the contract method 0x1a3ece7f.

Solidity: function convertFILtoWFIL() returns()

func (*PreStakeTransactor) Deposit

func (_PreStake *PreStakeTransactor) Deposit(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address account, uint256 amount) returns()

func (*PreStakeTransactor) Deposit0

func (_PreStake *PreStakeTransactor) Deposit0(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address account) payable returns()

func (*PreStakeTransactor) Fallback

func (_PreStake *PreStakeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*PreStakeTransactor) Receive

func (_PreStake *PreStakeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PreStakeTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type PreStakeTransactorRaw

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

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

func (*PreStakeTransactorRaw) Transact

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

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

func (*PreStakeTransactorRaw) Transfer

func (_PreStake *PreStakeTransactorRaw) 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 PreStakeTransactorSession

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

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

func (*PreStakeTransactorSession) AcceptOwnership

func (_PreStake *PreStakeTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PreStakeTransactorSession) ApprovePoolToTransfer

func (_PreStake *PreStakeTransactorSession) ApprovePoolToTransfer(pool common.Address, amount *big.Int) (*types.Transaction, error)

ApprovePoolToTransfer is a paid mutator transaction binding the contract method 0x7ea4e0e5.

Solidity: function approvePoolToTransfer(address pool, uint256 amount) returns()

func (*PreStakeTransactorSession) ConvertFILtoWFIL

func (_PreStake *PreStakeTransactorSession) ConvertFILtoWFIL() (*types.Transaction, error)

ConvertFILtoWFIL is a paid mutator transaction binding the contract method 0x1a3ece7f.

Solidity: function convertFILtoWFIL() returns()

func (*PreStakeTransactorSession) Deposit

func (_PreStake *PreStakeTransactorSession) Deposit(account common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address account, uint256 amount) returns()

func (*PreStakeTransactorSession) Deposit0

func (_PreStake *PreStakeTransactorSession) Deposit0(account common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.

Solidity: function deposit(address account) payable returns()

func (*PreStakeTransactorSession) Fallback

func (_PreStake *PreStakeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*PreStakeTransactorSession) Receive

func (_PreStake *PreStakeTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PreStakeTransactorSession) TransferOwnership

func (_PreStake *PreStakeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PublicGoodsDonator

type PublicGoodsDonator struct {
	PublicGoodsDonatorCaller     // Read-only binding to the contract
	PublicGoodsDonatorTransactor // Write-only binding to the contract
	PublicGoodsDonatorFilterer   // Log filterer for contract events
}

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

func NewPublicGoodsDonator

func NewPublicGoodsDonator(address common.Address, backend bind.ContractBackend) (*PublicGoodsDonator, error)

NewPublicGoodsDonator creates a new instance of PublicGoodsDonator, bound to a specific deployed contract.

type PublicGoodsDonatorCaller

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

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

func NewPublicGoodsDonatorCaller

func NewPublicGoodsDonatorCaller(address common.Address, caller bind.ContractCaller) (*PublicGoodsDonatorCaller, error)

NewPublicGoodsDonatorCaller creates a new read-only instance of PublicGoodsDonator, bound to a specific deployed contract.

func (*PublicGoodsDonatorCaller) Owner

func (_PublicGoodsDonator *PublicGoodsDonatorCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PublicGoodsDonatorCaller) PendingOwner

func (_PublicGoodsDonator *PublicGoodsDonatorCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PublicGoodsDonatorCaller) PreStake

func (_PublicGoodsDonator *PublicGoodsDonatorCaller) PreStake(opts *bind.CallOpts) (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

type PublicGoodsDonatorCallerRaw

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

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

func (*PublicGoodsDonatorCallerRaw) Call

func (_PublicGoodsDonator *PublicGoodsDonatorCallerRaw) 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 PublicGoodsDonatorCallerSession

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

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

func (*PublicGoodsDonatorCallerSession) Owner

func (_PublicGoodsDonator *PublicGoodsDonatorCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PublicGoodsDonatorCallerSession) PendingOwner

func (_PublicGoodsDonator *PublicGoodsDonatorCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PublicGoodsDonatorCallerSession) PreStake

func (_PublicGoodsDonator *PublicGoodsDonatorCallerSession) PreStake() (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

type PublicGoodsDonatorDonate

type PublicGoodsDonatorDonate struct {
	Account        common.Address
	DonationAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

PublicGoodsDonatorDonate represents a Donate event raised by the PublicGoodsDonator contract.

type PublicGoodsDonatorDonateIterator

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

PublicGoodsDonatorDonateIterator is returned from FilterDonate and is used to iterate over the raw logs and unpacked data for Donate events raised by the PublicGoodsDonator contract.

func (*PublicGoodsDonatorDonateIterator) Close

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

func (*PublicGoodsDonatorDonateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicGoodsDonatorDonateIterator) 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 PublicGoodsDonatorFilterer

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

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

func NewPublicGoodsDonatorFilterer

func NewPublicGoodsDonatorFilterer(address common.Address, filterer bind.ContractFilterer) (*PublicGoodsDonatorFilterer, error)

NewPublicGoodsDonatorFilterer creates a new log filterer instance of PublicGoodsDonator, bound to a specific deployed contract.

func (*PublicGoodsDonatorFilterer) FilterDonate

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) FilterDonate(opts *bind.FilterOpts, account []common.Address) (*PublicGoodsDonatorDonateIterator, error)

FilterDonate is a free log retrieval operation binding the contract event 0x0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13.

Solidity: event Donate(address indexed account, uint256 donationAmount)

func (*PublicGoodsDonatorFilterer) FilterOwnershipTransferStarted

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PublicGoodsDonatorOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PublicGoodsDonatorFilterer) FilterOwnershipTransferred

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PublicGoodsDonatorOwnershipTransferredIterator, error)

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

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

func (*PublicGoodsDonatorFilterer) FilterWithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) FilterWithdrawFunds(opts *bind.FilterOpts, wallet []common.Address) (*PublicGoodsDonatorWithdrawFundsIterator, error)

FilterWithdrawFunds is a free log retrieval operation binding the contract event 0x21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f9.

Solidity: event WithdrawFunds(address indexed wallet, uint256 amount)

func (*PublicGoodsDonatorFilterer) ParseDonate

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) ParseDonate(log types.Log) (*PublicGoodsDonatorDonate, error)

ParseDonate is a log parse operation binding the contract event 0x0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13.

Solidity: event Donate(address indexed account, uint256 donationAmount)

func (*PublicGoodsDonatorFilterer) ParseOwnershipTransferStarted

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) ParseOwnershipTransferStarted(log types.Log) (*PublicGoodsDonatorOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PublicGoodsDonatorFilterer) ParseOwnershipTransferred

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) ParseOwnershipTransferred(log types.Log) (*PublicGoodsDonatorOwnershipTransferred, error)

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

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

func (*PublicGoodsDonatorFilterer) ParseWithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) ParseWithdrawFunds(log types.Log) (*PublicGoodsDonatorWithdrawFunds, error)

ParseWithdrawFunds is a log parse operation binding the contract event 0x21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f9.

Solidity: event WithdrawFunds(address indexed wallet, uint256 amount)

func (*PublicGoodsDonatorFilterer) WatchDonate

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) WatchDonate(opts *bind.WatchOpts, sink chan<- *PublicGoodsDonatorDonate, account []common.Address) (event.Subscription, error)

WatchDonate is a free log subscription operation binding the contract event 0x0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13.

Solidity: event Donate(address indexed account, uint256 donationAmount)

func (*PublicGoodsDonatorFilterer) WatchOwnershipTransferStarted

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *PublicGoodsDonatorOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*PublicGoodsDonatorFilterer) WatchOwnershipTransferred

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PublicGoodsDonatorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*PublicGoodsDonatorFilterer) WatchWithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorFilterer) WatchWithdrawFunds(opts *bind.WatchOpts, sink chan<- *PublicGoodsDonatorWithdrawFunds, wallet []common.Address) (event.Subscription, error)

WatchWithdrawFunds is a free log subscription operation binding the contract event 0x21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f9.

Solidity: event WithdrawFunds(address indexed wallet, uint256 amount)

type PublicGoodsDonatorOwnershipTransferStarted

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

PublicGoodsDonatorOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the PublicGoodsDonator contract.

type PublicGoodsDonatorOwnershipTransferStartedIterator

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

PublicGoodsDonatorOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the PublicGoodsDonator contract.

func (*PublicGoodsDonatorOwnershipTransferStartedIterator) Close

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

func (*PublicGoodsDonatorOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicGoodsDonatorOwnershipTransferStartedIterator) 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 PublicGoodsDonatorOwnershipTransferred

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

PublicGoodsDonatorOwnershipTransferred represents a OwnershipTransferred event raised by the PublicGoodsDonator contract.

type PublicGoodsDonatorOwnershipTransferredIterator

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

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

func (*PublicGoodsDonatorOwnershipTransferredIterator) Close

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

func (*PublicGoodsDonatorOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicGoodsDonatorOwnershipTransferredIterator) 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 PublicGoodsDonatorRaw

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

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

func (*PublicGoodsDonatorRaw) Call

func (_PublicGoodsDonator *PublicGoodsDonatorRaw) 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 (*PublicGoodsDonatorRaw) Transact

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

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

func (*PublicGoodsDonatorRaw) Transfer

func (_PublicGoodsDonator *PublicGoodsDonatorRaw) 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 PublicGoodsDonatorSession

type PublicGoodsDonatorSession struct {
	Contract     *PublicGoodsDonator // 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
}

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

func (*PublicGoodsDonatorSession) AcceptOwnership

func (_PublicGoodsDonator *PublicGoodsDonatorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PublicGoodsDonatorSession) Deposit

func (_PublicGoodsDonator *PublicGoodsDonatorSession) Deposit(recipient common.Address, amount *big.Int, donationPercent *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address recipient, uint256 amount, uint256 donationPercent) returns()

func (*PublicGoodsDonatorSession) Deposit0

func (_PublicGoodsDonator *PublicGoodsDonatorSession) Deposit0(recipient common.Address, donationPercent *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address recipient, uint256 donationPercent) payable returns()

func (*PublicGoodsDonatorSession) Owner

func (_PublicGoodsDonator *PublicGoodsDonatorSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PublicGoodsDonatorSession) PendingOwner

func (_PublicGoodsDonator *PublicGoodsDonatorSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*PublicGoodsDonatorSession) PreStake

func (_PublicGoodsDonator *PublicGoodsDonatorSession) PreStake() (common.Address, error)

PreStake is a free data retrieval call binding the contract method 0xf1d72e25.

Solidity: function preStake() view returns(address)

func (*PublicGoodsDonatorSession) TransferOwnership

func (_PublicGoodsDonator *PublicGoodsDonatorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PublicGoodsDonatorSession) WithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type PublicGoodsDonatorTransactor

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

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

func NewPublicGoodsDonatorTransactor

func NewPublicGoodsDonatorTransactor(address common.Address, transactor bind.ContractTransactor) (*PublicGoodsDonatorTransactor, error)

NewPublicGoodsDonatorTransactor creates a new write-only instance of PublicGoodsDonator, bound to a specific deployed contract.

func (*PublicGoodsDonatorTransactor) AcceptOwnership

func (_PublicGoodsDonator *PublicGoodsDonatorTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PublicGoodsDonatorTransactor) Deposit

func (_PublicGoodsDonator *PublicGoodsDonatorTransactor) Deposit(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, donationPercent *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address recipient, uint256 amount, uint256 donationPercent) returns()

func (*PublicGoodsDonatorTransactor) Deposit0

func (_PublicGoodsDonator *PublicGoodsDonatorTransactor) Deposit0(opts *bind.TransactOpts, recipient common.Address, donationPercent *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address recipient, uint256 donationPercent) payable returns()

func (*PublicGoodsDonatorTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PublicGoodsDonatorTransactor) WithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorTransactor) WithdrawFunds(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type PublicGoodsDonatorTransactorRaw

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

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

func (*PublicGoodsDonatorTransactorRaw) Transact

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

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

func (*PublicGoodsDonatorTransactorRaw) Transfer

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorRaw) 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 PublicGoodsDonatorTransactorSession

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

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

func (*PublicGoodsDonatorTransactorSession) AcceptOwnership

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*PublicGoodsDonatorTransactorSession) Deposit

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorSession) Deposit(recipient common.Address, amount *big.Int, donationPercent *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x0efe6a8b.

Solidity: function deposit(address recipient, uint256 amount, uint256 donationPercent) returns()

func (*PublicGoodsDonatorTransactorSession) Deposit0

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorSession) Deposit0(recipient common.Address, donationPercent *big.Int) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address recipient, uint256 donationPercent) payable returns()

func (*PublicGoodsDonatorTransactorSession) TransferOwnership

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PublicGoodsDonatorTransactorSession) WithdrawFunds

func (_PublicGoodsDonator *PublicGoodsDonatorTransactorSession) WithdrawFunds() (*types.Transaction, error)

WithdrawFunds is a paid mutator transaction binding the contract method 0x24600fc3.

Solidity: function withdrawFunds() returns()

type PublicGoodsDonatorWithdrawFunds

type PublicGoodsDonatorWithdrawFunds struct {
	Wallet common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PublicGoodsDonatorWithdrawFunds represents a WithdrawFunds event raised by the PublicGoodsDonator contract.

type PublicGoodsDonatorWithdrawFundsIterator

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

PublicGoodsDonatorWithdrawFundsIterator is returned from FilterWithdrawFunds and is used to iterate over the raw logs and unpacked data for WithdrawFunds events raised by the PublicGoodsDonator contract.

func (*PublicGoodsDonatorWithdrawFundsIterator) Close

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

func (*PublicGoodsDonatorWithdrawFundsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicGoodsDonatorWithdrawFundsIterator) 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 RateModule

type RateModule struct {
	RateModuleCaller     // Read-only binding to the contract
	RateModuleTransactor // Write-only binding to the contract
	RateModuleFilterer   // Log filterer for contract events
}

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

func NewRateModule

func NewRateModule(address common.Address, backend bind.ContractBackend) (*RateModule, error)

NewRateModule creates a new instance of RateModule, bound to a specific deployed contract.

type RateModuleCaller

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

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

func NewRateModuleCaller

func NewRateModuleCaller(address common.Address, caller bind.ContractCaller) (*RateModuleCaller, error)

NewRateModuleCaller creates a new read-only instance of RateModule, bound to a specific deployed contract.

func (*RateModuleCaller) AccountLevel

func (_RateModule *RateModuleCaller) AccountLevel(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.

Solidity: function accountLevel(uint256 ) view returns(uint256)

func (*RateModuleCaller) BaseRate

func (_RateModule *RateModuleCaller) BaseRate(opts *bind.CallOpts) (*big.Int, error)

BaseRate is a free data retrieval call binding the contract method 0x1f68f20a.

Solidity: function baseRate() view returns(uint256)

func (*RateModuleCaller) ComputeDTE

func (_RateModule *RateModuleCaller) ComputeDTE(opts *bind.CallOpts, principal *big.Int, agentTotalValue *big.Int) (*big.Int, error)

ComputeDTE is a free data retrieval call binding the contract method 0xe4649162.

Solidity: function computeDTE(uint256 principal, uint256 agentTotalValue) pure returns(uint256)

func (*RateModuleCaller) ComputeDTI

func (_RateModule *RateModuleCaller) ComputeDTI(opts *bind.CallOpts, expectedDailyRewards *big.Int, rate *big.Int, accountPrincipal *big.Int, totalPrincipal *big.Int) (*big.Int, error)

ComputeDTI is a free data retrieval call binding the contract method 0xedf2460b.

Solidity: function computeDTI(uint256 expectedDailyRewards, uint256 rate, uint256 accountPrincipal, uint256 totalPrincipal) pure returns(uint256)

func (*RateModuleCaller) ComputeLTV

func (_RateModule *RateModuleCaller) ComputeLTV(opts *bind.CallOpts, principal *big.Int, collateralValue *big.Int) (*big.Int, error)

ComputeLTV is a free data retrieval call binding the contract method 0x3705afb6.

Solidity: function computeLTV(uint256 principal, uint256 collateralValue) pure returns(uint256)

func (*RateModuleCaller) CredParser

func (_RateModule *RateModuleCaller) CredParser(opts *bind.CallOpts) (common.Address, error)

CredParser is a free data retrieval call binding the contract method 0x77c0f07d.

Solidity: function credParser() view returns(address)

func (*RateModuleCaller) GetRate

func (_RateModule *RateModuleCaller) GetRate(opts *bind.CallOpts, vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*RateModuleCaller) IsApproved

func (_RateModule *RateModuleCaller) IsApproved(opts *bind.CallOpts, account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool)

func (*RateModuleCaller) Levels

func (_RateModule *RateModuleCaller) Levels(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Levels is a free data retrieval call binding the contract method 0xb2596a67.

Solidity: function levels(uint256 ) view returns(uint256)

func (*RateModuleCaller) MaxDTE

func (_RateModule *RateModuleCaller) MaxDTE(opts *bind.CallOpts) (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*RateModuleCaller) MaxDTI

func (_RateModule *RateModuleCaller) MaxDTI(opts *bind.CallOpts) (*big.Int, error)

MaxDTI is a free data retrieval call binding the contract method 0xe08fdb55.

Solidity: function maxDTI() view returns(uint256)

func (*RateModuleCaller) MaxLTV

func (_RateModule *RateModuleCaller) MaxLTV(opts *bind.CallOpts) (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*RateModuleCaller) MinGCRED

func (_RateModule *RateModuleCaller) MinGCRED(opts *bind.CallOpts) (*big.Int, error)

MinGCRED is a free data retrieval call binding the contract method 0xdb29c170.

Solidity: function minGCRED() view returns(uint256)

func (*RateModuleCaller) Owner

func (_RateModule *RateModuleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RateModuleCaller) PenaltyRate

func (_RateModule *RateModuleCaller) PenaltyRate(opts *bind.CallOpts) (*big.Int, error)

PenaltyRate is a free data retrieval call binding the contract method 0xd6b7494f.

Solidity: function penaltyRate() view returns(uint256 rate)

func (*RateModuleCaller) PendingOwner

func (_RateModule *RateModuleCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RateModuleCaller) RateLookup

func (_RateModule *RateModuleCaller) RateLookup(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

RateLookup is a free data retrieval call binding the contract method 0xa73292f0.

Solidity: function rateLookup(uint256 ) view returns(uint256)

type RateModuleCallerRaw

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

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

func (*RateModuleCallerRaw) Call

func (_RateModule *RateModuleCallerRaw) 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 RateModuleCallerSession

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

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

func (*RateModuleCallerSession) AccountLevel

func (_RateModule *RateModuleCallerSession) AccountLevel(arg0 *big.Int) (*big.Int, error)

AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.

Solidity: function accountLevel(uint256 ) view returns(uint256)

func (*RateModuleCallerSession) BaseRate

func (_RateModule *RateModuleCallerSession) BaseRate() (*big.Int, error)

BaseRate is a free data retrieval call binding the contract method 0x1f68f20a.

Solidity: function baseRate() view returns(uint256)

func (*RateModuleCallerSession) ComputeDTE

func (_RateModule *RateModuleCallerSession) ComputeDTE(principal *big.Int, agentTotalValue *big.Int) (*big.Int, error)

ComputeDTE is a free data retrieval call binding the contract method 0xe4649162.

Solidity: function computeDTE(uint256 principal, uint256 agentTotalValue) pure returns(uint256)

func (*RateModuleCallerSession) ComputeDTI

func (_RateModule *RateModuleCallerSession) ComputeDTI(expectedDailyRewards *big.Int, rate *big.Int, accountPrincipal *big.Int, totalPrincipal *big.Int) (*big.Int, error)

ComputeDTI is a free data retrieval call binding the contract method 0xedf2460b.

Solidity: function computeDTI(uint256 expectedDailyRewards, uint256 rate, uint256 accountPrincipal, uint256 totalPrincipal) pure returns(uint256)

func (*RateModuleCallerSession) ComputeLTV

func (_RateModule *RateModuleCallerSession) ComputeLTV(principal *big.Int, collateralValue *big.Int) (*big.Int, error)

ComputeLTV is a free data retrieval call binding the contract method 0x3705afb6.

Solidity: function computeLTV(uint256 principal, uint256 collateralValue) pure returns(uint256)

func (*RateModuleCallerSession) CredParser

func (_RateModule *RateModuleCallerSession) CredParser() (common.Address, error)

CredParser is a free data retrieval call binding the contract method 0x77c0f07d.

Solidity: function credParser() view returns(address)

func (*RateModuleCallerSession) GetRate

func (_RateModule *RateModuleCallerSession) GetRate(vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*RateModuleCallerSession) IsApproved

func (_RateModule *RateModuleCallerSession) IsApproved(account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool)

func (*RateModuleCallerSession) Levels

func (_RateModule *RateModuleCallerSession) Levels(arg0 *big.Int) (*big.Int, error)

Levels is a free data retrieval call binding the contract method 0xb2596a67.

Solidity: function levels(uint256 ) view returns(uint256)

func (*RateModuleCallerSession) MaxDTE

func (_RateModule *RateModuleCallerSession) MaxDTE() (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*RateModuleCallerSession) MaxDTI

func (_RateModule *RateModuleCallerSession) MaxDTI() (*big.Int, error)

MaxDTI is a free data retrieval call binding the contract method 0xe08fdb55.

Solidity: function maxDTI() view returns(uint256)

func (*RateModuleCallerSession) MaxLTV

func (_RateModule *RateModuleCallerSession) MaxLTV() (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*RateModuleCallerSession) MinGCRED

func (_RateModule *RateModuleCallerSession) MinGCRED() (*big.Int, error)

MinGCRED is a free data retrieval call binding the contract method 0xdb29c170.

Solidity: function minGCRED() view returns(uint256)

func (*RateModuleCallerSession) Owner

func (_RateModule *RateModuleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RateModuleCallerSession) PenaltyRate

func (_RateModule *RateModuleCallerSession) PenaltyRate() (*big.Int, error)

PenaltyRate is a free data retrieval call binding the contract method 0xd6b7494f.

Solidity: function penaltyRate() view returns(uint256 rate)

func (*RateModuleCallerSession) PendingOwner

func (_RateModule *RateModuleCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RateModuleCallerSession) RateLookup

func (_RateModule *RateModuleCallerSession) RateLookup(arg0 *big.Int) (*big.Int, error)

RateLookup is a free data retrieval call binding the contract method 0xa73292f0.

Solidity: function rateLookup(uint256 ) view returns(uint256)

type RateModuleFilterer

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

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

func NewRateModuleFilterer

func NewRateModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*RateModuleFilterer, error)

NewRateModuleFilterer creates a new log filterer instance of RateModule, bound to a specific deployed contract.

type RateModuleRaw

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

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

func (*RateModuleRaw) Call

func (_RateModule *RateModuleRaw) 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 (*RateModuleRaw) Transact

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

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

func (*RateModuleRaw) Transfer

func (_RateModule *RateModuleRaw) 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 RateModuleSession

type RateModuleSession struct {
	Contract     *RateModule       // 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
}

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

func (*RateModuleSession) AcceptOwnership

func (_RateModule *RateModuleSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RateModuleSession) AccountLevel

func (_RateModule *RateModuleSession) AccountLevel(arg0 *big.Int) (*big.Int, error)

AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.

Solidity: function accountLevel(uint256 ) view returns(uint256)

func (*RateModuleSession) BaseRate

func (_RateModule *RateModuleSession) BaseRate() (*big.Int, error)

BaseRate is a free data retrieval call binding the contract method 0x1f68f20a.

Solidity: function baseRate() view returns(uint256)

func (*RateModuleSession) ComputeDTE

func (_RateModule *RateModuleSession) ComputeDTE(principal *big.Int, agentTotalValue *big.Int) (*big.Int, error)

ComputeDTE is a free data retrieval call binding the contract method 0xe4649162.

Solidity: function computeDTE(uint256 principal, uint256 agentTotalValue) pure returns(uint256)

func (*RateModuleSession) ComputeDTI

func (_RateModule *RateModuleSession) ComputeDTI(expectedDailyRewards *big.Int, rate *big.Int, accountPrincipal *big.Int, totalPrincipal *big.Int) (*big.Int, error)

ComputeDTI is a free data retrieval call binding the contract method 0xedf2460b.

Solidity: function computeDTI(uint256 expectedDailyRewards, uint256 rate, uint256 accountPrincipal, uint256 totalPrincipal) pure returns(uint256)

func (*RateModuleSession) ComputeLTV

func (_RateModule *RateModuleSession) ComputeLTV(principal *big.Int, collateralValue *big.Int) (*big.Int, error)

ComputeLTV is a free data retrieval call binding the contract method 0x3705afb6.

Solidity: function computeLTV(uint256 principal, uint256 collateralValue) pure returns(uint256)

func (*RateModuleSession) CredParser

func (_RateModule *RateModuleSession) CredParser() (common.Address, error)

CredParser is a free data retrieval call binding the contract method 0x77c0f07d.

Solidity: function credParser() view returns(address)

func (*RateModuleSession) GetRate

func (_RateModule *RateModuleSession) GetRate(vc VerifiableCredential) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xeb36e963.

Solidity: function getRate((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256 rate)

func (*RateModuleSession) IsApproved

func (_RateModule *RateModuleSession) IsApproved(account Account, vc VerifiableCredential) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x9741fbfa.

Solidity: function isApproved((uint256,uint256,uint256,bool) account, (address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bool)

func (*RateModuleSession) Levels

func (_RateModule *RateModuleSession) Levels(arg0 *big.Int) (*big.Int, error)

Levels is a free data retrieval call binding the contract method 0xb2596a67.

Solidity: function levels(uint256 ) view returns(uint256)

func (*RateModuleSession) MaxDTE

func (_RateModule *RateModuleSession) MaxDTE() (*big.Int, error)

MaxDTE is a free data retrieval call binding the contract method 0x9fc2f56b.

Solidity: function maxDTE() view returns(uint256)

func (*RateModuleSession) MaxDTI

func (_RateModule *RateModuleSession) MaxDTI() (*big.Int, error)

MaxDTI is a free data retrieval call binding the contract method 0xe08fdb55.

Solidity: function maxDTI() view returns(uint256)

func (*RateModuleSession) MaxLTV

func (_RateModule *RateModuleSession) MaxLTV() (*big.Int, error)

MaxLTV is a free data retrieval call binding the contract method 0xf384bd05.

Solidity: function maxLTV() view returns(uint256)

func (*RateModuleSession) MinGCRED

func (_RateModule *RateModuleSession) MinGCRED() (*big.Int, error)

MinGCRED is a free data retrieval call binding the contract method 0xdb29c170.

Solidity: function minGCRED() view returns(uint256)

func (*RateModuleSession) Owner

func (_RateModule *RateModuleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RateModuleSession) PenaltyRate

func (_RateModule *RateModuleSession) PenaltyRate() (*big.Int, error)

PenaltyRate is a free data retrieval call binding the contract method 0xd6b7494f.

Solidity: function penaltyRate() view returns(uint256 rate)

func (*RateModuleSession) PendingOwner

func (_RateModule *RateModuleSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RateModuleSession) RateLookup

func (_RateModule *RateModuleSession) RateLookup(arg0 *big.Int) (*big.Int, error)

RateLookup is a free data retrieval call binding the contract method 0xa73292f0.

Solidity: function rateLookup(uint256 ) view returns(uint256)

func (*RateModuleSession) SetAgentLevels

func (_RateModule *RateModuleSession) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)

SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.

Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()

func (*RateModuleSession) SetBaseRate

func (_RateModule *RateModuleSession) SetBaseRate(_baseRate *big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1d08837b.

Solidity: function setBaseRate(uint256 _baseRate) returns()

func (*RateModuleSession) SetLevels

func (_RateModule *RateModuleSession) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)

SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.

Solidity: function setLevels(uint256[10] _levels) returns()

func (*RateModuleSession) SetMaxDTE

func (_RateModule *RateModuleSession) SetMaxDTE(_maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*RateModuleSession) SetMaxDTI

func (_RateModule *RateModuleSession) SetMaxDTI(_maxDTI *big.Int) (*types.Transaction, error)

SetMaxDTI is a paid mutator transaction binding the contract method 0x9915bcad.

Solidity: function setMaxDTI(uint256 _maxDTI) returns()

func (*RateModuleSession) SetMaxLTV

func (_RateModule *RateModuleSession) SetMaxLTV(_maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*RateModuleSession) SetMinGCRED

func (_RateModule *RateModuleSession) SetMinGCRED(_minGCRED *big.Int) (*types.Transaction, error)

SetMinGCRED is a paid mutator transaction binding the contract method 0x509edfb8.

Solidity: function setMinGCRED(uint256 _minGCRED) returns()

func (*RateModuleSession) SetRateLookup

func (_RateModule *RateModuleSession) SetRateLookup(_rateLookup [61]*big.Int) (*types.Transaction, error)

SetRateLookup is a paid mutator transaction binding the contract method 0x492bff0e.

Solidity: function setRateLookup(uint256[61] _rateLookup) returns()

func (*RateModuleSession) TransferOwnership

func (_RateModule *RateModuleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RateModuleSession) UpdateCredParser

func (_RateModule *RateModuleSession) UpdateCredParser() (*types.Transaction, error)

UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.

Solidity: function updateCredParser() returns()

type RateModuleTransactor

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

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

func NewRateModuleTransactor

func NewRateModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*RateModuleTransactor, error)

NewRateModuleTransactor creates a new write-only instance of RateModule, bound to a specific deployed contract.

func (*RateModuleTransactor) AcceptOwnership

func (_RateModule *RateModuleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RateModuleTransactor) SetAgentLevels

func (_RateModule *RateModuleTransactor) SetAgentLevels(opts *bind.TransactOpts, agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)

SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.

Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()

func (*RateModuleTransactor) SetBaseRate

func (_RateModule *RateModuleTransactor) SetBaseRate(opts *bind.TransactOpts, _baseRate *big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1d08837b.

Solidity: function setBaseRate(uint256 _baseRate) returns()

func (*RateModuleTransactor) SetLevels

func (_RateModule *RateModuleTransactor) SetLevels(opts *bind.TransactOpts, _levels [10]*big.Int) (*types.Transaction, error)

SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.

Solidity: function setLevels(uint256[10] _levels) returns()

func (*RateModuleTransactor) SetMaxDTE

func (_RateModule *RateModuleTransactor) SetMaxDTE(opts *bind.TransactOpts, _maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*RateModuleTransactor) SetMaxDTI

func (_RateModule *RateModuleTransactor) SetMaxDTI(opts *bind.TransactOpts, _maxDTI *big.Int) (*types.Transaction, error)

SetMaxDTI is a paid mutator transaction binding the contract method 0x9915bcad.

Solidity: function setMaxDTI(uint256 _maxDTI) returns()

func (*RateModuleTransactor) SetMaxLTV

func (_RateModule *RateModuleTransactor) SetMaxLTV(opts *bind.TransactOpts, _maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*RateModuleTransactor) SetMinGCRED

func (_RateModule *RateModuleTransactor) SetMinGCRED(opts *bind.TransactOpts, _minGCRED *big.Int) (*types.Transaction, error)

SetMinGCRED is a paid mutator transaction binding the contract method 0x509edfb8.

Solidity: function setMinGCRED(uint256 _minGCRED) returns()

func (*RateModuleTransactor) SetRateLookup

func (_RateModule *RateModuleTransactor) SetRateLookup(opts *bind.TransactOpts, _rateLookup [61]*big.Int) (*types.Transaction, error)

SetRateLookup is a paid mutator transaction binding the contract method 0x492bff0e.

Solidity: function setRateLookup(uint256[61] _rateLookup) returns()

func (*RateModuleTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RateModuleTransactor) UpdateCredParser

func (_RateModule *RateModuleTransactor) UpdateCredParser(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.

Solidity: function updateCredParser() returns()

type RateModuleTransactorRaw

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

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

func (*RateModuleTransactorRaw) Transact

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

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

func (*RateModuleTransactorRaw) Transfer

func (_RateModule *RateModuleTransactorRaw) 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 RateModuleTransactorSession

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

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

func (*RateModuleTransactorSession) AcceptOwnership

func (_RateModule *RateModuleTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RateModuleTransactorSession) SetAgentLevels

func (_RateModule *RateModuleTransactorSession) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)

SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.

Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()

func (*RateModuleTransactorSession) SetBaseRate

func (_RateModule *RateModuleTransactorSession) SetBaseRate(_baseRate *big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1d08837b.

Solidity: function setBaseRate(uint256 _baseRate) returns()

func (*RateModuleTransactorSession) SetLevels

func (_RateModule *RateModuleTransactorSession) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)

SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.

Solidity: function setLevels(uint256[10] _levels) returns()

func (*RateModuleTransactorSession) SetMaxDTE

func (_RateModule *RateModuleTransactorSession) SetMaxDTE(_maxDTE *big.Int) (*types.Transaction, error)

SetMaxDTE is a paid mutator transaction binding the contract method 0x117573c5.

Solidity: function setMaxDTE(uint256 _maxDTE) returns()

func (*RateModuleTransactorSession) SetMaxDTI

func (_RateModule *RateModuleTransactorSession) SetMaxDTI(_maxDTI *big.Int) (*types.Transaction, error)

SetMaxDTI is a paid mutator transaction binding the contract method 0x9915bcad.

Solidity: function setMaxDTI(uint256 _maxDTI) returns()

func (*RateModuleTransactorSession) SetMaxLTV

func (_RateModule *RateModuleTransactorSession) SetMaxLTV(_maxLTV *big.Int) (*types.Transaction, error)

SetMaxLTV is a paid mutator transaction binding the contract method 0x08a0c375.

Solidity: function setMaxLTV(uint256 _maxLTV) returns()

func (*RateModuleTransactorSession) SetMinGCRED

func (_RateModule *RateModuleTransactorSession) SetMinGCRED(_minGCRED *big.Int) (*types.Transaction, error)

SetMinGCRED is a paid mutator transaction binding the contract method 0x509edfb8.

Solidity: function setMinGCRED(uint256 _minGCRED) returns()

func (*RateModuleTransactorSession) SetRateLookup

func (_RateModule *RateModuleTransactorSession) SetRateLookup(_rateLookup [61]*big.Int) (*types.Transaction, error)

SetRateLookup is a paid mutator transaction binding the contract method 0x492bff0e.

Solidity: function setRateLookup(uint256[61] _rateLookup) returns()

func (*RateModuleTransactorSession) TransferOwnership

func (_RateModule *RateModuleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RateModuleTransactorSession) UpdateCredParser

func (_RateModule *RateModuleTransactorSession) UpdateCredParser() (*types.Transaction, error)

UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.

Solidity: function updateCredParser() returns()

type Router

type Router struct {
	RouterCaller     // Read-only binding to the contract
	RouterTransactor // Write-only binding to the contract
	RouterFilterer   // Log filterer for contract events
}

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

func NewRouter

func NewRouter(address common.Address, backend bind.ContractBackend) (*Router, error)

NewRouter creates a new instance of Router, bound to a specific deployed contract.

type RouterCaller

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

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

func NewRouterCaller

func NewRouterCaller(address common.Address, caller bind.ContractCaller) (*RouterCaller, error)

NewRouterCaller creates a new read-only instance of Router, bound to a specific deployed contract.

func (*RouterCaller) CreateAccountKey

func (_Router *RouterCaller) CreateAccountKey(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) ([32]byte, error)

CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.

Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)

func (*RouterCaller) GetAccount

func (_Router *RouterCaller) GetAccount(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) (Account, error)

GetAccount is a free data retrieval call binding the contract method 0x6361f6de.

Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))

func (*RouterCaller) GetRoute

func (_Router *RouterCaller) GetRoute(opts *bind.CallOpts, id [4]byte) (common.Address, error)

GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.

Solidity: function getRoute(bytes4 id) view returns(address)

func (*RouterCaller) GetRoute0

func (_Router *RouterCaller) GetRoute0(opts *bind.CallOpts, id string) (common.Address, error)

GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.

Solidity: function getRoute(string id) view returns(address)

func (*RouterCaller) Owner

func (_Router *RouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterCaller) PendingOwner

func (_Router *RouterCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RouterCaller) Route

func (_Router *RouterCaller) Route(opts *bind.CallOpts, arg0 [4]byte) (common.Address, error)

Route is a free data retrieval call binding the contract method 0xc5ae7a11.

Solidity: function route(bytes4 ) view returns(address)

type RouterCallerRaw

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

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

func (*RouterCallerRaw) Call

func (_Router *RouterCallerRaw) 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 RouterCallerSession

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

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

func (*RouterCallerSession) CreateAccountKey

func (_Router *RouterCallerSession) CreateAccountKey(agentID *big.Int, poolID *big.Int) ([32]byte, error)

CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.

Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)

func (*RouterCallerSession) GetAccount

func (_Router *RouterCallerSession) GetAccount(agentID *big.Int, poolID *big.Int) (Account, error)

GetAccount is a free data retrieval call binding the contract method 0x6361f6de.

Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))

func (*RouterCallerSession) GetRoute

func (_Router *RouterCallerSession) GetRoute(id [4]byte) (common.Address, error)

GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.

Solidity: function getRoute(bytes4 id) view returns(address)

func (*RouterCallerSession) GetRoute0

func (_Router *RouterCallerSession) GetRoute0(id string) (common.Address, error)

GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.

Solidity: function getRoute(string id) view returns(address)

func (*RouterCallerSession) Owner

func (_Router *RouterCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterCallerSession) PendingOwner

func (_Router *RouterCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RouterCallerSession) Route

func (_Router *RouterCallerSession) Route(arg0 [4]byte) (common.Address, error)

Route is a free data retrieval call binding the contract method 0xc5ae7a11.

Solidity: function route(bytes4 ) view returns(address)

type RouterFilterer

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

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

func NewRouterFilterer

func NewRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterFilterer, error)

NewRouterFilterer creates a new log filterer instance of Router, bound to a specific deployed contract.

func (*RouterFilterer) FilterPushRoute

func (_Router *RouterFilterer) FilterPushRoute(opts *bind.FilterOpts) (*RouterPushRouteIterator, error)

FilterPushRoute is a free log retrieval operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.

Solidity: event PushRoute(address newRoute, bytes4 id)

func (*RouterFilterer) ParsePushRoute

func (_Router *RouterFilterer) ParsePushRoute(log types.Log) (*RouterPushRoute, error)

ParsePushRoute is a log parse operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.

Solidity: event PushRoute(address newRoute, bytes4 id)

func (*RouterFilterer) WatchPushRoute

func (_Router *RouterFilterer) WatchPushRoute(opts *bind.WatchOpts, sink chan<- *RouterPushRoute) (event.Subscription, error)

WatchPushRoute is a free log subscription operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.

Solidity: event PushRoute(address newRoute, bytes4 id)

type RouterPushRoute

type RouterPushRoute struct {
	NewRoute common.Address
	Id       [4]byte
	Raw      types.Log // Blockchain specific contextual infos
}

RouterPushRoute represents a PushRoute event raised by the Router contract.

type RouterPushRouteIterator

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

RouterPushRouteIterator is returned from FilterPushRoute and is used to iterate over the raw logs and unpacked data for PushRoute events raised by the Router contract.

func (*RouterPushRouteIterator) Close

func (it *RouterPushRouteIterator) Close() error

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

func (*RouterPushRouteIterator) Error

func (it *RouterPushRouteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterPushRouteIterator) Next

func (it *RouterPushRouteIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RouterRaw

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

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

func (*RouterRaw) Call

func (_Router *RouterRaw) 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 (*RouterRaw) Transact

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

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

func (*RouterRaw) Transfer

func (_Router *RouterRaw) 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 RouterSession

type RouterSession struct {
	Contract     *Router           // 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
}

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

func (*RouterSession) AcceptOwnership

func (_Router *RouterSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RouterSession) CreateAccountKey

func (_Router *RouterSession) CreateAccountKey(agentID *big.Int, poolID *big.Int) ([32]byte, error)

CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.

Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)

func (*RouterSession) GetAccount

func (_Router *RouterSession) GetAccount(agentID *big.Int, poolID *big.Int) (Account, error)

GetAccount is a free data retrieval call binding the contract method 0x6361f6de.

Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))

func (*RouterSession) GetRoute

func (_Router *RouterSession) GetRoute(id [4]byte) (common.Address, error)

GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.

Solidity: function getRoute(bytes4 id) view returns(address)

func (*RouterSession) GetRoute0

func (_Router *RouterSession) GetRoute0(id string) (common.Address, error)

GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.

Solidity: function getRoute(string id) view returns(address)

func (*RouterSession) Owner

func (_Router *RouterSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterSession) PendingOwner

func (_Router *RouterSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*RouterSession) PushRoute

func (_Router *RouterSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)

PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.

Solidity: function pushRoute(string id, address newRoute) returns()

func (*RouterSession) PushRoute0

func (_Router *RouterSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)

PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.

Solidity: function pushRoute(bytes4 id, address newRoute) returns()

func (*RouterSession) PushRoutes

func (_Router *RouterSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.

Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()

func (*RouterSession) PushRoutes0

func (_Router *RouterSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.

Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()

func (*RouterSession) Route

func (_Router *RouterSession) Route(arg0 [4]byte) (common.Address, error)

Route is a free data retrieval call binding the contract method 0xc5ae7a11.

Solidity: function route(bytes4 ) view returns(address)

func (*RouterSession) SetAccount

func (_Router *RouterSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)

SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.

Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()

func (*RouterSession) TransferOwnership

func (_Router *RouterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type RouterTransactor

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

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

func NewRouterTransactor

func NewRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterTransactor, error)

NewRouterTransactor creates a new write-only instance of Router, bound to a specific deployed contract.

func (*RouterTransactor) AcceptOwnership

func (_Router *RouterTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RouterTransactor) PushRoute

func (_Router *RouterTransactor) PushRoute(opts *bind.TransactOpts, id string, newRoute common.Address) (*types.Transaction, error)

PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.

Solidity: function pushRoute(string id, address newRoute) returns()

func (*RouterTransactor) PushRoute0

func (_Router *RouterTransactor) PushRoute0(opts *bind.TransactOpts, id [4]byte, newRoute common.Address) (*types.Transaction, error)

PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.

Solidity: function pushRoute(bytes4 id, address newRoute) returns()

func (*RouterTransactor) PushRoutes

func (_Router *RouterTransactor) PushRoutes(opts *bind.TransactOpts, ids []string, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.

Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()

func (*RouterTransactor) PushRoutes0

func (_Router *RouterTransactor) PushRoutes0(opts *bind.TransactOpts, ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.

Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()

func (*RouterTransactor) SetAccount

func (_Router *RouterTransactor) SetAccount(opts *bind.TransactOpts, agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)

SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.

Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()

func (*RouterTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type RouterTransactorRaw

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

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

func (*RouterTransactorRaw) Transact

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

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

func (*RouterTransactorRaw) Transfer

func (_Router *RouterTransactorRaw) 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 RouterTransactorSession

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

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

func (*RouterTransactorSession) AcceptOwnership

func (_Router *RouterTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*RouterTransactorSession) PushRoute

func (_Router *RouterTransactorSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)

PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.

Solidity: function pushRoute(string id, address newRoute) returns()

func (*RouterTransactorSession) PushRoute0

func (_Router *RouterTransactorSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)

PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.

Solidity: function pushRoute(bytes4 id, address newRoute) returns()

func (*RouterTransactorSession) PushRoutes

func (_Router *RouterTransactorSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.

Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()

func (*RouterTransactorSession) PushRoutes0

func (_Router *RouterTransactorSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)

PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.

Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()

func (*RouterTransactorSession) SetAccount

func (_Router *RouterTransactorSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)

SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.

Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()

func (*RouterTransactorSession) TransferOwnership

func (_Router *RouterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type SignedCredential

type SignedCredential struct {
	Vc VerifiableCredential
	V  uint8
	R  [32]byte
	S  [32]byte
}

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

type SignedCredential_duplicate

type SignedCredential_duplicate struct {
	Vc VerifiableCredential
	V  uint8
	R  [32]byte
	S  [32]byte
}

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

type SimpleRamp

type SimpleRamp struct {
	SimpleRampCaller     // Read-only binding to the contract
	SimpleRampTransactor // Write-only binding to the contract
	SimpleRampFilterer   // Log filterer for contract events
}

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

func NewSimpleRamp

func NewSimpleRamp(address common.Address, backend bind.ContractBackend) (*SimpleRamp, error)

NewSimpleRamp creates a new instance of SimpleRamp, bound to a specific deployed contract.

type SimpleRampCaller

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

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

func NewSimpleRampCaller

func NewSimpleRampCaller(address common.Address, caller bind.ContractCaller) (*SimpleRampCaller, error)

NewSimpleRampCaller creates a new read-only instance of SimpleRamp, bound to a specific deployed contract.

func (*SimpleRampCaller) IFIL

func (_SimpleRamp *SimpleRampCaller) IFIL(opts *bind.CallOpts) (common.Address, error)

IFIL is a free data retrieval call binding the contract method 0x6be82b78.

Solidity: function iFIL() view returns(address)

func (*SimpleRampCaller) MaxRedeem

func (_SimpleRamp *SimpleRampCaller) MaxRedeem(opts *bind.CallOpts, account common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address account) view returns(uint256 shares)

func (*SimpleRampCaller) MaxWithdraw

func (_SimpleRamp *SimpleRampCaller) MaxWithdraw(opts *bind.CallOpts, account common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address account) view returns(uint256)

func (*SimpleRampCaller) Pool

func (_SimpleRamp *SimpleRampCaller) Pool(opts *bind.CallOpts) (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*SimpleRampCaller) PreviewRedeem

func (_SimpleRamp *SimpleRampCaller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)

func (*SimpleRampCaller) PreviewWithdraw

func (_SimpleRamp *SimpleRampCaller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)

func (*SimpleRampCaller) TotalExitDemand

func (_SimpleRamp *SimpleRampCaller) TotalExitDemand(opts *bind.CallOpts) (*big.Int, error)

TotalExitDemand is a free data retrieval call binding the contract method 0x0fede599.

Solidity: function totalExitDemand() view returns(uint256)

func (*SimpleRampCaller) WFIL

func (_SimpleRamp *SimpleRampCaller) WFIL(opts *bind.CallOpts) (common.Address, error)

WFIL is a free data retrieval call binding the contract method 0xbef44256.

Solidity: function wFIL() view returns(address)

type SimpleRampCallerRaw

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

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

func (*SimpleRampCallerRaw) Call

func (_SimpleRamp *SimpleRampCallerRaw) 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 SimpleRampCallerSession

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

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

func (*SimpleRampCallerSession) IFIL

func (_SimpleRamp *SimpleRampCallerSession) IFIL() (common.Address, error)

IFIL is a free data retrieval call binding the contract method 0x6be82b78.

Solidity: function iFIL() view returns(address)

func (*SimpleRampCallerSession) MaxRedeem

func (_SimpleRamp *SimpleRampCallerSession) MaxRedeem(account common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address account) view returns(uint256 shares)

func (*SimpleRampCallerSession) MaxWithdraw

func (_SimpleRamp *SimpleRampCallerSession) MaxWithdraw(account common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address account) view returns(uint256)

func (*SimpleRampCallerSession) Pool

func (_SimpleRamp *SimpleRampCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*SimpleRampCallerSession) PreviewRedeem

func (_SimpleRamp *SimpleRampCallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)

func (*SimpleRampCallerSession) PreviewWithdraw

func (_SimpleRamp *SimpleRampCallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)

func (*SimpleRampCallerSession) TotalExitDemand

func (_SimpleRamp *SimpleRampCallerSession) TotalExitDemand() (*big.Int, error)

TotalExitDemand is a free data retrieval call binding the contract method 0x0fede599.

Solidity: function totalExitDemand() view returns(uint256)

func (*SimpleRampCallerSession) WFIL

func (_SimpleRamp *SimpleRampCallerSession) WFIL() (common.Address, error)

WFIL is a free data retrieval call binding the contract method 0xbef44256.

Solidity: function wFIL() view returns(address)

type SimpleRampFilterer

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

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

func NewSimpleRampFilterer

func NewSimpleRampFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleRampFilterer, error)

NewSimpleRampFilterer creates a new log filterer instance of SimpleRamp, bound to a specific deployed contract.

func (*SimpleRampFilterer) FilterWithdraw

func (_SimpleRamp *SimpleRampFilterer) FilterWithdraw(opts *bind.FilterOpts, caller []common.Address, receiver []common.Address, owner []common.Address) (*SimpleRampWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*SimpleRampFilterer) ParseWithdraw

func (_SimpleRamp *SimpleRampFilterer) ParseWithdraw(log types.Log) (*SimpleRampWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

func (*SimpleRampFilterer) WatchWithdraw

func (_SimpleRamp *SimpleRampFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SimpleRampWithdraw, caller []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.

Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)

type SimpleRampRaw

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

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

func (*SimpleRampRaw) Call

func (_SimpleRamp *SimpleRampRaw) 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 (*SimpleRampRaw) Transact

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

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

func (*SimpleRampRaw) Transfer

func (_SimpleRamp *SimpleRampRaw) 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 SimpleRampSession

type SimpleRampSession struct {
	Contract     *SimpleRamp       // 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
}

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

func (*SimpleRampSession) BurnIFIL

func (_SimpleRamp *SimpleRampSession) BurnIFIL() (*types.Transaction, error)

BurnIFIL is a paid mutator transaction binding the contract method 0xe8c9c4b7.

Solidity: function burnIFIL() returns()

func (*SimpleRampSession) Distribute

func (_SimpleRamp *SimpleRampSession) Distribute(arg0 common.Address, amount *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xfb932108.

Solidity: function distribute(address , uint256 amount) returns()

func (*SimpleRampSession) Fallback

func (_SimpleRamp *SimpleRampSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SimpleRampSession) IFIL

func (_SimpleRamp *SimpleRampSession) IFIL() (common.Address, error)

IFIL is a free data retrieval call binding the contract method 0x6be82b78.

Solidity: function iFIL() view returns(address)

func (*SimpleRampSession) MaxRedeem

func (_SimpleRamp *SimpleRampSession) MaxRedeem(account common.Address) (*big.Int, error)

MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.

Solidity: function maxRedeem(address account) view returns(uint256 shares)

func (*SimpleRampSession) MaxWithdraw

func (_SimpleRamp *SimpleRampSession) MaxWithdraw(account common.Address) (*big.Int, error)

MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.

Solidity: function maxWithdraw(address account) view returns(uint256)

func (*SimpleRampSession) Pool

func (_SimpleRamp *SimpleRampSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*SimpleRampSession) PreviewRedeem

func (_SimpleRamp *SimpleRampSession) PreviewRedeem(shares *big.Int) (*big.Int, error)

PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.

Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)

func (*SimpleRampSession) PreviewWithdraw

func (_SimpleRamp *SimpleRampSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)

PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.

Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)

func (*SimpleRampSession) Receive

func (_SimpleRamp *SimpleRampSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SimpleRampSession) RecoverFIL

func (_SimpleRamp *SimpleRampSession) RecoverFIL() (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x3eb569c6.

Solidity: function recoverFIL() returns()

func (*SimpleRampSession) Redeem

func (_SimpleRamp *SimpleRampSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.

Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampSession) RedeemF

func (_SimpleRamp *SimpleRampSession) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.

Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampSession) RefreshExtern

func (_SimpleRamp *SimpleRampSession) RefreshExtern() (*types.Transaction, error)

RefreshExtern is a paid mutator transaction binding the contract method 0x9adf1050.

Solidity: function refreshExtern() returns()

func (*SimpleRampSession) TotalExitDemand

func (_SimpleRamp *SimpleRampSession) TotalExitDemand() (*big.Int, error)

TotalExitDemand is a free data retrieval call binding the contract method 0x0fede599.

Solidity: function totalExitDemand() view returns(uint256)

func (*SimpleRampSession) WFIL

func (_SimpleRamp *SimpleRampSession) WFIL() (common.Address, error)

WFIL is a free data retrieval call binding the contract method 0xbef44256.

Solidity: function wFIL() view returns(address)

func (*SimpleRampSession) Withdraw

func (_SimpleRamp *SimpleRampSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

func (*SimpleRampSession) WithdrawF

func (_SimpleRamp *SimpleRampSession) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.

Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

type SimpleRampTransactor

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

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

func NewSimpleRampTransactor

func NewSimpleRampTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleRampTransactor, error)

NewSimpleRampTransactor creates a new write-only instance of SimpleRamp, bound to a specific deployed contract.

func (*SimpleRampTransactor) BurnIFIL

func (_SimpleRamp *SimpleRampTransactor) BurnIFIL(opts *bind.TransactOpts) (*types.Transaction, error)

BurnIFIL is a paid mutator transaction binding the contract method 0xe8c9c4b7.

Solidity: function burnIFIL() returns()

func (*SimpleRampTransactor) Distribute

func (_SimpleRamp *SimpleRampTransactor) Distribute(opts *bind.TransactOpts, arg0 common.Address, amount *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xfb932108.

Solidity: function distribute(address , uint256 amount) returns()

func (*SimpleRampTransactor) Fallback

func (_SimpleRamp *SimpleRampTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SimpleRampTransactor) Receive

func (_SimpleRamp *SimpleRampTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SimpleRampTransactor) RecoverFIL

func (_SimpleRamp *SimpleRampTransactor) RecoverFIL(opts *bind.TransactOpts) (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x3eb569c6.

Solidity: function recoverFIL() returns()

func (*SimpleRampTransactor) Redeem

func (_SimpleRamp *SimpleRampTransactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.

Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampTransactor) RedeemF

func (_SimpleRamp *SimpleRampTransactor) RedeemF(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.

Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampTransactor) RefreshExtern

func (_SimpleRamp *SimpleRampTransactor) RefreshExtern(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshExtern is a paid mutator transaction binding the contract method 0x9adf1050.

Solidity: function refreshExtern() returns()

func (*SimpleRampTransactor) Withdraw

func (_SimpleRamp *SimpleRampTransactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

func (*SimpleRampTransactor) WithdrawF

func (_SimpleRamp *SimpleRampTransactor) WithdrawF(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.

Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

type SimpleRampTransactorRaw

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

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

func (*SimpleRampTransactorRaw) Transact

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

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

func (*SimpleRampTransactorRaw) Transfer

func (_SimpleRamp *SimpleRampTransactorRaw) 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 SimpleRampTransactorSession

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

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

func (*SimpleRampTransactorSession) BurnIFIL

func (_SimpleRamp *SimpleRampTransactorSession) BurnIFIL() (*types.Transaction, error)

BurnIFIL is a paid mutator transaction binding the contract method 0xe8c9c4b7.

Solidity: function burnIFIL() returns()

func (*SimpleRampTransactorSession) Distribute

func (_SimpleRamp *SimpleRampTransactorSession) Distribute(arg0 common.Address, amount *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xfb932108.

Solidity: function distribute(address , uint256 amount) returns()

func (*SimpleRampTransactorSession) Fallback

func (_SimpleRamp *SimpleRampTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SimpleRampTransactorSession) Receive

func (_SimpleRamp *SimpleRampTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SimpleRampTransactorSession) RecoverFIL

func (_SimpleRamp *SimpleRampTransactorSession) RecoverFIL() (*types.Transaction, error)

RecoverFIL is a paid mutator transaction binding the contract method 0x3eb569c6.

Solidity: function recoverFIL() returns()

func (*SimpleRampTransactorSession) Redeem

func (_SimpleRamp *SimpleRampTransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.

Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampTransactorSession) RedeemF

func (_SimpleRamp *SimpleRampTransactorSession) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.

Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)

func (*SimpleRampTransactorSession) RefreshExtern

func (_SimpleRamp *SimpleRampTransactorSession) RefreshExtern() (*types.Transaction, error)

RefreshExtern is a paid mutator transaction binding the contract method 0x9adf1050.

Solidity: function refreshExtern() returns()

func (*SimpleRampTransactorSession) Withdraw

func (_SimpleRamp *SimpleRampTransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

func (*SimpleRampTransactorSession) WithdrawF

func (_SimpleRamp *SimpleRampTransactorSession) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)

WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.

Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)

type SimpleRampWithdraw

type SimpleRampWithdraw struct {
	Caller   common.Address
	Receiver common.Address
	Owner    common.Address
	Assets   *big.Int
	Shares   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SimpleRampWithdraw represents a Withdraw event raised by the SimpleRamp contract.

type SimpleRampWithdrawIterator

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

SimpleRampWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the SimpleRamp contract.

func (*SimpleRampWithdrawIterator) Close

func (it *SimpleRampWithdrawIterator) Close() error

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

func (*SimpleRampWithdrawIterator) Error

func (it *SimpleRampWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SimpleRampWithdrawIterator) Next

func (it *SimpleRampWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VerifiableCredential

type VerifiableCredential struct {
	Issuer          common.Address
	Subject         *big.Int
	EpochIssued     *big.Int
	EpochValidUntil *big.Int
	Value           *big.Int
	Action          [4]byte
	Target          uint64
	Claim           []byte
}

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

type VerifiableCredential_AgentPolice

type VerifiableCredential_AgentPolice struct {
	Issuer          common.Address
	Subject         *big.Int
	EpochIssued     *big.Int
	EpochValidUntil *big.Int
	Value           *big.Int
	Action          [4]byte
	Target          uint64
	Claim           []byte
}

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

type VerifiableCredential_InfinityPool

type VerifiableCredential_InfinityPool struct {
	Issuer          common.Address
	Subject         *big.Int
	EpochIssued     *big.Int
	EpochValidUntil *big.Int
	Value           *big.Int
	Action          [4]byte
	Target          uint64
	Claim           []byte
}

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

type VerifiableCredential_RateModule

type VerifiableCredential_RateModule struct {
	Issuer          common.Address
	Subject         *big.Int
	EpochIssued     *big.Int
	EpochValidUntil *big.Int
	Value           *big.Int
	Action          [4]byte
	Target          uint64
	Claim           []byte
}

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

type WFIL

type WFIL struct {
	WFILCaller     // Read-only binding to the contract
	WFILTransactor // Write-only binding to the contract
	WFILFilterer   // Log filterer for contract events
}

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

func NewWFIL

func NewWFIL(address common.Address, backend bind.ContractBackend) (*WFIL, error)

NewWFIL creates a new instance of WFIL, bound to a specific deployed contract.

type WFILApproval

type WFILApproval struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

WFILApproval represents a Approval event raised by the WFIL contract.

type WFILApprovalIterator

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

WFILApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WFIL contract.

func (*WFILApprovalIterator) Close

func (it *WFILApprovalIterator) Close() error

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

func (*WFILApprovalIterator) Error

func (it *WFILApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFILApprovalIterator) Next

func (it *WFILApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WFILCaller

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

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

func NewWFILCaller

func NewWFILCaller(address common.Address, caller bind.ContractCaller) (*WFILCaller, error)

NewWFILCaller creates a new read-only instance of WFIL, bound to a specific deployed contract.

func (*WFILCaller) Allowance

func (_WFIL *WFILCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*WFILCaller) BalanceOf

func (_WFIL *WFILCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*WFILCaller) DOMAINSEPARATOR

func (_WFIL *WFILCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*WFILCaller) Decimals

func (_WFIL *WFILCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WFILCaller) Name

func (_WFIL *WFILCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WFILCaller) Nonces

func (_WFIL *WFILCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*WFILCaller) Symbol

func (_WFIL *WFILCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WFILCaller) TotalSupply

func (_WFIL *WFILCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type WFILCallerRaw

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

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

func (*WFILCallerRaw) Call

func (_WFIL *WFILCallerRaw) 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 WFILCallerSession

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

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

func (*WFILCallerSession) Allowance

func (_WFIL *WFILCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*WFILCallerSession) BalanceOf

func (_WFIL *WFILCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*WFILCallerSession) DOMAINSEPARATOR

func (_WFIL *WFILCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*WFILCallerSession) Decimals

func (_WFIL *WFILCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WFILCallerSession) Name

func (_WFIL *WFILCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WFILCallerSession) Nonces

func (_WFIL *WFILCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*WFILCallerSession) Symbol

func (_WFIL *WFILCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WFILCallerSession) TotalSupply

func (_WFIL *WFILCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type WFILDeposit

type WFILDeposit struct {
	From   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WFILDeposit represents a Deposit event raised by the WFIL contract.

type WFILDepositIterator

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

WFILDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WFIL contract.

func (*WFILDepositIterator) Close

func (it *WFILDepositIterator) Close() error

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

func (*WFILDepositIterator) Error

func (it *WFILDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFILDepositIterator) Next

func (it *WFILDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WFILFilterer

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

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

func NewWFILFilterer

func NewWFILFilterer(address common.Address, filterer bind.ContractFilterer) (*WFILFilterer, error)

NewWFILFilterer creates a new log filterer instance of WFIL, bound to a specific deployed contract.

func (*WFILFilterer) FilterApproval

func (_WFIL *WFILFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WFILApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*WFILFilterer) FilterDeposit

func (_WFIL *WFILFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WFILDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 amount)

func (*WFILFilterer) FilterTransfer

func (_WFIL *WFILFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WFILTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*WFILFilterer) FilterWithdrawal

func (_WFIL *WFILFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*WFILWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed to, uint256 amount)

func (*WFILFilterer) ParseApproval

func (_WFIL *WFILFilterer) ParseApproval(log types.Log) (*WFILApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*WFILFilterer) ParseDeposit

func (_WFIL *WFILFilterer) ParseDeposit(log types.Log) (*WFILDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 amount)

func (*WFILFilterer) ParseTransfer

func (_WFIL *WFILFilterer) ParseTransfer(log types.Log) (*WFILTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*WFILFilterer) ParseWithdrawal

func (_WFIL *WFILFilterer) ParseWithdrawal(log types.Log) (*WFILWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed to, uint256 amount)

func (*WFILFilterer) WatchApproval

func (_WFIL *WFILFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WFILApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)

func (*WFILFilterer) WatchDeposit

func (_WFIL *WFILFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WFILDeposit, from []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 amount)

func (*WFILFilterer) WatchTransfer

func (_WFIL *WFILFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WFILTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)

func (*WFILFilterer) WatchWithdrawal

func (_WFIL *WFILFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WFILWithdrawal, to []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.

Solidity: event Withdrawal(address indexed to, uint256 amount)

type WFILRaw

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

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

func (*WFILRaw) Call

func (_WFIL *WFILRaw) 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 (*WFILRaw) Transact

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

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

func (*WFILRaw) Transfer

func (_WFIL *WFILRaw) 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 WFILSession

type WFILSession struct {
	Contract     *WFIL             // 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
}

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

func (*WFILSession) Allowance

func (_WFIL *WFILSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*WFILSession) Approve

func (_WFIL *WFILSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFILSession) BalanceOf

func (_WFIL *WFILSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*WFILSession) DOMAINSEPARATOR

func (_WFIL *WFILSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*WFILSession) Decimals

func (_WFIL *WFILSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WFILSession) Deposit

func (_WFIL *WFILSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFILSession) Name

func (_WFIL *WFILSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WFILSession) Nonces

func (_WFIL *WFILSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*WFILSession) Permit

func (_WFIL *WFILSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WFILSession) Receive

func (_WFIL *WFILSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFILSession) Symbol

func (_WFIL *WFILSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WFILSession) TotalSupply

func (_WFIL *WFILSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*WFILSession) Transfer

func (_WFIL *WFILSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*WFILSession) TransferFrom

func (_WFIL *WFILSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*WFILSession) Withdraw

func (_WFIL *WFILSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type WFILTransactor

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

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

func NewWFILTransactor

func NewWFILTransactor(address common.Address, transactor bind.ContractTransactor) (*WFILTransactor, error)

NewWFILTransactor creates a new write-only instance of WFIL, bound to a specific deployed contract.

func (*WFILTransactor) Approve

func (_WFIL *WFILTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFILTransactor) Deposit

func (_WFIL *WFILTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFILTransactor) Permit

func (_WFIL *WFILTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WFILTransactor) Receive

func (_WFIL *WFILTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFILTransactor) Transfer

func (_WFIL *WFILTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*WFILTransactor) TransferFrom

func (_WFIL *WFILTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*WFILTransactor) Withdraw

func (_WFIL *WFILTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type WFILTransactorRaw

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

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

func (*WFILTransactorRaw) Transact

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

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

func (*WFILTransactorRaw) Transfer

func (_WFIL *WFILTransactorRaw) 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 WFILTransactorSession

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

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

func (*WFILTransactorSession) Approve

func (_WFIL *WFILTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFILTransactorSession) Deposit

func (_WFIL *WFILTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFILTransactorSession) Permit

func (_WFIL *WFILTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WFILTransactorSession) Receive

func (_WFIL *WFILTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFILTransactorSession) Transfer

func (_WFIL *WFILTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*WFILTransactorSession) TransferFrom

func (_WFIL *WFILTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

func (*WFILTransactorSession) Withdraw

func (_WFIL *WFILTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type WFILTransfer

type WFILTransfer struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WFILTransfer represents a Transfer event raised by the WFIL contract.

type WFILTransferIterator

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

WFILTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WFIL contract.

func (*WFILTransferIterator) Close

func (it *WFILTransferIterator) Close() error

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

func (*WFILTransferIterator) Error

func (it *WFILTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFILTransferIterator) Next

func (it *WFILTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WFILWithdrawal

type WFILWithdrawal struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WFILWithdrawal represents a Withdrawal event raised by the WFIL contract.

type WFILWithdrawalIterator

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

WFILWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the WFIL contract.

func (*WFILWithdrawalIterator) Close

func (it *WFILWithdrawalIterator) Close() error

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

func (*WFILWithdrawalIterator) Error

func (it *WFILWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFILWithdrawalIterator) Next

func (it *WFILWithdrawalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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