Documentation
¶
Index ¶
- Constants
- func AdjustDollarState(ctx context.Context, addressCodec address.Codec, bankKeeper bankkeeper.Keeper, ...) error
- func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
- func CreateUpgradeHandler(mm *module.Manager, cfg module.Configurator, addressCodec address.Codec, ...) upgradetypes.UpgradeHandler
Constants ¶
const TestnetChainID = "grand-1"
TestnetChainID is the Chain ID of the Noble testnet.
const UpgradeName = "v9.0.0-rc.2"
UpgradeName is the name of this specific software upgrade used on-chain.
Variables ¶
This section is empty.
Functions ¶
func AdjustDollarState ¶
func AdjustDollarState(ctx context.Context, addressCodec address.Codec, bankKeeper bankkeeper.Keeper, dollarKeeper *dollarkeeper.Keeper) error
AdjustDollarState adjusts the Noble Dollar state based off actions performed on testnet.
https://sepolia.etherscan.io/tx/0x7984b13be07b1a9efab3f703d3dcef95136ef8c343d105b88729ea033c36cfe3 https://www.mintscan.io/noble-testnet/tx/A9AD688F29B051B68D5A0DBDF52A42610EC0FB0F37ADCD91AC9784C15C611D1A -> Mint 1 $USDN: Index = 1.036361460246, Total Principal = 964914, Total Yield Accrued = 0
https://sepolia.etherscan.io/tx/0xa8dab049984caf08747ff01c79f80112b08dcce446f5f8a40a76227a3a8d1cb3 https://www.mintscan.io/noble-testnet/tx/507CA5B75F6DBC4BA296E23C4A646BFD90A1966F658A1C478915FC85F6B7478C -> Update Index: Index = 1.036395670985, Total Principal = 964914, Total Yield Accrued = 32
https://sepolia.etherscan.io/tx/0x37073323d295d60b0275d1ab631d8c7b7f0af31f09f6fc43f23c076d5d53a1ed https://www.mintscan.io/noble-testnet/tx/DC8B3D3CF494A9FE507931C0F092674A56BC82BDC1F0B7FE53658A1AD9148BA7 -> Update Index: Index = 1.037503387862, Total Principal = 964914, Total Yield Accrued = 1101
https://sepolia.etherscan.io/tx/0xcf3412eaa0beb24f8cb08ddcd9af43abf4034195b5108f70a6a7b95a79e596ae Delivered via Jester in block #23130168 -> Update Index: Index = 1.037690277684, Total Principal = 964914, Total Yield Accrued = 1281
https://sepolia.etherscan.io/tx/0xa913bf0e9b5a2fa578cf28e001bb3ca277ba9dce673724ac4ccb7ce09fe8a0af Delivered via Jester in block #23130243 -> Mint 1 $USDN: Index = 1.037690850231, Total Principal = 1928592, Total Yield Accrued = 1282
https://www.mintscan.io/noble-testnet/tx/458B008D1614731AFC5E1795C2B7EA5CCF1025CE974BF36D7C4FEEA4747A6E33 https://sepolia.etherscan.io/tx/0xec6c95c7a34d57d62e8827181f174ead915a0423463a43296b41fdb6550f807b -> Burn 1 $USDN: Index = 1.037690850231, Total Principal = 964914, Total Yield Accrued = 1282
https://sepolia.etherscan.io/tx/0xf0756978c39ea02f13ff745d347b20fb11aa15b36a2200536d4701820465e035 Delivered via Jester in block #23192359 -> Update Index: Index = 1.037824814971, Total Principal = 964914, Total Yield Accrued = 1411
func CreateStoreLoader ¶
func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, cfg module.Configurator, addressCodec address.Codec, bankKeeper bankkeeper.Keeper, dollarKeeper *dollarkeeper.Keeper, ) upgradetypes.UpgradeHandler
Types ¶
This section is empty.