Proposal Details

Proposal #489

Passed

Proposal title

Set token creation fee to zero; introduce an alternative spam-prevention mechanism

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

89.35%

Proposal #489 description

Background

In Cosmos ecosystem there are two prevailing fungible token standards, the native token and the CW20. Osmosis is equipped with a “tokenfactory” module which allows anyone (human users or smart contracts) to mint native tokens. This is a much desired feature, as native token is superior than CW20 for many reasons which I will not cover here.

Given that Osmosis currently has a very low gas price, tokenfactory needs a mechanism to deter spamming. This means an attacker creating a massive amount of new tokens that take up nodes’ storage space. It does this by charging a fee, currently set at 10 OSMO, whenever a new token is created. This is known as the

denom_creation_fee
in the code.

The problem

It turns out, that this fee approach makes it harder for smart contracts to integrate with tokenfactory, especially ones that need to repeatedly create new tokens. For example,

  • A lending protocol that issues tokens representing collateral or debt positions, needs to pay the fee each time a new collateral or debt asset is added.

  • A cross-chain transfer protocol that issues voucher tokens, needs to pay the fee the first time a token is transferred.

Such contracts need to allocate a fee pool for these payments and program relevant payment logics, which in many cases is a non-trivial task.

Note that this complexity has nothing to do with how big the fee is. It is there as long as the fee is non-zero.

An alternatie solution

Ethan Frey proposed an alternative spam-prevention approach in this Github issue. It suggests that, instead of charging a fee, charge a large amount of gas instead.

From the perspective of the user who creates a new token, there is no difference from the current approach – they pay the same fee, the only difference being whether it’s a

denom_creation_fee
or a gas fee. However, it makes it much easier for smart contract developers.

This approach has been implemented by Juno and is expected to be included in its v15 upgrade.

This proposal

I proposed that Osmosis does the following:

  • Introduce the same spam-prevention mechanism, in consistency with Juno’s implementation (most importantly, keep the same protobuf message/query API);

  • Set

    denom_creation_fee
    to zero in the UpgradeHandler of the next chain upgrade.

Proposal #489 overview

Total votes
2,222
Voters
2,207
Total deposit
5,000 OSMO

Proposal #489 votes

#

Validator

1Hathor Node
2Meria
3Coinbase_Shutting_Down
4decomm
5Parakeet
6Cypher Core
7MultiChain Ventures
8Inotel
9Earth+ (shutting down, pls redelegate 🌎💙)
10Stakely.io
11strangelove
12artifact
13coinhall.org
14Redelegate to AlphaNodes🛸
15Validatus
16vido.info
17Nocturnal Labs (deprecated)
18SG-1
19Informal Systems
20jabbey
21a41
22iqlusion
23Provalidator
2416psyche
25Lavender.Five Nodes 🐝
26Ethereal Ventures
27Crypto Assassin
28OmniFlix Network
29SHUTDOWN_SOON
30interchain.FM🥩
31Coverlet
32Imperator.co
33Cosmos Spaces ☮️💜⚛️
34wosmongton
35ZKV
36Vitwit (Previously Witval)
37kytzu
38[SHUTTING DOWN] AUDIT.one
39DSRV
40Active Nodes
41Chandra Station
42ztake.org
43Staking Fund | REDELEGATE
44commercio.network
45NosNode🔮
46PLEASE REDELEGATE, SUNSETTING
47validator.network
48Silk Nodes
49REDELEGATE
50🐠stake.fish
51Zenscape
52Frog OSMO
53Ping
54Please Redelegate
55Interbloc
56Binary Builders
57Obi
58StakeThat - autorestake
59Forbole
60Interop
61ChainLayer
62Merkan
63tree-frog
64Figment
65Peregrine
66ushakov
67Sentinel dVPN
68nonce classic
69NodesByGirls ❤️
70Cosmostation
71KDF
72Allnodes
73Stargaze.zone (✨,🔭)
74BouBouNode
75KalpaTech
76StakeLab.zone
77SpacePotato
78Klub Staking
79Nodeify
80SmartNodes
81Golden Ratio Staking
82Oldcat - airdrop DHK every month
83stake.systems | autocompound
84Bored Ape Server
85Blockpower
86FreshSTAKING
87Ledger by Figment
88Please redelegate to 01node new valdiator
89Citadel.one
90Manythings
91Node Guardians
92Levana 🐉 Powered by Cros Nest
93Astroquirks
94Androma DAO
95Atomic Nodes
96Multiplex
97bryanlabs
98GATA HUB
99coaction
100DELIGHT

View: