-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
189 lines (185 loc) · 9.08 KB
/
config.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
name: Grant Ships Envio
contracts:
- name: Registry
handler: src/Registry.ts
abi_file_path: abis/Registry.json
events:
- event: ProfileCreated(bytes32 indexed profileId, uint256 nonce, string name, (uint256,string) metadata, address owner, address anchor)
- event: ProfileMetadataUpdated(bytes32 indexed profileId, (uint256,string) metadata)
isAsync: true
- event: RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
- event: RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
- name: GameManagerFactory
handler: src/GameManagerFactory.ts
events:
- event: FactoryInitialized(address rootAccount)
- event: GameManagerDeployedWithPool(address gameManagerAddress, bytes32 profileId, uint256 poolId, string templateName, address tokenAddress, bytes initData, (uint256,string) poolMetadata, (uint256,string) profileMetadata)
- event: RootAccountSwitched(address newRootAccount)
- event: TemplateCreated(string name, address templateAddress)
- name: GrantShipFactory
handler: src/GrantShipFactory.ts
events:
- event: ShipCreated(address strategyAddress, address anchorAddress, address sender)
- name: GameManagerStrategy
handler: src/GameManagerStrategy.ts
events:
- event: Registered(address indexed anchorAddress, bytes applicationData, address sender)
- event: GameManagerInitialized(uint256 gameFacilitatorId,address hatsAddress,address rootAccount,address token,uint256 poolId)
- event: RoundCreated(uint256 gameIndex,uint256 totalRoundAmount)
- event: ShipLaunched(address shipAddress,uint256 shipPoolId,address recipientId,string shipName,(uint256,string) metadata)
- event: RecipientRejected(address recipientAddress,(uint256,string) reason)
- event: RecipientAccepted(address recipientAddress,(uint256,string) reason)
- event: GameActive(bool active,uint256 gameIndex)
- event: UpdatePosted(string tag,uint256 role,address recipientId,(uint256,string) content)
- event: Allocated(address indexed recipientId, uint256 amount, address tokenAddress, address sender)
- event: Distributed(address indexed recipientId, address recipientAddress, uint256 amount, address sender)
- event: GameRoundTimesCreated(uint256 indexed gameRoundIndex, uint256 startTime, uint256 endTime)
- name: GrantShipStrategy
handler: src/GrantShipStrategy.ts
events:
- event: PoolFunded(uint256 poolId, uint256 amount, uint256 amountPercentage)
- event: GrantShipInitialized(uint256 poolId, address gameManager, uint256 operatorHatId, uint256 facilitatorHatId, address registryAnchor)
- event: RecipientRegistered(address recipientId, address receivingAddress, uint256 grantAmount, (uint256,string) metadata, uint256 grantIndex)
- event: RecipientStatusChanged(address recipientId, uint8 status, (uint256,string) reason)
- event: MilestonesSet(address recipientId, uint256 milestonesLength, (uint256, (uint256,string), uint8)[] milestones)
- event: MilestoneSubmitted(address recipientId, uint256 milestoneId, (uint256,string) metadata)
isAsync: true
- event: MilestoneStatusChanged(address recipientId, uint256 milestoneId, uint8 status)
isAsync: true
- event: MilestoneRejected(address recipientId, uint256 milestoneId, (uint256,string) reason)
isAsync: true
- event: MilestonesReviewed(address recipientId, uint8 status, (uint256,string) reason)
- event: Allocated(address indexed recipientId, uint256 amount, address tokenAddress, address sender)
- event: Distributed(address indexed recipientId, address recipientAddress, uint256 amount, address sender)
- event: UpdatePosted(string tag, uint256 role, address recipientId, (uint256,string) content)
- event: GrantComplete(address recipientId, uint256 amount, (uint256, string) metadata);
- event: GrantClawback(address recipientId, (uint256, string) metadata, uint256 amountReturned);
- name: AlloPoster
handler: src/AlloPoster.ts
events:
- event: PostEvent(string tag, bytes32 profileId, (uint256, string), address anchor)
- name: HatsPoster
handler: src/HatsPoster.ts
events:
- event: Initialized(address hatsAddress, uint256[] hatIds)
- event: PostRecord(string tag, bytes32 nonce, uint256 hatId, (uint256, string))
- event: PostEvent(string tag, uint256 hatId, (uint256, string))
- name: FastFactory
handler: src/FactoryHandlers.ts
events:
- event: FactoryInitialized(address admin)
- event: AdminAdded(address admin)
- event: AdminRemoved(address admin)
- event: ContestTemplateCreated(string contestVersion, address contestAddress, (uint256,string) contestInfo)
- event: ContestTemplateDeleted(string contestVersion, address contestAddress)
- event: ModuleTemplateCreated(string moduleName, address moduleAddress, (uint256,string) moduleInfo)
- event: ModuleTemplateDeleted(string moduleName, address moduleAddress)
- event: ModuleCloned(address moduleAddress, string moduleName, string filterTag)
- event: ContestCloned(address contestAddress, string contestVersion, string filterTag)
- event: ContestBuilt(string votesModule, string pointsModule, string choicesModule, string executionModule, address contestAddress, string contestVersion, string filterTag)
- name: HatsAllowList
handler: src/HatsAllowList.ts
events:
- event: Initialized(address contest, address hatsAddress, uint256 hatId)
- event: Registered(bytes32 choiceId, ((uint256, string), bytes, bool), address contest)
- event: Removed(bytes32 choiceId, address contest)
isAsync: true
- name: ERC20VotesPoints
handler: src/ERC20VotesPoints.ts
events:
- event: Initialized(address contest, address token, uint256 votingCheckpoint)
- name: SBTBalancePoints
handler: src/SBTBalancePoints.ts
events:
- event: Initialized(address contest, address token)
- name: TimedVotes
handler: src/TimedVotes.ts
events:
- event: Initialized(address contest, uint256 duration)
- event: VotingStarted(uint256 startTime, uint256 endTime)
isAsync: true
- event: VoteCast(address indexed voter, bytes32 choiceId, uint256 amount, (uint256, string))
isAsync: true
- event: VoteRetracted(address indexed voter, bytes32 choiceId, uint256 amount, (uint256, string))
isAsync: true
- name: Contest_v0_1_0
handler: src/Contest.ts
events:
- event: ContestInitialized(address votesModule, address pointsModule, address choicesModule, address executionModule, bool isContinuous, bool isRetractable, uint8 status)
isAsync: true
- event: ContestStatusChanged(uint8 status)
- name: ScaffoldDaoShaman
handler: src/ScaffoldDaoShaman.ts
abi_file_path: abis/ScaffoldDaoShaman.json
events:
- event: Initialized(address dao, address hats, address lootTokenAddress, address sharesTokenAddress, string lootTokenSymbol, string sharesTokenSymbol)
- event: BadgeSaved(uint256 badgeId, string name, (uint256, string) metadata, uint256 amount, bool isVotingToken, bool hasFixedAmount, bool isSlash)
- event: BadgeRemoved(uint256 badgeId)
- event: BadgeAssigned(uint256 badgeId, address recipient, uint256 amount, (uint256, string) metadata)
- event: GateUpdated(uint8 gateIndex, uint8 gateType, uint256 hatId)
networks:
- id: 421614 # Arbitrum Sepolia
start_block: 39353224
end_block: null
contracts:
- name: Registry
abi_file_path: abis/Registry.json
address: 0x4AAcca72145e1dF2aeC137E1f3C5E3D75DB8b5f3
- name: GameManagerFactory
address: 0x103f8273b0ea01ffd5a457ed51fdaca81e971378
- name: GrantShipFactory
address: 0x1F8cbC9d98E63575F8eE4C21a7BA68A34f66F280
- name: GameManagerStrategy
address:
- name: GrantShipStrategy
address:
- name: FastFactory
address: 0x2bABC10b90c67399F820433358fEb85fbB24f22f
- name: HatsAllowList
address:
- name: ERC20VotesPoints
address:
- name: SBTBalancePoints
address:
- name: TimedVotes
address:
- name: Contest_v0_1_0
address:
- name: HatsPoster
address: 0x4F0dc1C7d91d914d921F3C9C188F4454AE260317
- name: AlloPoster
address: 0x168752edda2ca12e361b0c6a60d958c25818ec9b
- name: ScaffoldDaoShaman
address: 0xc8AfD6195Bf2cA462157C9608F97Ba0Da2811938
- id: 42161 # Arbitrum One
start_block: 195499276
end_block: null
contracts:
- name: Registry
address: 0x4AAcca72145e1dF2aeC137E1f3C5E3D75DB8b5f3
- name: GameManagerFactory
address: 0x012Ab5AC3adff0958cEc0317b8307D14A39a62A6
- name: GrantShipFactory
address: 0x482a44043C67B92a69FAa47C5DA35453D88D140a
- name: GameManagerStrategy
address:
- name: GrantShipStrategy
address:
- name: FastFactory
address: 0x98917Fe3554acFB9f982F6A4fE5Ad377EE55ee70
- name: HatsAllowList
address:
- name: ERC20VotesPoints
address:
- name: SBTBalancePoints
address:
- name: TimedVotes
address:
- name: Contest_v0_1_0
address:
- name: HatsPoster
address: 0x363a6eFF03cdAbD5Cf4921d9A85eAf7dFd2A7efD
- name: AlloPoster
address: 0xdeeceda1Ab6BCcC70eE2D15AF5e5a19d0B2793dD
- name: ScaffoldDaoShaman
address: 0x31090103830d168E508399e2149524B8906773Ca