Versions in this module Expand all Collapse all v0 v0.0.38 May 15, 2024 Changes in this version + const GetExchangeRatesMethod + const GetOracleTwapsMethod + const OracleAddress + func GetABI() abi.ABI + type DenomOracleExchangeRatePair struct + Denom string + OracleExchangeRateVal OracleExchangeRate + type OracleExchangeRate struct + ExchangeRate string + LastUpdate string + LastUpdateTimestamp int64 + type OracleTwap struct + Denom string + LookbackSeconds int64 + Twap string + type Precompile struct + GetExchangeRatesId []byte + GetOracleTwapsId []byte + func NewPrecompile(oracleKeeper pcommon.OracleKeeper, evmKeeper pcommon.EVMKeeper) (*Precompile, error) + func (Precompile) IsTransaction(string) bool + func (p Precompile) Address() common.Address + func (p Precompile) GetName() string + func (p Precompile) RequiredGas(input []byte) uint64 + func (p Precompile) Run(evm *vm.EVM, _ common.Address, _ common.Address, input []byte, value *big.Int, ...) (bz []byte, err error)