Documentation ¶
Index ¶
- func GetKeeperGasMultiplier(blockNumber *big.Int) uint64
- func GetMaximumMintRequest(blockNumber *big.Int) *big.Int
- func GetPrioritisedFTSOContract(blockTime *big.Int) string
- func GetSystemTriggerContractAddr(blockNumber *big.Int) string
- func GetSystemTriggerSelector(blockNumber *big.Int) []byte
- type EVMCaller
- type ErrInvalidKeeperData
- type ErrKeeperDataEmpty
- type ErrMaxMintExceeded
- type ErrMintNegative
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeeperGasMultiplier ¶
Define maximums that can change by block height
Types ¶
type EVMCaller ¶
type EVMCaller interface { Call(caller vm.ContractRef, addr common.Address, input []byte, gas uint64, value *big.Int) (ret []byte, leftOverGas uint64, err error) GetBlockNumber() *big.Int GetGasLimit() uint64 AddBalance(addr common.Address, amount *big.Int) }
Define interface for dependencies
type ErrInvalidKeeperData ¶
type ErrInvalidKeeperData struct{}
Define errors
func (*ErrInvalidKeeperData) Error ¶
func (e *ErrInvalidKeeperData) Error() string
type ErrKeeperDataEmpty ¶
type ErrKeeperDataEmpty struct{}
func (*ErrKeeperDataEmpty) Error ¶
func (e *ErrKeeperDataEmpty) Error() string
type ErrMaxMintExceeded ¶
type ErrMaxMintExceeded struct {
// contains filtered or unexported fields
}
func (*ErrMaxMintExceeded) Error ¶
func (e *ErrMaxMintExceeded) Error() string
type ErrMintNegative ¶
type ErrMintNegative struct{}
func (*ErrMintNegative) Error ¶
func (e *ErrMintNegative) Error() string
Click to show internal directories.
Click to hide internal directories.