Developers
Constants

Constants

NameValueDescription
sdk.DefaultPowerReduction1e18The staking power is equal the number of staked-token coins divided by this number (to prevent overflow). This number typically denotes how many of the staked-token denom are considered to be equal to one canonical token.

Module Accounts

In Cosmos-SDK, a module account is an account with address generated by hashing a string. The module account has no known private key and is therefore only controlled by the state-machine and governance. Here we list the module account addresses (assuming the default HRP of dydx) and the hashed string that results in the address.

ModuleNameAddressString
x/authFee Collectordydx17xpfvakm2amg962yls6f84z3kell8c5leqdyt2"fee_collector"
x/bridgeBridge Moduledydx1zlefkpe3g0vvm9a4h0jf9000lmqutlh9jwjnsv"bridge"
x/distributionDistribution Moduledydx1jv65s3grqf6v6jl3dp4t6c9t9rk99cd8wx2cfg"distribution"
x/stakingBonded Pooldydx1fl48vsnmsdzcv85q5d2q4z5ajdha8yu3uz8teq"bonded_tokens_pool"
x/stakingNot-Bonded Pooldydx1tygms3xhhs3yv487phx3dw4a95jn7t7lgzm605"not_bonded_tokens_pool"
x/govGov Moduledydx10d07y265gmmuvt4z0w9aw880jnsr700jnmapky"gov"
x/ibcIBC Moduledydx1yl6hdjhmkf37639730gffanpzndzdpmh8xcdh5"transfer"
x/subaccountsSubaccounts Moduledydx1v88c3xv9xyv3eetdx0tvcmq7ung3dywp5upwc6"subaccounts"
x/clobInsurance Funddydx1c7ptc87hkd54e3r7zjy92q29xkq7t79w64slrq"insurance_fund"
x/rewardsRewards Treasurydydx16wrau2x4tsg033xfrrdpae6kxfn9kyuerr5jjp"rewards_treasury"
x/rewardsRewards Vesterdydx1ltyc6y4skclzafvpznpt2qjwmfwgsndp458rmp"rewards_vester"
x/vestCommunity Treasurydydx15ztc7xy42tn2ukkc0qjthkucw9ac63pgp70urn"community_treasury"
x/vestCommunity Vesterdydx1wxje320an3karyc6mjw4zghs300dmrjkwn7xtk"community_vester"