Tim Pechersky
c447e605da
enumerating starts with 1 to skip zero index
2022-02-24 22:50:16 +00:00
Tim Pechersky
33deab237c
annotation
2022-02-16 15:43:46 +00:00
Tim Pechersky
8ddddc6bc6
indexing corrected
2022-02-16 15:32:56 +00:00
Tim Pechersky
125a90fd39
enumeration offset
2022-02-15 23:05:37 +00:00
Tim Pechersky
9d4267f1d0
tests wip
2022-02-15 21:15:48 +00:00
Tim Pechersky
0c759b9e38
updates
2022-02-15 13:54:21 +00:00
Tim Pechersky
30c516e7f2
updates
2022-02-14 14:35:36 +00:00
Tim Pechersky
10f1ffb023
ERC1155 enumerable approach
2022-02-14 13:49:40 +00:00
Tim Pechersky
5c0396d10e
enumerable mapping of pool controllers
2022-02-10 13:02:29 +00:00
Tim Pechersky
b1bf65fb2a
return array with all pool ids that controller owns
2022-02-10 05:07:07 +00:00
Tim Pechersky
ec0ce83c24
return sliced array
2022-02-10 04:50:47 +00:00
Tim Pechersky
cf5ab5a98e
removed comment
2022-02-10 04:46:41 +00:00
Tim Pechersky
4e13b393d0
get pools by controller
2022-02-10 04:45:16 +00:00
Neeraj Kashyap
dce2f2e118
added setController ot TerminusFacet
2022-02-01 06:35:41 -08:00
Neeraj Kashyap
e1a1828e6b
Pool creation can only be done by controller now.
...
Fixes a vulnerability related to Open Sea.
2022-02-01 06:17:07 -08:00
Neeraj Kashyap
98bd1c7248
Added contract metadata functionality to "TerminusFacet"
...
To better integrate with platforms like Open Sea.
2022-01-24 22:32:09 -08:00
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
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