Wykres commitów

25 Commity (75bf630af93235ba1e31f1166cedf1ec4a2a4bdd)

Autor SHA1 Wiadomość Data
Neeraj Kashyap b3addbb99f Added "setPoolController" external method to "TerminusFacet" 2021-12-24 07:37:37 -08:00
Neeraj Kashyap 016f114fa3 Made "TerminusFacet" usable as a self-contained smart contract 2021-12-24 06:22:09 -08:00
yhtiyar 498fbaa7c7 Merge branch 'main' into faucet 2021-12-23 15:40:54 +03:00
yhtiyar e349d9487e added Faucet for moonstream token 2021-12-23 15:40:02 +03:00
Neeraj Kashyap 39baf061c2 Deployed Terminus diamond to Mumbai testnet 2021-12-22 12:39:34 -08:00
Neeraj Kashyap 6ec5715996 Added pool authorizations for separate addresses 2021-12-22 12:10:32 -08:00
Neeraj Kashyap 973e49526d Added Terminus pool features
0. Capacity
1. Transferable
2. Burnable
2021-12-21 13:05:40 -08:00
Neeraj Kashyap aed0d9584c Added poolCapacity to Terminus
Removed `poolActive`
2021-12-21 11:48:02 -08:00
Neeraj Kashyap 6ad179f452 Added payment functionality to Terminus 2021-12-19 05:07:21 -08:00
Neeraj Kashyap 96829f26bd Added payment token functionality to TerminusFacet 2021-12-19 04:47:24 -08:00
Neeraj Kashyap aeb80d7857 Moonstream token is platform token, not governance token.
Governance will be handled by Terminus pool!
2021-12-19 04:11:18 -08:00
Neeraj Kashyap 2747d63067 Test for pool creation
Also added the `terminusPoolController` view method on the
TerminusFacet.
2021-12-18 12:42:21 -08:00
Neeraj Kashyap aa18d54c6d Deployment test for terminus
ERC20Facet.controller -> ERC20Facet.moonstreamController

TerminusFacet.controller -> TerminusFacet.terminusController

When both facets had view methods of the same name, `dao.core.facet_cut`
was not mounting the `TerminusFacet.controller` method to the diamond
because of its precedence rules.
2021-12-18 12:30:09 -08:00
Neeraj Kashyap cad68dcfa8 Added controller view methods on ERC20Facet and TerminusFacet 2021-12-18 12:25:54 -08:00
Neeraj Kashyap 7b3bd5d255 Added external "totalPools" and "createPool" on TerminusFacet 2021-12-18 12:20:55 -08:00
Neeraj Kashyap 87faf3db00 Terminus smart contracts
This represents the very first draft of Terminus.
2021-12-18 12:10:53 -08:00
Neeraj Kashyap b323c590d5 Removed "getController" method from LibERC20
It is useless.
2021-12-18 12:10:28 -08:00
Neeraj Kashyap 2c1140545c Renamed directory contracts/erc20 -> contracts/moonstream 2021-12-18 10:41:34 -08:00
Neeraj Kashyap 7b832c785b Added ERC20 initialization when facet is cut onto diamond
[WIP] ERC20 deployment checklist template
[WIP] clean up code a bit
2021-12-17 13:01:51 -08:00
Neeraj Kashyap 3ac420c409 ERC20 implementation 2021-12-17 10:28:34 -08:00
Neeraj Kashyap fe3a1e8634 Added ERC20WithCommonStorage 2021-12-17 08:30:40 -08:00
Neeraj Kashyap f3e9baac91 [WIP] ERC20 with library storage implementation 2021-12-16 06:38:12 -08:00
Neeraj Kashyap e45e904416 Removed DiamondInit stuff 2021-12-12 13:35:59 -08:00
Neeraj Kashyap e1038671f0 Updated comments in Diamond contracts code
Removed TestFacets
2021-12-11 18:53:12 -08:00
Neeraj Kashyap 98e4547561 Added Diamond contracts
From: https://github.com/mudgen/diamond-3-hardhat
2021-12-11 18:47:41 -08:00