-
Notifications
You must be signed in to change notification settings - Fork 13
/
cannonfile.toml
46 lines (35 loc) · 1.92 KB
/
cannonfile.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name = "aelincannon"
description = "Deploy Aelin factory contracts using Cannon"
version = "0.0.1"
keywords = ["aelin", "cannon"]
[setting.aelinTreasuryAddress] # Create an overridable setting
defaultValue = "0x0000000000000000000000000000000000000000" # will throw an error if no value is passed
[contract.aelinAllowList]
artifact = "AelinAllowList"
[contract.aelinNftGating]
artifact = "AelinNftGating"
[contract.nftCheck]
artifact = "NftCheck"
[contract.merkleTree]
artifact = "MerkleTree"
[contract.aelinEscrowLogic]
artifact = "AelinFeeEscrow" # Specifies the name of the contract to be deployed
[contract.dealLogic]
artifact = "AelinDeal" # Specifies the name of the contract to be deployed
[contract.poolLogic]
artifact = "AelinPool" # Specifies the name of the contract to be deployed
[contract.upFrontDealLogic]
artifact = "AelinUpFrontDeal" # Specifies the name of the contract to be deployed
libraries.AelinAllowList = "<%= contracts.aelinAllowList.address %>"
libraries.AelinNftGating = "<%= contracts.aelinNftGating.address %>"
libraries.NftCheck = "<%= contracts.nftCheck.address %>"
libraries.MerkleTree = "<%= contracts.merkleTree.address %>"
depends = ["contract.aelinAllowList", "contract.aelinNftGating", "contract.nftCheck", "contract.merkleTree"]
[contract.poolFactory]
artifact = "AelinPoolFactory" # Specifies the name of the contract to be deployed
args = ["<%= contracts.poolLogic.address %>", "<%= contracts.dealLogic.address %>", "<%= settings.aelinTreasuryAddress %>", "<%= contracts.aelinEscrowLogic.address %>"]
depends = ["contract.poolLogic", "contract.dealLogic", "contract.aelinEscrowLogic"]
[contract.upFrontDealFactory]
artifact = "AelinUpFrontDealFactory" # Specifies the name of the contract to be deployed
args = ["<%= contracts.upFrontDealLogic.address %>", "<%= contracts.aelinEscrowLogic.address %>", "<%= settings.aelinTreasuryAddress %>"]
depends = ["contract.upFrontDealLogic", "contract.aelinEscrowLogic"]