Documentation
¶
Index ¶
- Constants
- Variables
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type GovParam
- type GovParamCaller
- func (_GovParam *GovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error)
- func (_GovParam *GovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error)
- func (_GovParam *GovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error)
- func (_GovParam *GovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, [][]byte, error)
- func (_GovParam *GovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error)
- func (_GovParam *GovParamCaller) GetParam(opts *bind.CallOpts, name string) (bool, []byte, error)
- func (_GovParam *GovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error)
- func (_GovParam *GovParamCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_GovParam *GovParamCaller) ParamNames(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- type GovParamCallerRaw
- type GovParamCallerSession
- func (_GovParam *GovParamCallerSession) Checkpoints(name string) ([]IGovParamParam, error)
- func (_GovParam *GovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
- func (_GovParam *GovParamCallerSession) GetAllParamNames() ([]string, error)
- func (_GovParam *GovParamCallerSession) GetAllParams() ([]string, [][]byte, error)
- func (_GovParam *GovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
- func (_GovParam *GovParamCallerSession) GetParam(name string) (bool, []byte, error)
- func (_GovParam *GovParamCallerSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
- func (_GovParam *GovParamCallerSession) Owner() (common.Address, error)
- func (_GovParam *GovParamCallerSession) ParamNames(arg0 *big.Int) (string, error)
- type GovParamFilterer
- func (_GovParam *GovParamFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*GovParamOwnershipTransferredIterator, error)
- func (_GovParam *GovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*GovParamSetParamIterator, error)
- func (_GovParam *GovParamFilterer) ParseOwnershipTransferred(log types.Log) (*GovParamOwnershipTransferred, error)
- func (_GovParam *GovParamFilterer) ParseSetParam(log types.Log) (*GovParamSetParam, error)
- func (_GovParam *GovParamFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GovParamOwnershipTransferred, ...) (event.Subscription, error)
- func (_GovParam *GovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *GovParamSetParam) (event.Subscription, error)
- type GovParamOwnershipTransferred
- type GovParamOwnershipTransferredIterator
- type GovParamRaw
- func (_GovParam *GovParamRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GovParam *GovParamRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GovParam *GovParamRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GovParamSession
- func (_GovParam *GovParamSession) Checkpoints(name string) ([]IGovParamParam, error)
- func (_GovParam *GovParamSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
- func (_GovParam *GovParamSession) GetAllParamNames() ([]string, error)
- func (_GovParam *GovParamSession) GetAllParams() ([]string, [][]byte, error)
- func (_GovParam *GovParamSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
- func (_GovParam *GovParamSession) GetParam(name string) (bool, []byte, error)
- func (_GovParam *GovParamSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
- func (_GovParam *GovParamSession) Owner() (common.Address, error)
- func (_GovParam *GovParamSession) ParamNames(arg0 *big.Int) (string, error)
- func (_GovParam *GovParamSession) RenounceOwnership() (*types.Transaction, error)
- func (_GovParam *GovParamSession) SetParam(name string, exists bool, val []byte, activation *big.Int) (*types.Transaction, error)
- func (_GovParam *GovParamSession) SetParamIn(name string, exists bool, val []byte, relativeActivation *big.Int) (*types.Transaction, error)
- func (_GovParam *GovParamSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type GovParamSetParam
- type GovParamSetParamIterator
- type GovParamTransactor
- func (_GovParam *GovParamTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GovParam *GovParamTransactor) SetParam(opts *bind.TransactOpts, name string, exists bool, val []byte, ...) (*types.Transaction, error)
- func (_GovParam *GovParamTransactor) SetParamIn(opts *bind.TransactOpts, name string, exists bool, val []byte, ...) (*types.Transaction, error)
- func (_GovParam *GovParamTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type GovParamTransactorRaw
- type GovParamTransactorSession
- func (_GovParam *GovParamTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_GovParam *GovParamTransactorSession) SetParam(name string, exists bool, val []byte, activation *big.Int) (*types.Transaction, error)
- func (_GovParam *GovParamTransactorSession) SetParamIn(name string, exists bool, val []byte, relativeActivation *big.Int) (*types.Transaction, error)
- func (_GovParam *GovParamTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type IGovParam
- type IGovParamCaller
- func (_IGovParam *IGovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error)
- func (_IGovParam *IGovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error)
- func (_IGovParam *IGovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error)
- func (_IGovParam *IGovParamCaller) GetAllParams(opts *bind.CallOpts) ([]string, [][]byte, error)
- func (_IGovParam *IGovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error)
- func (_IGovParam *IGovParamCaller) GetParam(opts *bind.CallOpts, name string) (bool, []byte, error)
- func (_IGovParam *IGovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error)
- func (_IGovParam *IGovParamCaller) ParamNames(opts *bind.CallOpts, idx *big.Int) (string, error)
- type IGovParamCallerRaw
- type IGovParamCallerSession
- func (_IGovParam *IGovParamCallerSession) Checkpoints(name string) ([]IGovParamParam, error)
- func (_IGovParam *IGovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
- func (_IGovParam *IGovParamCallerSession) GetAllParamNames() ([]string, error)
- func (_IGovParam *IGovParamCallerSession) GetAllParams() ([]string, [][]byte, error)
- func (_IGovParam *IGovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
- func (_IGovParam *IGovParamCallerSession) GetParam(name string) (bool, []byte, error)
- func (_IGovParam *IGovParamCallerSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
- func (_IGovParam *IGovParamCallerSession) ParamNames(idx *big.Int) (string, error)
- type IGovParamFilterer
- func (_IGovParam *IGovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*IGovParamSetParamIterator, error)
- func (_IGovParam *IGovParamFilterer) ParseSetParam(log types.Log) (*IGovParamSetParam, error)
- func (_IGovParam *IGovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *IGovParamSetParam) (event.Subscription, error)
- type IGovParamParam
- type IGovParamRaw
- func (_IGovParam *IGovParamRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IGovParam *IGovParamRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IGovParam *IGovParamRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IGovParamSession
- func (_IGovParam *IGovParamSession) Checkpoints(name string) ([]IGovParamParam, error)
- func (_IGovParam *IGovParamSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
- func (_IGovParam *IGovParamSession) GetAllParamNames() ([]string, error)
- func (_IGovParam *IGovParamSession) GetAllParams() ([]string, [][]byte, error)
- func (_IGovParam *IGovParamSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
- func (_IGovParam *IGovParamSession) GetParam(name string) (bool, []byte, error)
- func (_IGovParam *IGovParamSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
- func (_IGovParam *IGovParamSession) ParamNames(idx *big.Int) (string, error)
- func (_IGovParam *IGovParamSession) SetParam(name string, exists bool, value []byte, activation *big.Int) (*types.Transaction, error)
- func (_IGovParam *IGovParamSession) SetParamIn(name string, exists bool, value []byte, relativeActivation *big.Int) (*types.Transaction, error)
- type IGovParamSetParam
- type IGovParamSetParamIterator
- type IGovParamTransactor
- type IGovParamTransactorRaw
- type IGovParamTransactorSession
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
Constants ¶
const ContextBinRuntime = ``
ContextBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const GovParamBinRuntime = `` /* 16446-byte string literal not displayed */
GovParamBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const IGovParamBinRuntime = ``
IGovParamBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const OwnableBinRuntime = ``
OwnableBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
Variables ¶
var ContextABI = ContextMetaData.ABI
ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.
var ContextMetaData = &bind.MetaData{
ABI: "[]",
}
ContextMetaData contains all meta data concerning the Context contract.
var GovParamABI = GovParamMetaData.ABI
GovParamABI is the input ABI used to generate the binding from. Deprecated: Use GovParamMetaData.ABI instead.
var GovParamBin = GovParamMetaData.Bin
GovParamBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GovParamMetaData.Bin instead.
var GovParamFuncSigs = GovParamMetaData.Sigs
GovParamFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use GovParamMetaData.Sigs instead.
var GovParamMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"SetParam\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"internalType\":\"structIGovParam.Param[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllCheckpoints\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"internalType\":\"structIGovParam.Param[][]\",\"name\":\"\",\"type\":\"tuple[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllParamNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllParams\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getAllParamsAt\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getParam\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getParamAt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"paramNames\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"setParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"relativeActivation\",\"type\":\"uint256\"}],\"name\":\"setParamIn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "296451d9": "checkpoints(string)", "5516c21c": "getAllCheckpoints()", "cc4783b6": "getAllParamNames()", "a170052e": "getAllParams()", "1e31825a": "getAllParamsAt(uint256)", "5d4f71d4": "getParam(string)", "6a1ec27c": "getParamAt(string,uint256)", "8da5cb5b": "owner()", "db758754": "paramNames(uint256)", "715018a6": "renounceOwnership()", "3f8aa624": "setParam(string,bool,bytes,uint256)", "b93244a5": "setParamIn(string,bool,bytes,uint256)", "f2fde38b": "transferOwnership(address)", }, Bin: "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61201f8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063715018a61161008c578063b93244a511610066578063b93244a5146101a8578063cc4783b6146101bb578063db758754146101d0578063f2fde38b146101f057600080fd5b8063715018a61461017d5780638da5cb5b14610185578063a170052e146101a057600080fd5b80631e31825a146100d4578063296451d9146100fe5780633f8aa6241461011e5780635516c21c146101335780635d4f71d4146101495780636a1ec27c1461016a575b600080fd5b6100e76100e2366004611776565b610203565b6040516100f5929190611837565b60405180910390f35b61011161010c3660046118eb565b61056e565b6040516100f5919061192d565b61013161012c3660046119ae565b61069d565b005b61013b610a97565b6040516100f5929190611a40565b61015c6101573660046118eb565b610d4b565b6040516100f5929190611b07565b61015c610178366004611b40565b610e9e565b61013161106b565b6000546040516001600160a01b0390911681526020016100f5565b6100e761107f565b6101316101b63660046119ae565b6113e5565b6101c3611412565b6040516100f59190611bf5565b6101e36101de366004611776565b6114eb565b6040516100f59190611c08565b6101316101fe366004611c1b565b611597565b6060806000805b6001548110156102ef5760006102c56001838154811061022c5761022c611c44565b90600052602060002001805461024190611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90611c5a565b80156102ba5780601f1061028f576101008083540402835291602001916102ba565b820191906000526020600020905b81548152906001019060200180831161029d57829003601f168201915b505050505087610e9e565b50905080156102dc57826102d881611caa565b9350505b50806102e781611caa565b91505061020a565b5060008167ffffffffffffffff81111561030b5761030b611b2a565b60405190808252806020026020018201604052801561033e57816020015b60608152602001906001900390816103295790505b50905060008267ffffffffffffffff81111561035c5761035c611b2a565b60405190808252806020026020018201604052801561038f57816020015b606081526020019060019003908161037a5790505b5090506000805b60015481101561056157600080610452600184815481106103b9576103b9611c44565b9060005260206000200180546103ce90611c5a565b80601f01602080910402602001604051908101604052809291908181526020018280546103fa90611c5a565b80156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b50505050508b610e9e565b91509150811561054c576001838154811061046f5761046f611c44565b90600052602060002001805461048490611c5a565b80601f01602080910402602001604051908101604052809291908181526020018280546104b090611c5a565b80156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505086858151811061051457610514611c44565b60200260200101819052508085858151811061053257610532611c44565b6020026020010181905250838061054890611caa565b9450505b5050808061055990611caa565b915050610396565b5091969095509350505050565b606060028383604051610582929190611cc3565b9081526020016040518091039020805480602002602001604051908101604052809291908181526020016000905b82821015610690576000848152602090819020604080516060810182526003860290920180548352600181015460ff16151593830193909352600283018054929392918401916105ff90611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461062b90611c5a565b80156106785780601f1061064d57610100808354040283529160200191610678565b820191906000526020600020905b81548152906001019060200180831161065b57829003601f168201915b505050505081525050815260200190600101906105b0565b5050505090505b92915050565b6106a5611610565b846106f75760405162461bcd60e51b815260206004820152601e60248201527f476f76506172616d3a206e616d652063616e6e6f7420626520656d707479000060448201526064015b60405180910390fd5b4381116107595760405162461bcd60e51b815260206004820152602a60248201527f476f76506172616d3a2061637469766174696f6e206d75737420626520696e206044820152697468652066757475726560b01b60648201526084016106ee565b83158061076557508115155b6107c85760405162461bcd60e51b815260206004820152602e60248201527f476f76506172616d3a2076616c206d757374206e6f7420626520656d7074792060448201526d6966206578697374733d7472756560901b60648201526084016106ee565b83806107d2575081155b6108325760405162461bcd60e51b815260206004820152602b60248201527f476f76506172616d3a2076616c206d75737420626520656d707479206966206560448201526a78697374733d66616c736560a81b60648201526084016106ee565b60006040518060600160405280838152602001861515815260200185858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939094525050604051929350916002915061089d908a908a90611cc3565b9081526040519081900360200190208054909150600003610962576001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6016108f4888a83611d22565b5060408051606081018252600080825260208083018281528451808301865283815294840194855285546001808201885587855292909320845160039094020192835551908201805460ff19169115159190911790559151909190600282019061095e9082611de3565b5050505b805460009061097390600190611ea3565b90504382828154811061098857610988611c44565b906000526020600020906003020160000154116109f25781546001808201845560008481526020908190208651600390940201928355850151908201805460ff1916911515919091179055604084015184919060028201906109ea9082611de3565b505050610a4b565b82828281548110610a0557610a05611c44565b60009182526020918290208351600392909202019081559082015160018201805460ff191691151591909117905560408201516002820190610a479082611de3565b5050505b7f80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85898989898989604051610a8496959493929190611edf565b60405180910390a1505050505050505050565b606080600060018054905067ffffffffffffffff811115610aba57610aba611b2a565b604051908082528060200260200182016040528015610aed57816020015b6060815260200190600190039081610ad85790505b50905060005b600154811015610c6b57600260018281548110610b1257610b12611c44565b90600052602060002001604051610b299190611f22565b9081526020016040518091039020805480602002602001604051908101604052809291908181526020016000905b82821015610c37576000848152602090819020604080516060810182526003860290920180548352600181015460ff1615159383019390935260028301805492939291840191610ba690611c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290611c5a565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b50505050508152505081526020019060010190610b57565b50505050828281518110610c4d57610c4d611c44565b60200260200101819052508080610c6390611caa565b915050610af3565b5060018181805480602002602001604051908101604052809291908181526020016000905b82821015610d3c578382906000526020600020018054610caf90611c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdb90611c5a565b8015610d285780601f10610cfd57610100808354040283529160200191610d28565b820191906000526020600020905b815481529060010190602001808311610d0b57829003601f168201915b505050505081526020019060010190610c90565b50505050915092509250509091565b6000606060028484604051610d61929190611cc3565b90815260405190819003602001902054600003610d905750506040805160208101909152600080825290610e97565b6000610dd185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061166a92505050565b6040805160608101825282548152600183015460ff1615156020820152600283018054919392840191610e0390611c5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2f90611c5a565b8015610e7c5780601f10610e5157610100808354040283529160200191610e7c565b820191906000526020600020905b815481529060010190602001808311610e5f57829003601f168201915b50505050508152505090508060200151816040015192509250505b9250929050565b600060606000600285604051610eb49190611f98565b9081526040519081900360200190205490506000819003610ee8575050604080516020810190915260008082529150610e97565b6000808290506000600288604051610f009190611f98565b908152602001604051809103902090505b81831015610f6e576000610f258484611704565b905087828281548110610f3a57610f3a611c44565b9060005260206000209060030201600001541115610f5a57809250610f68565b610f65816001611fb4565b93505b50610f11565b80610f7a600184611ea3565b81548110610f8a57610f8a611c44565b60009182526020909120600160039092020181015460ff16908290610faf9085611ea3565b81548110610fbf57610fbf611c44565b9060005260206000209060030201600201808054610fdc90611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461100890611c5a565b80156110555780601f1061102a57610100808354040283529160200191611055565b820191906000526020600020905b81548152906001019060200180831161103857829003601f168201915b5050505050905095509550505050509250929050565b611073611610565b61107d6000611726565b565b6060806000805b600154811015611171576000611140600183815481106110a8576110a8611c44565b9060005260206000200180546110bd90611c5a565b80601f01602080910402602001604051908101604052809291908181526020018280546110e990611c5a565b80156111365780601f1061110b57610100808354040283529160200191611136565b820191906000526020600020905b81548152906001019060200180831161111957829003601f168201915b505050505061166a565b600181015490915060ff161561115e578261115a81611caa565b9350505b508061116981611caa565b915050611086565b5060008167ffffffffffffffff81111561118d5761118d611b2a565b6040519080825280602002602001820160405280156111c057816020015b60608152602001906001900390816111ab5790505b50905060008267ffffffffffffffff8111156111de576111de611b2a565b60405190808252806020026020018201604052801561121157816020015b60608152602001906001900390816111fc5790505b5090506000805b6001548110156113d957600061123a600183815481106110a8576110a8611c44565b600181015490915060ff16156113c6576001828154811061125d5761125d611c44565b90600052602060002001805461127290611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461129e90611c5a565b80156112eb5780601f106112c0576101008083540402835291602001916112eb565b820191906000526020600020905b8154815290600101906020018083116112ce57829003601f168201915b505050505085848151811061130257611302611c44565b602002602001018190525080600201805461131c90611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461134890611c5a565b80156113955780601f1061136a57610100808354040283529160200191611395565b820191906000526020600020905b81548152906001019060200180831161137857829003601f168201915b50505050508484815181106113ac576113ac611c44565b602002602001018190525082806113c290611caa565b9350505b50806113d181611caa565b915050611218565b50919590945092505050565b6113ed611610565b60006113f98243611fb4565b905061140987878787878661069d565b50505050505050565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156114e257838290600052602060002001805461145590611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461148190611c5a565b80156114ce5780601f106114a3576101008083540402835291602001916114ce565b820191906000526020600020905b8154815290600101906020018083116114b157829003601f168201915b505050505081526020019060010190611436565b50505050905090565b600181815481106114fb57600080fd5b90600052602060002001600091509050805461151690611c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461154290611c5a565b801561158f5780601f106115645761010080835404028352916020019161158f565b820191906000526020600020905b81548152906001019060200180831161157257829003601f168201915b505050505081565b61159f611610565b6001600160a01b0381166116045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ee565b61160d81611726565b50565b6000546001600160a01b0316331461107d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ee565b60008060028360405161167d9190611f98565b9081526040519081900360200190208054909150438261169e600184611ea3565b815481106116ae576116ae611c44565b906000526020600020906003020160000154116116f857816116d1600183611ea3565b815481106116e1576116e1611c44565b906000526020600020906003020192505050919050565b816116d1600283611ea3565b60006117136002848418611fc7565b61171f90848416611fb4565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561178857600080fd5b5035919050565b60005b838110156117aa578181015183820152602001611792565b50506000910152565b600081518084526117cb81602086016020860161178f565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b8481101561182a57601f198684030189526118188383516117b3565b988401989250908301906001016117fc565b5090979650505050505050565b60408152600061184a60408301856117df565b6020838203818501528185518084528284019150828160051b85010183880160005b8381101561189a57601f198784030185526118888383516117b3565b9486019492509085019060010161186c565b50909998505050505050505050565b60008083601f8401126118bb57600080fd5b50813567ffffffffffffffff8111156118d357600080fd5b602083019150836020828501011115610e9757600080fd5b600080602083850312156118fe57600080fd5b823567ffffffffffffffff81111561191557600080fd5b611921858286016118a9565b90969095509350505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156119a057888303603f1901855281518051845287810151151588850152860151606087850181905261198c818601836117b3565b968901969450505090860190600101611954565b509098975050505050505050565b600080600080600080608087890312156119c757600080fd5b863567ffffffffffffffff808211156119df57600080fd5b6119eb8a838b016118a9565b9098509650602089013591508115158214611a0557600080fd5b90945060408801359080821115611a1b57600080fd5b50611a2889828a016118a9565b979a9699509497949695606090950135949350505050565b604081526000611a5360408301856117df565b6020838203818501528185518084528284019150828160051b85010183880160005b8381101561189a57601f1987840381018652825180518086529088019088860190600581901b87018a0160005b82811015611af0578589830301845284516060815184528d82015115158e85015260408201519150806040850152611adc818501836117b3565b968e0196958e019593505050600101611aa2565b50988a019896505050928701925050600101611a75565b8215158152604060208201526000611b2260408301846117b3565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611b5357600080fd5b823567ffffffffffffffff80821115611b6b57600080fd5b818501915085601f830112611b7f57600080fd5b813581811115611b9157611b91611b2a565b604051601f8201601f19908116603f01168101908382118183101715611bb957611bb9611b2a565b81604052828152886020848701011115611bd257600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b60208152600061171f60208301846117df565b60208152600061171f60208301846117b3565b600060208284031215611c2d57600080fd5b81356001600160a01b038116811461171f57600080fd5b634e487b7160e01b600052603260045260246000fd5b600181811c90821680611c6e57607f821691505b602082108103611c8e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600060018201611cbc57611cbc611c94565b5060010190565b8183823760009101908152919050565b601f821115611d1d57600081815260208120601f850160051c81016020861015611cfa5750805b601f850160051c820191505b81811015611d1957828155600101611d06565b5050505b505050565b67ffffffffffffffff831115611d3a57611d3a611b2a565b611d4e83611d488354611c5a565b83611cd3565b6000601f841160018114611d825760008515611d6a5750838201355b600019600387901b1c1916600186901b178355611ddc565b600083815260209020601f19861690835b82811015611db35786850135825560209485019460019092019101611d93565b5086821015611dd05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b815167ffffffffffffffff811115611dfd57611dfd611b2a565b611e1181611e0b8454611c5a565b84611cd3565b602080601f831160018114611e465760008415611e2e5750858301515b600019600386901b1c1916600185901b178555611d19565b600085815260208120601f198616915b82811015611e7557888601518255948401946001909101908401611e56565b5085821015611e935787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561069757610697611c94565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b608081526000611ef360808301888a611eb6565b86151560208401528281036040840152611f0e818688611eb6565b915050826060830152979650505050505050565b6000808354611f3081611c5a565b60018281168015611f485760018114611f5d57611f8c565b60ff1984168752821515830287019450611f8c565b8760005260208060002060005b85811015611f835781548a820152908401908201611f6a565b50505082870194505b50929695505050505050565b60008251611faa81846020870161178f565b9190910192915050565b8082018082111561069757610697611c94565b600082611fe457634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212208ce7a614d5313bc165018efaf504902c2e27920e8caedde8ddd010f73345637b64736f6c63430008130033", }
GovParamMetaData contains all meta data concerning the GovParam contract.
var IGovParamABI = IGovParamMetaData.ABI
IGovParamABI is the input ABI used to generate the binding from. Deprecated: Use IGovParamMetaData.ABI instead.
var IGovParamFuncSigs = IGovParamMetaData.Sigs
IGovParamFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use IGovParamMetaData.Sigs instead.
var IGovParamMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"SetParam\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"internalType\":\"structIGovParam.Param[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllCheckpoints\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"internalType\":\"structIGovParam.Param[][]\",\"name\":\"\",\"type\":\"tuple[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllParamNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllParams\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getAllParamsAt\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getParam\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getParamAt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"paramNames\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"setParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"relativeActivation\",\"type\":\"uint256\"}],\"name\":\"setParamIn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "296451d9": "checkpoints(string)", "5516c21c": "getAllCheckpoints()", "cc4783b6": "getAllParamNames()", "a170052e": "getAllParams()", "1e31825a": "getAllParamsAt(uint256)", "5d4f71d4": "getParam(string)", "6a1ec27c": "getParamAt(string,uint256)", "db758754": "paramNames(uint256)", "3f8aa624": "setParam(string,bool,bytes,uint256)", "b93244a5": "setParamIn(string,bool,bytes,uint256)", }, }
IGovParamMetaData contains all meta data concerning the IGovParam contract.
var OwnableABI = OwnableMetaData.ABI
OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.
var OwnableFuncSigs = OwnableMetaData.Sigs
OwnableFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use OwnableMetaData.Sigs instead.
var OwnableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, }
OwnableMetaData contains all meta data concerning the Ownable contract.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
ContextCaller // Read-only binding to the contract
ContextTransactor // Write-only binding to the contract
ContextFilterer // Log filterer for contract events
}
Context is an auto generated Go binding around a Kaia contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around a Kaia contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) 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 ContextCallerSession ¶
type ContextCallerSession struct {
Contract *ContextCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ContextCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around a Kaia contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) 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 (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) 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 ContextSession ¶
type ContextSession struct {
Contract *Context // 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
}
ContextSession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) 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 ContextTransactorSession ¶
type ContextTransactorSession struct {
Contract *ContextTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ContextTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
type GovParam ¶
type GovParam struct {
GovParamCaller // Read-only binding to the contract
GovParamTransactor // Write-only binding to the contract
GovParamFilterer // Log filterer for contract events
}
GovParam is an auto generated Go binding around a Kaia contract.
func DeployGovParam ¶
func DeployGovParam(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GovParam, error)
DeployGovParam deploys a new Kaia contract, binding an instance of GovParam to it.
func NewGovParam ¶
NewGovParam creates a new instance of GovParam, bound to a specific deployed contract.
type GovParamCaller ¶
type GovParamCaller struct {
// contains filtered or unexported fields
}
GovParamCaller is an auto generated read-only Go binding around a Kaia contract.
func NewGovParamCaller ¶
func NewGovParamCaller(address common.Address, caller bind.ContractCaller) (*GovParamCaller, error)
NewGovParamCaller creates a new read-only instance of GovParam, bound to a specific deployed contract.
func (*GovParamCaller) Checkpoints ¶
func (_GovParam *GovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*GovParamCaller) GetAllCheckpoints ¶
func (_GovParam *GovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*GovParamCaller) GetAllParamNames ¶
func (_GovParam *GovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*GovParamCaller) GetAllParams ¶
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*GovParamCaller) GetAllParamsAt ¶
func (_GovParam *GovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error)
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*GovParamCaller) GetParam ¶
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*GovParamCaller) GetParamAt ¶
func (_GovParam *GovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*GovParamCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*GovParamCaller) ParamNames ¶
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 ) view returns(string)
type GovParamCallerRaw ¶
type GovParamCallerRaw struct {
Contract *GovParamCaller // Generic read-only contract binding to access the raw methods on
}
GovParamCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*GovParamCallerRaw) Call ¶
func (_GovParam *GovParamCallerRaw) 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 GovParamCallerSession ¶
type GovParamCallerSession struct {
Contract *GovParamCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
GovParamCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
func (*GovParamCallerSession) Checkpoints ¶
func (_GovParam *GovParamCallerSession) Checkpoints(name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*GovParamCallerSession) GetAllCheckpoints ¶
func (_GovParam *GovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*GovParamCallerSession) GetAllParamNames ¶
func (_GovParam *GovParamCallerSession) GetAllParamNames() ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*GovParamCallerSession) GetAllParams ¶
func (_GovParam *GovParamCallerSession) GetAllParams() ([]string, [][]byte, error)
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*GovParamCallerSession) GetAllParamsAt ¶
func (_GovParam *GovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*GovParamCallerSession) GetParam ¶
func (_GovParam *GovParamCallerSession) GetParam(name string) (bool, []byte, error)
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*GovParamCallerSession) GetParamAt ¶
func (_GovParam *GovParamCallerSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*GovParamCallerSession) Owner ¶
func (_GovParam *GovParamCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*GovParamCallerSession) ParamNames ¶
func (_GovParam *GovParamCallerSession) ParamNames(arg0 *big.Int) (string, error)
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 ) view returns(string)
type GovParamFilterer ¶
type GovParamFilterer struct {
// contains filtered or unexported fields
}
GovParamFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewGovParamFilterer ¶
func NewGovParamFilterer(address common.Address, filterer bind.ContractFilterer) (*GovParamFilterer, error)
NewGovParamFilterer creates a new log filterer instance of GovParam, bound to a specific deployed contract.
func (*GovParamFilterer) FilterOwnershipTransferred ¶
func (_GovParam *GovParamFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GovParamOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*GovParamFilterer) FilterSetParam ¶
func (_GovParam *GovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*GovParamSetParamIterator, error)
FilterSetParam is a free log retrieval operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
func (*GovParamFilterer) ParseOwnershipTransferred ¶
func (_GovParam *GovParamFilterer) ParseOwnershipTransferred(log types.Log) (*GovParamOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*GovParamFilterer) ParseSetParam ¶
func (_GovParam *GovParamFilterer) ParseSetParam(log types.Log) (*GovParamSetParam, error)
ParseSetParam is a log parse operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
func (*GovParamFilterer) WatchOwnershipTransferred ¶
func (_GovParam *GovParamFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GovParamOwnershipTransferred, 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 (*GovParamFilterer) WatchSetParam ¶
func (_GovParam *GovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *GovParamSetParam) (event.Subscription, error)
WatchSetParam is a free log subscription operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
type GovParamOwnershipTransferred ¶
type GovParamOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
GovParamOwnershipTransferred represents a OwnershipTransferred event raised by the GovParam contract.
type GovParamOwnershipTransferredIterator ¶
type GovParamOwnershipTransferredIterator struct {
Event *GovParamOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GovParamOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the GovParam contract.
func (*GovParamOwnershipTransferredIterator) Close ¶
func (it *GovParamOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovParamOwnershipTransferredIterator) Error ¶
func (it *GovParamOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovParamOwnershipTransferredIterator) Next ¶
func (it *GovParamOwnershipTransferredIterator) 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 GovParamRaw ¶
type GovParamRaw struct {
Contract *GovParam // Generic contract binding to access the raw methods on
}
GovParamRaw is an auto generated low-level Go binding around a Kaia contract.
func (*GovParamRaw) Call ¶
func (_GovParam *GovParamRaw) 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 (*GovParamRaw) Transact ¶
func (_GovParam *GovParamRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovParamRaw) Transfer ¶
func (_GovParam *GovParamRaw) 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 GovParamSession ¶
type GovParamSession struct {
Contract *GovParam // 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
}
GovParamSession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
func (*GovParamSession) Checkpoints ¶
func (_GovParam *GovParamSession) Checkpoints(name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*GovParamSession) GetAllCheckpoints ¶
func (_GovParam *GovParamSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*GovParamSession) GetAllParamNames ¶
func (_GovParam *GovParamSession) GetAllParamNames() ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*GovParamSession) GetAllParams ¶
func (_GovParam *GovParamSession) GetAllParams() ([]string, [][]byte, error)
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*GovParamSession) GetAllParamsAt ¶
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*GovParamSession) GetParam ¶
func (_GovParam *GovParamSession) GetParam(name string) (bool, []byte, error)
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*GovParamSession) GetParamAt ¶
func (_GovParam *GovParamSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*GovParamSession) Owner ¶
func (_GovParam *GovParamSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*GovParamSession) ParamNames ¶
func (_GovParam *GovParamSession) ParamNames(arg0 *big.Int) (string, error)
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 ) view returns(string)
func (*GovParamSession) RenounceOwnership ¶
func (_GovParam *GovParamSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GovParamSession) SetParam ¶
func (_GovParam *GovParamSession) SetParam(name string, exists bool, val []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes val, uint256 activation) returns()
func (*GovParamSession) SetParamIn ¶
func (_GovParam *GovParamSession) SetParamIn(name string, exists bool, val []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes val, uint256 relativeActivation) returns()
func (*GovParamSession) TransferOwnership ¶
func (_GovParam *GovParamSession) 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 GovParamSetParam ¶
type GovParamSetParam struct {
Name string
Exists bool
Value []byte
Activation *big.Int
Raw types.Log // Blockchain specific contextual infos
}
GovParamSetParam represents a SetParam event raised by the GovParam contract.
type GovParamSetParamIterator ¶
type GovParamSetParamIterator struct {
Event *GovParamSetParam // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GovParamSetParamIterator is returned from FilterSetParam and is used to iterate over the raw logs and unpacked data for SetParam events raised by the GovParam contract.
func (*GovParamSetParamIterator) Close ¶
func (it *GovParamSetParamIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovParamSetParamIterator) Error ¶
func (it *GovParamSetParamIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovParamSetParamIterator) Next ¶
func (it *GovParamSetParamIterator) 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 GovParamTransactor ¶
type GovParamTransactor struct {
// contains filtered or unexported fields
}
GovParamTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewGovParamTransactor ¶
func NewGovParamTransactor(address common.Address, transactor bind.ContractTransactor) (*GovParamTransactor, error)
NewGovParamTransactor creates a new write-only instance of GovParam, bound to a specific deployed contract.
func (*GovParamTransactor) RenounceOwnership ¶
func (_GovParam *GovParamTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GovParamTransactor) SetParam ¶
func (_GovParam *GovParamTransactor) SetParam(opts *bind.TransactOpts, name string, exists bool, val []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes val, uint256 activation) returns()
func (*GovParamTransactor) SetParamIn ¶
func (_GovParam *GovParamTransactor) SetParamIn(opts *bind.TransactOpts, name string, exists bool, val []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes val, uint256 relativeActivation) returns()
func (*GovParamTransactor) TransferOwnership ¶
func (_GovParam *GovParamTransactor) 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 GovParamTransactorRaw ¶
type GovParamTransactorRaw struct {
Contract *GovParamTransactor // Generic write-only contract binding to access the raw methods on
}
GovParamTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*GovParamTransactorRaw) Transact ¶
func (_GovParam *GovParamTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovParamTransactorRaw) Transfer ¶
func (_GovParam *GovParamTransactorRaw) 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 GovParamTransactorSession ¶
type GovParamTransactorSession struct {
Contract *GovParamTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
GovParamTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
func (*GovParamTransactorSession) RenounceOwnership ¶
func (_GovParam *GovParamTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GovParamTransactorSession) SetParam ¶
func (_GovParam *GovParamTransactorSession) SetParam(name string, exists bool, val []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes val, uint256 activation) returns()
func (*GovParamTransactorSession) SetParamIn ¶
func (_GovParam *GovParamTransactorSession) SetParamIn(name string, exists bool, val []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes val, uint256 relativeActivation) returns()
func (*GovParamTransactorSession) TransferOwnership ¶
func (_GovParam *GovParamTransactorSession) 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 IGovParam ¶
type IGovParam struct {
IGovParamCaller // Read-only binding to the contract
IGovParamTransactor // Write-only binding to the contract
IGovParamFilterer // Log filterer for contract events
}
IGovParam is an auto generated Go binding around a Kaia contract.
func NewIGovParam ¶
NewIGovParam creates a new instance of IGovParam, bound to a specific deployed contract.
type IGovParamCaller ¶
type IGovParamCaller struct {
// contains filtered or unexported fields
}
IGovParamCaller is an auto generated read-only Go binding around a Kaia contract.
func NewIGovParamCaller ¶
func NewIGovParamCaller(address common.Address, caller bind.ContractCaller) (*IGovParamCaller, error)
NewIGovParamCaller creates a new read-only instance of IGovParam, bound to a specific deployed contract.
func (*IGovParamCaller) Checkpoints ¶
func (_IGovParam *IGovParamCaller) Checkpoints(opts *bind.CallOpts, name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*IGovParamCaller) GetAllCheckpoints ¶
func (_IGovParam *IGovParamCaller) GetAllCheckpoints(opts *bind.CallOpts) ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*IGovParamCaller) GetAllParamNames ¶
func (_IGovParam *IGovParamCaller) GetAllParamNames(opts *bind.CallOpts) ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*IGovParamCaller) GetAllParams ¶
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*IGovParamCaller) GetAllParamsAt ¶
func (_IGovParam *IGovParamCaller) GetAllParamsAt(opts *bind.CallOpts, blockNumber *big.Int) ([]string, [][]byte, error)
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*IGovParamCaller) GetParam ¶
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*IGovParamCaller) GetParamAt ¶
func (_IGovParam *IGovParamCaller) GetParamAt(opts *bind.CallOpts, name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*IGovParamCaller) ParamNames ¶
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 idx) view returns(string)
type IGovParamCallerRaw ¶
type IGovParamCallerRaw struct {
Contract *IGovParamCaller // Generic read-only contract binding to access the raw methods on
}
IGovParamCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*IGovParamCallerRaw) Call ¶
func (_IGovParam *IGovParamCallerRaw) 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 IGovParamCallerSession ¶
type IGovParamCallerSession struct {
Contract *IGovParamCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
IGovParamCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
func (*IGovParamCallerSession) Checkpoints ¶
func (_IGovParam *IGovParamCallerSession) Checkpoints(name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*IGovParamCallerSession) GetAllCheckpoints ¶
func (_IGovParam *IGovParamCallerSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*IGovParamCallerSession) GetAllParamNames ¶
func (_IGovParam *IGovParamCallerSession) GetAllParamNames() ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*IGovParamCallerSession) GetAllParams ¶
func (_IGovParam *IGovParamCallerSession) GetAllParams() ([]string, [][]byte, error)
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*IGovParamCallerSession) GetAllParamsAt ¶
func (_IGovParam *IGovParamCallerSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*IGovParamCallerSession) GetParam ¶
func (_IGovParam *IGovParamCallerSession) GetParam(name string) (bool, []byte, error)
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*IGovParamCallerSession) GetParamAt ¶
func (_IGovParam *IGovParamCallerSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*IGovParamCallerSession) ParamNames ¶
func (_IGovParam *IGovParamCallerSession) ParamNames(idx *big.Int) (string, error)
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 idx) view returns(string)
type IGovParamFilterer ¶
type IGovParamFilterer struct {
// contains filtered or unexported fields
}
IGovParamFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewIGovParamFilterer ¶
func NewIGovParamFilterer(address common.Address, filterer bind.ContractFilterer) (*IGovParamFilterer, error)
NewIGovParamFilterer creates a new log filterer instance of IGovParam, bound to a specific deployed contract.
func (*IGovParamFilterer) FilterSetParam ¶
func (_IGovParam *IGovParamFilterer) FilterSetParam(opts *bind.FilterOpts) (*IGovParamSetParamIterator, error)
FilterSetParam is a free log retrieval operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
func (*IGovParamFilterer) ParseSetParam ¶
func (_IGovParam *IGovParamFilterer) ParseSetParam(log types.Log) (*IGovParamSetParam, error)
ParseSetParam is a log parse operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
func (*IGovParamFilterer) WatchSetParam ¶
func (_IGovParam *IGovParamFilterer) WatchSetParam(opts *bind.WatchOpts, sink chan<- *IGovParamSetParam) (event.Subscription, error)
WatchSetParam is a free log subscription operation binding the contract event 0x80044a87a0a45f6cc784a3f48077d58f4eb1e7d78243f85daa43ad7a88b6ba85.
Solidity: event SetParam(string name, bool exists, bytes value, uint256 activation)
type IGovParamParam ¶
IGovParamParam is an auto generated low-level Go binding around an user-defined struct.
type IGovParamRaw ¶
type IGovParamRaw struct {
Contract *IGovParam // Generic contract binding to access the raw methods on
}
IGovParamRaw is an auto generated low-level Go binding around a Kaia contract.
func (*IGovParamRaw) Call ¶
func (_IGovParam *IGovParamRaw) 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 (*IGovParamRaw) Transact ¶
func (_IGovParam *IGovParamRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IGovParamRaw) Transfer ¶
func (_IGovParam *IGovParamRaw) 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 IGovParamSession ¶
type IGovParamSession struct {
Contract *IGovParam // 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
}
IGovParamSession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
func (*IGovParamSession) Checkpoints ¶
func (_IGovParam *IGovParamSession) Checkpoints(name string) ([]IGovParamParam, error)
Checkpoints is a free data retrieval call binding the contract method 0x296451d9.
Solidity: function checkpoints(string name) view returns((uint256,bool,bytes)[])
func (*IGovParamSession) GetAllCheckpoints ¶
func (_IGovParam *IGovParamSession) GetAllCheckpoints() ([]string, [][]IGovParamParam, error)
GetAllCheckpoints is a free data retrieval call binding the contract method 0x5516c21c.
Solidity: function getAllCheckpoints() view returns(string[], (uint256,bool,bytes)[][])
func (*IGovParamSession) GetAllParamNames ¶
func (_IGovParam *IGovParamSession) GetAllParamNames() ([]string, error)
GetAllParamNames is a free data retrieval call binding the contract method 0xcc4783b6.
Solidity: function getAllParamNames() view returns(string[])
func (*IGovParamSession) GetAllParams ¶
func (_IGovParam *IGovParamSession) GetAllParams() ([]string, [][]byte, error)
GetAllParams is a free data retrieval call binding the contract method 0xa170052e.
Solidity: function getAllParams() view returns(string[], bytes[])
func (*IGovParamSession) GetAllParamsAt ¶
func (_IGovParam *IGovParamSession) GetAllParamsAt(blockNumber *big.Int) ([]string, [][]byte, error)
GetAllParamsAt is a free data retrieval call binding the contract method 0x1e31825a.
Solidity: function getAllParamsAt(uint256 blockNumber) view returns(string[], bytes[])
func (*IGovParamSession) GetParam ¶
func (_IGovParam *IGovParamSession) GetParam(name string) (bool, []byte, error)
GetParam is a free data retrieval call binding the contract method 0x5d4f71d4.
Solidity: function getParam(string name) view returns(bool, bytes)
func (*IGovParamSession) GetParamAt ¶
func (_IGovParam *IGovParamSession) GetParamAt(name string, blockNumber *big.Int) (bool, []byte, error)
GetParamAt is a free data retrieval call binding the contract method 0x6a1ec27c.
Solidity: function getParamAt(string name, uint256 blockNumber) view returns(bool, bytes)
func (*IGovParamSession) ParamNames ¶
func (_IGovParam *IGovParamSession) ParamNames(idx *big.Int) (string, error)
ParamNames is a free data retrieval call binding the contract method 0xdb758754.
Solidity: function paramNames(uint256 idx) view returns(string)
func (*IGovParamSession) SetParam ¶
func (_IGovParam *IGovParamSession) SetParam(name string, exists bool, value []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes value, uint256 activation) returns()
func (*IGovParamSession) SetParamIn ¶
func (_IGovParam *IGovParamSession) SetParamIn(name string, exists bool, value []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes value, uint256 relativeActivation) returns()
type IGovParamSetParam ¶
type IGovParamSetParam struct {
Name string
Exists bool
Value []byte
Activation *big.Int
Raw types.Log // Blockchain specific contextual infos
}
IGovParamSetParam represents a SetParam event raised by the IGovParam contract.
type IGovParamSetParamIterator ¶
type IGovParamSetParamIterator struct {
Event *IGovParamSetParam // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
IGovParamSetParamIterator is returned from FilterSetParam and is used to iterate over the raw logs and unpacked data for SetParam events raised by the IGovParam contract.
func (*IGovParamSetParamIterator) Close ¶
func (it *IGovParamSetParamIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IGovParamSetParamIterator) Error ¶
func (it *IGovParamSetParamIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IGovParamSetParamIterator) Next ¶
func (it *IGovParamSetParamIterator) 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 IGovParamTransactor ¶
type IGovParamTransactor struct {
// contains filtered or unexported fields
}
IGovParamTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewIGovParamTransactor ¶
func NewIGovParamTransactor(address common.Address, transactor bind.ContractTransactor) (*IGovParamTransactor, error)
NewIGovParamTransactor creates a new write-only instance of IGovParam, bound to a specific deployed contract.
func (*IGovParamTransactor) SetParam ¶
func (_IGovParam *IGovParamTransactor) SetParam(opts *bind.TransactOpts, name string, exists bool, value []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes value, uint256 activation) returns()
func (*IGovParamTransactor) SetParamIn ¶
func (_IGovParam *IGovParamTransactor) SetParamIn(opts *bind.TransactOpts, name string, exists bool, value []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes value, uint256 relativeActivation) returns()
type IGovParamTransactorRaw ¶
type IGovParamTransactorRaw struct {
Contract *IGovParamTransactor // Generic write-only contract binding to access the raw methods on
}
IGovParamTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*IGovParamTransactorRaw) Transact ¶
func (_IGovParam *IGovParamTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IGovParamTransactorRaw) Transfer ¶
func (_IGovParam *IGovParamTransactorRaw) 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 IGovParamTransactorSession ¶
type IGovParamTransactorSession struct {
Contract *IGovParamTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
IGovParamTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
func (*IGovParamTransactorSession) SetParam ¶
func (_IGovParam *IGovParamTransactorSession) SetParam(name string, exists bool, value []byte, activation *big.Int) (*types.Transaction, error)
SetParam is a paid mutator transaction binding the contract method 0x3f8aa624.
Solidity: function setParam(string name, bool exists, bytes value, uint256 activation) returns()
func (*IGovParamTransactorSession) SetParamIn ¶
func (_IGovParam *IGovParamTransactorSession) SetParamIn(name string, exists bool, value []byte, relativeActivation *big.Int) (*types.Transaction, error)
SetParamIn is a paid mutator transaction binding the contract method 0xb93244a5.
Solidity: function setParamIn(string name, bool exists, bytes value, uint256 relativeActivation) returns()
type Ownable ¶
type Ownable struct {
OwnableCaller // Read-only binding to the contract
OwnableTransactor // Write-only binding to the contract
OwnableFilterer // Log filterer for contract events
}
Ownable is an auto generated Go binding around a Kaia contract.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around a Kaia contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct {
Contract *OwnableCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
OwnableCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, 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 OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct {
Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around a Kaia contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct {
Contract *Ownable // 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
}
OwnableSession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) 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 OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct {
Contract *OwnableTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
OwnableTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()