You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should call PeeramidLabsDistributor to instantiate new subject. Examples of such and helpers available in scripts and test directories as well as in readme.
Add addDistribution.ts
It should add new distribution to the PeeramidLabsDistributor. There is already some boilerplate for doing this available here:
#62 changes the way how we deploy new infrastructure and hence how we lookup for addresses.
It also adds a new functionality, namely: now you can create a new subjects with a whole infrastructure behind (MAO)
Documentation for this already was updated at docs.rankify.it and at #62 readme file.
We need to update same PR with playbook updates:
createGame.ts
Instead of taking a deployment artifacts like this:
We now must
PeeramidLabsDistributor
artifactInstantiated
events emitted by IDistributor. Example of similar filtering is hereinstanceId
we want to create game atRankify
andRankifyInstance
contract from theinstances[]
array found in the events. The sequence should be according to this:contracts/src/distributions/MAODistribution.sol
Line 270 in a8c8579
Add createMAO.ts
It should call
PeeramidLabsDistributor
to instantiate new subject. Examples of such and helpers available in scripts and test directories as well as in readme.Add addDistribution.ts
It should add new distribution to the
PeeramidLabsDistributor
. There is already some boilerplate for doing this available here:contracts/scripts/playbooks/addDistribution.ts
Line 18 in a8c8579
The text was updated successfully, but these errors were encountered: