Dev Kalra
6fb5ab483d
fix(IEntropy): revealWithCallback comment ( #1404 )
...
* fix reveal comment
* update comment
2024-03-28 14:55:31 +05:30
Dev Kalra
02e196e924
feat(entropy_contracts): don't call an address if it is an Eoa in reveal callback ( #1395 )
...
* don't call an address if it is an Eoa
* fix comment
* update comment
2024-03-28 14:12:36 +05:30
Dev Kalra
d821e01109
feat(entropy-v2): add provider parameter to entropy callback ( #1389 )
...
* add provider parameter to entropy callback
* order
* abis regen
* update version
2024-03-26 18:00:06 +05:30
enjoyooor
eec10a721b
chore: fix nits ( #1350 )
2024-03-12 15:21:03 +00:00
Dev Kalra
e7bf47a18e
feat(entropy-v2): request with callback ( #1342 )
...
* request with callback
* address comments
* pre-commit
* compilation successful
* pre-commit
* add tests
* generate-abis
* pre-commit
* correct version
* address comments
* pre-commit
* remove unused
* add comments
* pre-commit
* gen abi
* naming consistency
* remove gas limit comment
* requestWithCallback comment
* remove unnecessary asserts
* pre commit
* update request with callback coment
* abis regen
* refactor as per feedback
* abi gen
* rename
* implement ientropyconsumer
* gen abi
* comment entropy consumer
* test fix
* add comment
* reintroduce blockhash
* add error for invalid reveal call
* use getEntropy in entropy consumer
* add test for requestAndRevealWithCallback
* pass through for entropy consumer
* pre commit fix
* abi gen
* address comments
* address feedback
* gen abis
* pre commit run
2024-03-12 01:58:57 +05:30
Amin Moghaddam
9e7b6d94ff
feat(per): Per solidity sdk ( #1325 )
...
* feat(per): add solidity sdk
* refactor(evm): refactor abi generator script
* feat(evm): add abi_generator package
2024-02-29 08:10:50 +01:00
Jayant Krishnamurthy
bec2ddfc5d
fix(entropy): Fix doc formatting ( #1314 )
2024-02-23 08:02:25 +01:00
Jayant Krishnamurthy
00e2a024aa
[entropy] Remove warning in SDK docs ( #1309 )
2024-02-21 06:49:03 -08:00
Amin Moghaddam
cfe8d0f777
fix(entropy): Update fortuna domain
2024-02-21 10:39:40 +01:00
Jayant Krishnamurthy
f172adb389
[doc] Provide installation directions for Foundry ( #1274 )
...
By default, foundry expects every library to be a git project. This approach does not work well with SDKs in monorepos (like ours). However, you can also install the dependencies using NPM and then use remappings.txt to point to the SDK. This is a little janky, but it seems to be the recommended approach for this case 🤷
see issue here foundry-rs/foundry#1847
2024-02-01 09:52:31 -08:00
Amin Moghaddam
16b60d426e
Add entropy error signatures for easier access and debugging ( #1259 )
...
* Add entropy error signatures for easier access and debugging
* Add signatures for ExecutorErrors
2024-01-30 11:32:48 +01:00
Dev Kalra
658d7ca032
[entropy] set provider fee and uri ( #1230 )
...
* set provider fee and uri
* update comment
* pre commit
* abis gen
* update tests
2024-01-18 13:55:48 +05:30
Jayant Krishnamurthy
7cf7420203
[entropy] add entropy ABIs to solidity sdk ( #1219 )
2024-01-10 10:57:03 -08:00
Dev Kalra
3565ee627e
point entropy sdk docs to pyth docs for current deployments ( #1199 )
2023-12-21 15:26:26 +05:30
Dev Kalra
3ecbca7daa
[fortuna] update config and abi ( #1187 )
...
* update config and abi
* introduce sepolia later
* update sdk readme
* fix lightlink issue
* update link
2023-12-15 17:30:38 +05:30
Dev Kalra
5d951ee755
[entropy] audit 4. users can influence the Entropy revealed result ( #1179 )
...
* add a check for blockhash
* add comment
* update test name
* comment update
* change block number
* change order for assertions
* pre commit run
* names and comments
2023-12-14 17:57:45 +05:30
Jayant Krishnamurthy
c592fd36ca
[fortuna] Add confirmation delay before responding ( #1161 )
...
* Update abi
* fix tests
* update contract
* fix fortuna
* test confirmation delay
* cleanup
* fix
* split the fields
* saturating sub
* rename
2023-12-04 10:25:00 +01:00
Jayant Krishnamurthy
97bbc8cef9
add authorization for reveal method ( #1156 )
2023-11-30 13:28:00 -08:00
Dev Kalra
ae7610b0ab
[entropy] governance ( #1154 )
...
* governance
* correct comment
* add upgradability
* remove unused lib
* update governance and update logic
* change specifiers
* fix tests
* add tests
* rebase bug fixes
* change error name
* fix tests
* no need of UUPSProxy
* minimise the amount of code
* separate file for authorized tests
* add comment
* correct comment
2023-11-30 16:29:35 +05:30
Jayant Krishnamurthy
b2e4d56d36
[entropy] Entropy gas benchmarks and optimizations ( #1153 )
...
* add gas benchmark
* fix benchmark
* fix benchmark
* fix benchmark
* optimization 1: remove provider
* move to u128 for fees
* update benchmark
* comment
* reduce commitment storage
* optimize storage more
* fix fee fields in state
* hmm
* ok
* fix
* cleanup
* this got out of hand
* test overflow conditions
* fix bad merge
* doc
2023-11-29 14:37:42 -08:00
Jayant Krishnamurthy
a5646bf840
[entropy] Add a default provider ( #1150 )
...
* making a mess here
* add default provider
* cleanup
* test new abi
* add uri to fortuna
* pr comments
2023-11-27 18:40:36 -08:00
Jayant Krishnamurthy
b7a089b51e
[entropy] Change provider interface to simplify supporting many chains ( #1149 )
...
* grr
* cleanup
* fix semver
2023-11-27 07:39:54 -08:00
Jayant Krishnamurthy
c0b383e277
[entropy] add arbitrum goerli ( #1139 )
2023-11-09 13:58:09 -08:00
Jayant Krishnamurthy
8e11d4f442
minor stuff ( #1132 )
2023-11-03 10:04:54 -07:00
Jayant Krishnamurthy
8c35091831
[entropy] Minor updates to parameters / docs ( #1131 )
...
* update parameters
* install instructions
* format stuff
2023-11-01 13:34:47 -07:00
Jayant Krishnamurthy
44ebfbaf55
[entropy] make the SDK public
...
I think I need this field to get NPM to publish this new package.
2023-11-01 12:41:39 -07:00
Jayant Krishnamurthy
f36e868ef6
[entropy] Typescript code for coin flip example + docs ( #1128 )
...
* adding stuff
* add coin flip example
* it works
* docs
* hm
* pr comments
2023-11-01 10:30:04 -07:00
Jayant Krishnamurthy
fe7984d132
[entropy] Rename files ( #1127 )
...
* rename stuff
* fix
* fix
2023-10-31 08:50:15 -07:00
Jayant Krishnamurthy
ddbbe2af14
Entropy Solidity SDK & usage example ( #1124 )
...
* grr
* revert
* ok
* ok
* ok
* deploy script
* implement interface
* doc comments
* fix comment
2023-10-31 06:32:21 -07:00