tests

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationTestSuite

type IntegrationTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewIntegrationTestSuite

func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite

func (*IntegrationTestSuite) SetupSuite

func (s *IntegrationTestSuite) SetupSuite()

func (*IntegrationTestSuite) TearDownSuite

func (s *IntegrationTestSuite) TearDownSuite()

func (*IntegrationTestSuite) TestCmdAvailableBorrow

func (s *IntegrationTestSuite) TestCmdAvailableBorrow()

func (*IntegrationTestSuite) TestCmdBorrow

func (s *IntegrationTestSuite) TestCmdBorrow()

func (*IntegrationTestSuite) TestCmdLend

func (s *IntegrationTestSuite) TestCmdLend()

func (*IntegrationTestSuite) TestCmdLiquidate

func (s *IntegrationTestSuite) TestCmdLiquidate()

func (*IntegrationTestSuite) TestCmdRepay

func (s *IntegrationTestSuite) TestCmdRepay()

func (*IntegrationTestSuite) TestCmdWithdraw

func (s *IntegrationTestSuite) TestCmdWithdraw()

func (*IntegrationTestSuite) TestQueryAllRegisteredTokens

func (s *IntegrationTestSuite) TestQueryAllRegisteredTokens()

func (*IntegrationTestSuite) TestQueryBorrowAPY

func (s *IntegrationTestSuite) TestQueryBorrowAPY()

func (*IntegrationTestSuite) TestQueryBorrowLimit

func (s *IntegrationTestSuite) TestQueryBorrowLimit()

func (*IntegrationTestSuite) TestQueryBorrowed

func (s *IntegrationTestSuite) TestQueryBorrowed()

func (*IntegrationTestSuite) TestQueryCollateral

func (s *IntegrationTestSuite) TestQueryCollateral()

func (*IntegrationTestSuite) TestQueryCollateralSetting

func (s *IntegrationTestSuite) TestQueryCollateralSetting()

func (*IntegrationTestSuite) TestQueryExchangeRate

func (s *IntegrationTestSuite) TestQueryExchangeRate()

func (*IntegrationTestSuite) TestQueryLendAPY

func (s *IntegrationTestSuite) TestQueryLendAPY()

func (*IntegrationTestSuite) TestQueryMarketSize

func (s *IntegrationTestSuite) TestQueryMarketSize()

func (*IntegrationTestSuite) TestQueryParams

func (s *IntegrationTestSuite) TestQueryParams()

func (*IntegrationTestSuite) TestQueryReserveAmount

func (s *IntegrationTestSuite) TestQueryReserveAmount()

func (*IntegrationTestSuite) UpdateRegistry

func (s *IntegrationTestSuite) UpdateRegistry(
	clientCtx client.Context,
	content *types.UpdateRegistryProposal,
	deposit sdk.Coins,
	extraArgs ...string,
)

UpdateRegistry submits an UpdateRegistryProposal governance proposal with a deposit and automatically votes yes on it. It will wait until the proposal passes prior to returning. Note, the extraArgs are passed into the proposal creation command along with the vote command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL