Neeraj Kashyap
1ff0632c72
Update README.md
2023-08-21 08:54:06 -07:00
Neeraj Kashyap
0a58731479
Merge pull request #72 from bugout-dev/vouchers
...
Added Voucher contract for customer f3bc...
2023-02-23 22:19:55 -08:00
Neeraj Kashyap
8a4bd49ce1
Added Voucher contract for customer f3bc...
2023-02-23 22:18:14 -08:00
Neeraj Kashyap
8911614927
Merge pull request #71 from bugout-dev/terminus-create-pool-v2
...
Added "createSimplePoolV2" on TerminusFacet
2023-02-23 22:01:00 -08:00
Neeraj Kashyap
086dab0181
Deployed Great Wyrm Terminus contract to wyrm chain
2023-02-17 11:18:30 -08:00
Neeraj Kashyap
e836884d7b
TerminusInitializer "init" method must be called by Diamond owner
2023-02-17 11:03:45 -08:00
Neeraj Kashyap
4b198dd3b4
Added "createSimplePoolV2" on TerminusFacet
...
Also made it so that if `requiredPayment` is set to 0 on a Terminus
contract, we will not even initiate the ERC20 `transferFrom`. This makes
it so that a Terminus contract in which the controller does not have to
pay to create a pool does not require setting a payment token.
Bumped dao version to `0.0.8`.
Added tests for `createSimplePoolV2` functionality.
2023-02-17 10:58:31 -08:00
Neeraj Kashyap
2e6cbbe957
Merge pull request #70 from bugout-dev/mint-badges-from-file
...
Some small improvements to badge minting script
2023-01-29 23:10:56 -08:00
Neeraj Kashyap
5599e029a0
Get transaction config up high
2023-01-26 12:31:38 -08:00
ishihssihshihishsi
c2d270060a
Merge pull request #69 from bugout-dev/ishihssihshihishsi-patch-1
...
Update README.md
2023-01-25 20:33:43 +03:00
ishihssihshihishsi
2317fb2433
Update README.md
2023-01-25 20:32:42 +03:00
Neeraj Kashyap
8066d2a8ca
Another improvement
2022-12-14 15:21:58 -08:00
Neeraj Kashyap
c4cff2065c
Merge pull request #68 from bugout-dev/mint-badges-from-file
...
Mint badges from file
2022-12-14 15:10:28 -08:00
Neeraj Kashyap
fe895fcaa7
Fixed logic of mint_badge script
...
Many small things to take care of.
2022-12-13 14:39:09 -08:00
Neeraj Kashyap
a7a802fa99
Added batch minting ability to scripts/mint_batch.py
...
This also adds the ability to read recipients from file.
2022-12-13 13:00:38 -08:00
Neeraj Kashyap
ab3ba566cd
Merge pull request #66 from bugout-dev/test-safe-transfer-from-as-controller-of-another-pool
...
Added tests for safeTransferFrom
2022-11-22 11:54:16 -08:00
Neeraj Kashyap
ef327407c1
Black formatting
2022-11-22 11:26:03 -08:00
Neeraj Kashyap
a28cd7b538
Added tests for safeTransferFrom
...
To clarify roles and the permissions they have for transfers within
specific pools.
2022-11-22 11:10:44 -08:00
Neeraj Kashyap
71261d1bbf
Merge pull request #65 from bugout-dev/fix-mint-batch-exploit
...
Fix for the "mintBatch" exploit
2022-11-22 10:40:24 -08:00
Neeraj Kashyap
8f34b14fb5
Added additional test for mintBatch exploit
...
Inspired by @kompotkot
2022-11-22 08:25:50 -08:00
Neeraj Kashyap
12204c47dd
A fix for the mintBatch vulnerability to bypass pool capacity
2022-11-22 08:18:36 -08:00
Neeraj Kashyap
67a8e7953a
Merge pull request #62 from bugout-dev/mint-badge
...
Mint badge
2022-11-08 10:13:32 -08:00
Neeraj Kashyap
dc5db52633
Badge minting script
2022-10-31 02:54:02 -07:00
Neeraj Kashyap
4b4f64b119
Added badge minting script
2022-09-21 13:41:09 -07:00
Yhtyyar Sahatov
33b301b0e2
Merge pull request #61 from bugout-dev/script-create-pool
...
Added script to create pool on TErminus contracts
2022-09-06 12:00:40 +03:00
Neeraj Kashyap
00b05e06e0
Added script to create pool on TErminus contracts
...
Handles ERC20 allowances as well as setting of pool URI
2022-09-05 17:17:29 -07:00
Neeraj Kashyap
9be851fab9
Merge pull request #59 from bugout-dev/multipool-script
...
Added a multipool Python script
2022-08-26 02:51:18 -07:00
Neeraj Kashyap
186db2d11d
Added a multipool Python script
...
This script makes it easier to operate over a large number of pools at
the same time.
2022-08-05 08:59:21 -07:00
Neeraj Kashyap
5bdecfeaf2
Merge pull request #58 from bugout-dev/terminus-pool-updates-2022-07-29
...
Terminus pool approval improvements
2022-08-02 11:25:21 -07:00
Neeraj Kashyap
446b58c949
Black formatting
2022-08-02 06:53:58 -07:00
Neeraj Kashyap
3596f31a4b
Added tests on TerminusController for pool approvals
2022-08-02 05:57:54 -07:00
Neeraj Kashyap
d8ec1f20c1
Some TODOs
2022-08-02 05:53:12 -07:00
Neeraj Kashyap
efadb09ae0
Added tests for Terminus pool approvals
...
That approved/unapproved operator has appropriate mint/burn permissions
on a Terminus pool.
2022-08-02 05:40:22 -07:00
Neeraj Kashyap
66111c8aab
Changed modifier on approveForPool and unapproveForPool
...
from `onlyMainAdmin` to `onlyPoolController`.
2022-07-29 05:59:06 -07:00
Neeraj Kashyap
b719c9a875
Terminus Controller contract now proxies "isApprovedForPool"
2022-07-29 05:51:08 -07:00
Neeraj Kashyap
a5dbb04a6e
Added "unapproveForPool" on Terminus and...
...
made it so that Terminus Controller contract proxies `approveForPool`
and `unapproveForPool` calls through to its Terminus contract.
2022-07-29 05:49:14 -07:00
Neeraj Kashyap
ac431c9a0e
Merge pull request #56 from bugout-dev/approve-for-pool-minting
...
Approve for pool minting
2022-07-06 10:27:34 -07:00
Yhtyyar Sahatov
565544c1c3
bump of version
2022-07-06 17:54:21 +03:00
Yhtyyar Sahatov
c374c2df6a
fixed mint_batch
2022-07-06 17:54:10 +03:00
Yhtyyar Sahatov
8721eb8bc6
`isApprovedForPool(poolId)` can mint tokens in that pool
2022-07-06 16:41:29 +03:00
Neeraj Kashyap
c2f67793cf
Merge pull request #54 from bugout-dev/add-transferability-burnability-methods
...
Added methods to view and change pool transferability/burnability
2022-07-05 06:06:23 -07:00
Neeraj Kashyap
fc02a5baee
Bumped "dao" version to 0.0.6
2022-07-05 06:04:07 -07:00
Neeraj Kashyap
a37ec24699
Added check for pool controllership on pool parameter setters
...
Transferability and burnability of a pool can only be changed by pool
controller.
2022-07-04 12:03:48 -07:00
Neeraj Kashyap
afa3d3f772
Added methods to view and change pool transferability/burnability
2022-07-04 11:54:53 -07:00
Yhtyyar Sahatov
242bbd1432
Merge pull request #51 from bugout-dev/bump-version-0.0.5
...
Bumped version to 0.0.5
2022-06-13 16:35:27 +03:00
Neeraj Kashyap
c75a074513
Bumped version to 0.0.5
2022-06-13 06:33:35 -07:00
Neeraj Kashyap
d1de6eac60
Merge pull request #48 from bugout-dev/terminus-controller
...
Terminus controller
2022-06-13 06:31:47 -07:00
Yhtyyar Sahatov
2c09628e1a
payments are now done by transferring token to controllet contract
2022-06-13 15:57:40 +03:00
Yhtyyar Sahatov
6c9949e652
payment handling on controller side
2022-06-08 16:37:35 +03:00
Yhtyyar Sahatov
98f82c6dcb
added to cli
2022-06-08 16:10:43 +03:00