Wanseob Lim
|
cf3c8edf68
|
Merge branch 'misc-fixes' into feat/239
|
2021-07-10 13:56:33 +09:00 |
|
Chance Hudson
|
571ef9a1f1
|
fix: use header hash in safe propose
|
2021-07-07 10:54:11 -05:00 |
|
Chance Hudson
|
07c47cb4d6
|
fix: revert on check fail
|
2021-07-07 10:54:10 -05:00 |
|
Chance Hudson
|
551a6e6c93
|
fix: safePropose in proxy
|
2021-07-07 10:54:10 -05:00 |
|
Chance Hudson
|
dc6d4d4d25
|
feat: safePropose contract function
|
2021-07-07 10:54:09 -05:00 |
|
Wanseob Lim
|
3523fbbe8f
|
feat: utxo discovery + fix memo v2 deserialization
|
2021-07-02 01:55:20 +09:00 |
|
Wanseob Lim
|
d0a5e003a5
|
feat: implement flexible memo field; closes #218
|
2021-06-30 21:17:18 +09:00 |
|
Wanseob Lim
|
377d38c5c5
|
feat: deposit discovery using spending pub key
|
2021-06-28 21:37:12 +09:00 |
|
Chance Hudson
|
08d680760d
|
feat: StakeChanged contract event, use isProposable from Coordinatable to prevent block propose failure
|
2021-06-25 13:44:42 -05:00 |
|
Chance Hudson
|
5912997956
|
fix: bind isStaked in proxy
|
2021-06-24 10:57:27 -05:00 |
|
Chance Hudson
|
b0f1959aa9
|
fix: add isStaked contract method
only bid on auctions if staked
only finalize or mass deposit if staked
|
2021-06-23 23:30:00 -05:00 |
|
Wanseob Lim
|
8ee9ff2e64
|
update generated abis
|
2021-06-02 18:00:12 +09:00 |
|
Chance Hudson
|
f4dc5b86db
|
fix: implement onERC721Received, capitalization
|
2021-05-26 09:58:27 -05:00 |
|
Wanseob Lim
|
c0d3b2b4fa
|
fix(contracts): mass migration finalization error; closes #224
|
2021-05-26 23:49:09 +09:00 |
|
Wanseob Lim
|
2527879a22
|
chore: remove duplicated require statements
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
c43d2f1c36
|
chore: wrap with if statement for gas saving
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
5f678f70ff
|
fix: consolidating codes to reduce gas cost
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
58ceaab2d5
|
fix: typo
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
2e9a121592
|
chore: remove outdated comments
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
9d0f26939f
|
chore: remove duplicated code
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
de0445266e
|
feat: prepay expiration + typed sig; closes #203
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
309a674570
|
fix: use safeTransfer
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
162fab2eb2
|
fix: change massmigration from push to pull pattern; closes #201
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
2b41d46d4a
|
fix: massmigration hash func bug
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
3f5175b988
|
fix: check registered token before deposit
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
4aa028f079
|
fix: add renounceOwnership code to the completeSetup()
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
6d2a065b71
|
fix: possible reentrancy codes
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
e74d743e0e
|
fix: add a challenge to catch missed migration; closes #200
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
e82a61e8ae
|
fix: support ERC20s that does not return transfer result
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
99772580a5
|
fix: use standard merkle tree spec; closes #194
|
2021-05-10 18:14:43 +09:00 |
|
Wanseob Lim
|
136a5266c9
|
fix: typo
|
2021-04-20 17:14:21 +09:00 |
|
Wanseob Lim
|
fca1898f6e
|
refactor(contracts): add solidity prettier
|
2021-03-22 19:59:06 +09:00 |
|
Wanseob Lim
|
288b0655e2
|
fix: update poseidon hash bug
|
2021-03-22 16:54:21 +09:00 |
|
Wanseob Lim
|
e44ce2be1c
|
Merge branch 'auction-bidding-fix' of https://github.com/JChanceHud/zkopru into audit-fix
|
2021-03-21 04:16:22 +09:00 |
|
Chance Hudson
|
482e113cde
|
chore: min bid validity test
|
2021-03-19 13:38:47 -05:00 |
|
Chance Hudson
|
c06cb97616
|
refactor: remove 10% min bid increase
|
2021-03-19 12:45:07 -05:00 |
|
Chance Hudson
|
05ce60f092
|
docs: comment burn auction contract
|
2021-03-15 08:59:49 +09:00 |
|
Wanseob Lim
|
742a4ada94
|
refactor: bumpup solidity compiler to 0.7.4
|
2021-03-10 03:58:46 +09:00 |
|
Wanseob Lim
|
fa7b6a57ad
|
fix: reentrancy code in withdraw reward
|
2021-03-10 00:04:25 +09:00 |
|
Wanseob Lim
|
b626813e10
|
fix: reentrancy code in withdraw
|
2021-03-10 00:03:59 +09:00 |
|
Wanseob Lim
|
ea49b73f2a
|
feat: implement prepay fee for instant withdrawal
|
2021-02-24 01:55:30 +09:00 |
|
Wanseob Lim
|
84ae63182d
|
refactor: use explicit var name(fee -> callerFee)
|
2021-02-24 01:55:30 +09:00 |
|
Wanseob Lim
|
db8d9efd9f
|
fix: withdraw caller fee logic; closes #170
|
2021-02-24 01:55:30 +09:00 |
|
Wanseob Lim
|
ecc89d4ce5
|
feat: add some read functions to the Reader.sol contract
|
2021-01-14 22:36:58 +09:00 |
|
Chance Hudson
|
a1f9765d4c
|
fix: check address against zkopru consensus provider
|
2021-01-12 16:19:46 +09:00 |
|
Chance Hudson
|
de998e9902
|
fix: revert on invalid block query, make zkopru public
|
2021-01-11 11:34:42 +09:00 |
|
Chance Hudson
|
5e21ad6a72
|
fix: better underflow handling
|
2021-01-08 13:25:38 +09:00 |
|
Chance Hudson
|
798c189bf3
|
feat: auction balance refund
|
2020-12-29 10:37:37 -06:00 |
|
Chance Hudson
|
cb06b0f1a7
|
refactor: revert stake price
|
2020-12-28 21:36:36 -06:00 |
|
Chance Hudson
|
f2c458c24d
|
refactor: reduce stake requirement, add kovan testnet
|
2020-12-28 21:20:36 -06:00 |
|