# Treasury

# Tax Cap

Terra.treasury.tax_cap(denom)

Gets the current registered Tax Cap for a specified denomation.

terra.treasury.tax_cap("ukrw")

# Parameters

Denom
denom
Denomination desired for Tax Cap query.

# Returns

Coin

Tax cap for the specified denomination.

# Tax Rate

Terra.treasury.tax_rate()

Gets the current registered Tax Rate.

terra.treasury.tax_rate() < Dec(0.01) # bool

# Returns

Dec

The current registered Tax Rate.

# Reward Weight

Terra.treasury.reward_weight()

Gets the current registered Reward Weight monetary policy lever.

terra.treasury.reward_weight() < Dec(0.01) # bool

# Returns

Dec

The current registered Reward Weight.

# Tax Proceeds

Terra.treasury.tax_proceeds(denom=None)

Gets the tax proceeds for the epoch, optionally specified by a denomination.

terra.treasury.tax_proceeds() # -> Coins
terra.treasury.tax_proceeds("ukrw") # -> Coin

# Parameters

Denom
denom
optional
Denomination desired for Tax Proceeds query.

# Returns

Coins

Tax proceeds in all denominations.

Coin Tax proceeds in just denomination specified.

# Seigniorage Proceeds

Terra.treasury.seigniorage_proceeds()

Gets the seigniorage proceeds for the epoch.

terra.treasury.seigniorage_proceeds().amount # int

# Returns

Coin

Seigniorage proceeds, in Luna.

# Module Parameters

Terra.treasury.params(key=None)

Gets the current Treasury module's parameters.

terra.treasury.params() # -> dict
terra.treasury.params("window_long") # -> int

# Parameters

str
key
optional

One of "tax_policy", "reward_policy", "seigniorage_burden_target", "mining_increment", "window_short", "window_long", or "window_probation".


# Returns

JiguBox with the following keys:

PolicyConstraints
tax_policy

Current Tax Policy which governs how Tax Rate can be changed.

PolicyConstraints
reward_policy

Current Reward Policy which governs how Reward Weight can be changed.

Dec
seigniorage_burden_target

Factor that determine reward weight.

Dec
mining_increment

Factor that determines reward weight.

int
window_short

Number of epochs defining a short window.

int
window_long

Number of epochs defining a long window.

int
window_probation

Number of epochs defining the probationary period after genesis, during which monetary policy levers Tax Rate and Reward Weight do not change.

Updated on: 2/27/2020, 5:45:33 PM