-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from firstbatchxyz/caglacelik/pr-fixes
update docs + readme
- Loading branch information
Showing
22 changed files
with
492 additions
and
879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
# Deployer key (REQUIRED) | ||
PUBLIC_KEY= | ||
|
||
### Base URLs ### | ||
# Mainnet | ||
BASE_MAIN_RPC_URL= | ||
|
||
# Testnet | ||
BASE_TEST_RPC_URL=https://sepolia.base.org | ||
|
||
# Blockscout API Key (RQUIRED FOR CONTRACT VERIFICATION) | ||
# Foundry expects the API key to be defined as ETHERSCAN_API_KEY | ||
ETHERSCAN_API_KEY= | ||
# API KEY (REQUIRED FOR CONTRACT VERIFICATION) | ||
ETHERSCAN_API_KEY=CHANGE_ME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,41 @@ | ||
BuyerAgentTest:test_InBuyPhase() (gas: 182615337) | ||
BuyerAgentTest:test_InSellPhase() (gas: 182593663) | ||
BuyerAgentTest:test_RevertWhen_SetAmountPerRoundInBuyPhase() (gas: 182596518) | ||
BuyerAgentTest:test_RevertWhen_SetFeeWithInvalidRoyalty() (gas: 182603480) | ||
BuyerAgentTest:test_RevertWhen_SetRoyaltyInSellPhase() (gas: 182595095) | ||
BuyerAgentTest:test_RevertWhen_WithdrawByAnotherOwner() (gas: 182621624) | ||
BuyerAgentTest:test_RevertWhen_WithdrawInBuyPhase() (gas: 182608980) | ||
BuyerAgentTest:test_SetRoyaltyAndAmountPerRound() (gas: 182604536) | ||
BuyerAgentTest:test_WithdrawInWithdrawPhase() (gas: 182585003) | ||
DeployTest:test_Deploy() (gas: 101371) | ||
LLMOracleCoordinatorTest:test_Deployment() (gas: 86478543) | ||
LLMOracleCoordinatorTest:test_RegisterOracles() (gas: 86763309) | ||
LLMOracleCoordinatorTest:test_ValidatorIsGenerator() (gas: 87180676) | ||
LLMOracleCoordinatorTest:test_WithValidation() (gas: 87839545) | ||
LLMOracleCoordinatorTest:test_WithoutValidation() (gas: 87420651) | ||
LLMOracleRegistryTest:test_Deployment() (gas: 18798876) | ||
LLMOracleRegistryTest:test_RegisterGeneratorOracle() (gas: 19137915) | ||
LLMOracleRegistryTest:test_RegisterValidatorOracle() (gas: 19137984) | ||
LLMOracleRegistryTest:test_RevertWhen_RegisterSameGeneratorTwice() (gas: 19141313) | ||
LLMOracleRegistryTest:test_RevertWhen_RegistryHasNotApprovedByOracle() (gas: 18938187) | ||
LLMOracleRegistryTest:test_RevertWhen_UnregisterSameGeneratorTwice() (gas: 19157453) | ||
LLMOracleRegistryTest:test_UnregisterOracle() (gas: 19154341) | ||
LLMOracleRegistryTest:test_WithdrawStakesAfterUnregistering() (gas: 19179317) | ||
SwanIntervalsTest:test_ChangeCycleTime() (gas: 184999199) | ||
SwanIntervalsTest:test_InBuyPhase() (gas: 182573254) | ||
SwanIntervalsTest:test_InSellPhase() (gas: 182568456) | ||
SwanIntervalsTest:test_InWithdrawPhase() (gas: 182576467) | ||
SwanTest:test_CreateBuyerAgents() (gas: 183760248) | ||
SwanTest:test_Deployment() (gas: 179280562) | ||
SwanTest:test_PurchaseAnAsset() (gas: 188748932) | ||
SwanTest:test_RelistAsset() (gas: 187998184) | ||
SwanTest:test_RevertWhen_CreateBuyerWithInvalidRoyalty() (gas: 179349648) | ||
SwanTest:test_RevertWhen_ListInWithdrawPhase() (gas: 183823955) | ||
SwanTest:test_RevertWhen_ListMoreThanMaxAssetCount() (gas: 187892487) | ||
SwanTest:test_RevertWhen_PurchaseByAnotherBuyer() (gas: 187906998) | ||
SwanTest:test_RevertWhen_PurchaseInSellPhase() (gas: 187890335) | ||
SwanTest:test_RevertWhen_PurchaseMoreThanAmountPerRound() (gas: 188775426) | ||
SwanTest:test_RevertWhen_RelistAlreadyPurchasedAsset() (gas: 188743009) | ||
SwanTest:test_RevertWhen_RelistByAnotherSeller() (gas: 187888798) | ||
SwanTest:test_RevertWhen_RelistInBuyPhase() (gas: 187920803) | ||
SwanTest:test_RevertWhen_RelistInTheSameRound() (gas: 187893814) | ||
SwanTest:test_RevertWhen_RelistInWithdrawPhase() (gas: 187920820) | ||
SwanTest:test_SetAmountPerRound() (gas: 183801616) | ||
SwanTest:test_SetFactories() (gas: 183318192) | ||
SwanTest:test_SetMarketParameters() (gas: 183900237) | ||
SwanTest:test_SetOracleParameters() (gas: 183743049) | ||
SwanTest:test_UpdateState() (gas: 189350579) | ||
BuyerAgentTest:test_InBuyPhase() (gas: 4504258) | ||
BuyerAgentTest:test_InSellPhase() (gas: 4472291) | ||
BuyerAgentTest:test_RevertWhen_SetAmountPerRoundInBuyPhase() (gas: 4483755) | ||
BuyerAgentTest:test_RevertWhen_SetFeeWithInvalidRoyalty() (gas: 4492886) | ||
BuyerAgentTest:test_RevertWhen_SetRoyaltyInSellPhase() (gas: 4473243) | ||
BuyerAgentTest:test_RevertWhen_WithdrawByAnotherOwner() (gas: 4504563) | ||
BuyerAgentTest:test_RevertWhen_WithdrawInBuyPhase() (gas: 4511184) | ||
BuyerAgentTest:test_SetRoyaltyAndAmountPerRound() (gas: 4494097) | ||
BuyerAgentTest:test_WithdrawInWithdrawPhase() (gas: 4474465) | ||
DeployTest:test_Deploy() (gas: 101342) | ||
InvariantTest:invariant_AssetPriceRange() (runs: 256, calls: 128000, reverts: 114801) | ||
InvariantTest:invariant_BuyerAgentFeeRoyalty() (runs: 256, calls: 128000, reverts: 114890) | ||
InvariantTest:invariant_MaxAssetCount() (runs: 256, calls: 128000, reverts: 115004) | ||
InvariantTest:invariant_OwnerIsAnOperator() (runs: 256, calls: 128000, reverts: 114875) | ||
SwanFuzz:testFuzz_CalculateRoyalties(uint256,uint256,uint256) (runs: 256, μ: 4478247, ~: 4478369) | ||
SwanFuzz:testFuzz_ChangeCycleTime(uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 6920247, ~: 6921025) | ||
SwanFuzz:testFuzz_ListAsset(string,string,bytes,uint256,string,string,uint96,uint256) (runs: 256, μ: 3922593, ~: 3933255) | ||
SwanFuzz:testFuzz_TransferOwnership(address) (runs: 256, μ: 45378, ~: 45378) | ||
SwanIntervalsTest:test_InBuyPhase() (gas: 4484235) | ||
SwanIntervalsTest:test_InSellPhase() (gas: 4472621) | ||
SwanIntervalsTest:test_InWithdrawPhase() (gas: 4488191) | ||
SwanTest:test_CreateBuyerAgents() (gas: 5663905) | ||
SwanTest:test_PurchaseAnAsset() (gas: 11220979) | ||
SwanTest:test_RelistAsset() (gas: 10183767) | ||
SwanTest:test_RevertWhen_CreateBuyerWithInvalidRoyalty() (gas: 1619856) | ||
SwanTest:test_RevertWhen_ListInWithdrawPhase() (gas: 5743065) | ||
SwanTest:test_RevertWhen_ListMoreThanMaxAssetCount() (gas: 10051316) | ||
SwanTest:test_RevertWhen_PurchaseByAnotherBuyer() (gas: 10073950) | ||
SwanTest:test_RevertWhen_PurchaseInSellPhase() (gas: 10048903) | ||
SwanTest:test_RevertWhen_PurchaseMoreThanAmountPerRound() (gas: 11265761) | ||
SwanTest:test_RevertWhen_RelistAlreadyPurchasedAsset() (gas: 11222356) | ||
SwanTest:test_RevertWhen_RelistByAnotherSeller() (gas: 10059833) | ||
SwanTest:test_RevertWhen_RelistInBuyPhase() (gas: 10094987) | ||
SwanTest:test_RevertWhen_RelistInTheSameRound() (gas: 10052006) | ||
SwanTest:test_RevertWhen_RelistInWithdrawPhase() (gas: 10094678) | ||
SwanTest:test_SetAmountPerRound() (gas: 5720554) | ||
SwanTest:test_SetFactories() (gas: 5172073) | ||
SwanTest:test_SetMarketParameters() (gas: 5843489) | ||
SwanTest:test_SetOracleParameters() (gas: 5665639) | ||
SwanTest:test_TransferOwnership() (gas: 55405) | ||
SwanTest:test_UpdateState() (gas: 11985754) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"LLMOracleRegistry": { | ||
"proxyAddr": "0x90193c961a926261b756d1e5bb255e67ff9498a1", | ||
"implAddr": "0x34a1d3fff3958843c43ad80f30b94c510645c316" | ||
"proxyAddr": "0x4e4ef93f3ac35ca6505f582c666958f99218de21", | ||
"implAddr": "0xa826dfee9089004d9a6d832f854375eb725074bb" | ||
}, | ||
"LLMOracleCoordinator": { | ||
"proxyAddr": "0xbb2180ebd78ce97360503434ed37fcf4a1df61c3", | ||
"implAddr": "0xa8452ec99ce0c64f20701db7dd3abdb607c00496" | ||
"proxyAddr": "0x237f1bda05451ade6214a12e85b5084511da2995", | ||
"implAddr": "0x4a2d4f8734c4b322685fadfc72e44f0011123814" | ||
}, | ||
"Swan": { | ||
"proxyAddr": "0xdeb1e9a6be7baf84208bb6e10ac9f9bbe1d70809", | ||
"implAddr": "0x62c20aa1e0272312bc100b4e23b4dc1ed96dd7d1" | ||
"proxyAddr": "0x70c85509fc1da642e90d8dc5a9487fa4c36ea77c", | ||
"implAddr": "0x1f5bff2d013fe0051a7f1d1b932183c3d839d384" | ||
}, | ||
"BuyerAgentFactory": "0xdb8cff278adccf9e9b5da745b44e754fc4ee3c76", | ||
"SwanAssetFactory": "0x50eef481cae4250d252ae577a09bf514f224c6c4" | ||
"BuyerAgentFactory": "0xc48af3ef03d91af34b891688ade004ad36c8c39a", | ||
"SwanAssetFactory": "0xebb2c54b2a20e0e25b2fb168c8a657e1c966911f" | ||
} |
Oops, something went wrong.