package
0.0.0-20250108125741-e95afb000453
Repository: https://github.com/evmos/os.git
Documentation: pkg.go.dev

# Functions

ApproveProposal is a helper function to vote 'yes' for it and wait till it passes.
CheckBalances checks that the given accounts have the expected balances and returns an error if that is not the case.
CheckTxTopics checks if all expected topics are present in the transaction response.
ContainsEventType returns true if the given events contain the given eventType.
CreateGenesisWithTokenPairs creates a genesis that includes the WEVMOS and the provided denoms.
DecodeContractCallResponse decodes the response of a contract call query.
No description provided by the author
FundAccountWithBaseDenom funds the given account with the given amount of the network's base denomination.
GetERC20Balance returns the token balance of a given account address for an ERC-20 token at the given contract address.
GetEventAttributeValue returns the value for the required attribute key.
GetEventType returns the given events if found Otherwise returns nil.
GetFeesFromEvents returns the fees value for the specified events.
RegisterERC20 is a helper function to register ERC20 token through submitting a governance proposal and having it pass.
RegisterEvmosERC20Coins uses the UnitNetwork to register the evmos token as an ERC20 token.
RegisterIBCERC20Coins uses the UnitNetwork to register the denomTrace as an ERC20 token.
SubmitLegacyProposal is a helper function to submit a governance proposal and return the proposal ID.
SubmitProposal is a helper function to submit a governance proposal and return the proposal ID.
ToggleTokenConversion is a helper function to toggle an ERC20 token pair conversion through submitting a governance proposal and having it pass.
UpdateERC20Params helper function to update the erc20 module parameters It submits an update params proposal, votes for it, and waits till it passes.
UpdateEvmParams helper function to update the EVM module parameters It submits an update params proposal, votes for it, and waits till it passes.
UpdateFeeMarketParams helper function to update the feemarket module parameters It submits an update params proposal, votes for it, and waits till it passes.
UpdateGovParams helper function to update the governance module parameters It submits an update params proposal, votes for it, and waits till it passes.
No description provided by the author
VoteOnProposal is a helper function to vote on a governance proposal given the private key of the voter and the option to vote.
WaitToAccrueCommission is a helper function that waits for commission to accumulate up to a specified expected amount.
WaitToAccrueRewards is a helper function that waits for rewards to accumulate up to a specified expected amount.

# Constants

No description provided by the author

# Structs

ERC20RegistrationData is the necessary data to provide in order to register an ERC20 token.
No description provided by the author