Code Monkey home page Code Monkey logo

Comments (4)

0xArdi avatar 0xArdi commented on June 24, 2024

#37 Has the initial implementation of all the fractionalize contracts.

from agent-academy-1.

0xArdi avatar 0xArdi commented on June 24, 2024

TODO rounds / skills for the El Collectooorr ABCI

Although, it doesn't have to be, I suggest that we split the the rounds into multiple skills, purely because I feel its easier for development.

Basket Factory Deployment

BasketFactoryDeploymentAbciApp

Initial round: RandomnessBasketFactoryRound

Initial states: {RandomnessBasketFactoryRound}

Transition states:

  1. RandomnessBasketFactoryRound
    • done: 2.
    • round timeout: 0.
    • no majority: 0.
  2. SelectKeeperBasketFactoryRound
    • done: 3.
    • round timeout: 0.
    • no majority: 0.
  3. DeployBasketFactoryRound
    • done: 4.
    • round timeout: 0.
    • no majority: 0.
  4. ValidateBasketFactoryRound
    • done: 5.
    • round timeout: 0.
    • no majority: 0.
  5. FinishedBasketFactoryRound

Final states: {FinishedBasketFactoryRound}

Token Settings Deployment

TokenSettingsDeploymentAbciApp

Initial round: RandomnessTokenSettingsRound

Initial states: {RandomnessTokenSettingsRound}

Transition states:

  1. RandomnessTokenSettingsRound
    • done: 2.
    • round timeout: 0.
    • no majority: 0.
  2. SelectKeeperTokenSettingsRound
    • done: 3.
    • round timeout: 0.
    • no majority: 0.
  3. DeployTokenSettingsRound
    • done: 4.
    • round timeout: 0.
    • no majority: 0.
  4. TransferTokenSettingsToSafeRound
    • done: 5.
    • round timeout: 0.
    • no majority: 0.
  5. ValidateTokenSettingsRound
    • done: 6.
    • round timeout: 0.
    • no majority: 0.
  6. FinishedTokenSettingsRound

Final states: {FinishedTokenSettingsRound}

Token Vault Factory Deployment

TokenVaultFactoryDeploymentAbciApp

Initial round: RandomnessTokenVaultFactoryRound

Initial states: {RandomnessTokenVaultFactoryRound}

Transition states:

  1. RandomnessTokenVaultFactoryRound
    • done: 2.
    • round timeout: 0.
    • no majority: 0.
  2. SelectKeeperTokenVaultFactoryRound
    • done: 3.
    • round timeout: 0.
    • no majority: 0.
  3. DeployTokenVaultFactoryRound
    • done: 4.
    • round timeout: 0.
    • no majority: 0.
  4. TransferTokenVaultFactoryToSafeRound
    • done: 5.
    • round timeout: 0.
    • no majority: 0.
  5. ValidateTokenVaultFactoryRound
    • done: 6.
    • round timeout: 0.
    • no majority: 0.
  6. FinishedTokenVaultFactoryRound

Final states: {FinishedTokenVaultFactoryRound}

Basket Deployment

The Basket contract is both an ERC721 and ERC721 Receiver.
Note: We need to check the logs when deploying.

BasketDeploymentAbciApp

Initial round: RandomnessBasketRound

Initial states: {RandomnessBasketRound}

Transition states:

  1. RandomnessBasketRound
    • done: 2.
    • round timeout: 0.
    • no majority: 0.
  2. SelectKeeperBasketRound
    • done: 3.
    • round timeout: 0.
    • no majority: 0.
  3. DeployBasketRound
    • done: 4.
    • round timeout: 0.
    • no majority: 0.
  4. ApproveTokenVaultFactoryRound
    • done: 5.
    • round timeout: 0.
    • no majority: 0.
  5. TransferBasketToSafeRound
    • done: 6.
    • round timeout: 0.
    • no majority: 0.
  6. ValidateBasketRound
    • done: 7.
    • round timeout: 0.
    • no majority: 0.
  7. FinishedBasketRound

Final states: {FinishedBasketRound}

Token Vault Deployment

TokenVaultDeploymentAbciApp

Initial round: RandomnessTokenVaultRound

Initial states: {RandomnessTokenVaultRound}

Transition states:

  1. RandomnessTokenVaultRound
    • done: 2.
    • round timeout: 0.
    • no majority: 0.
  2. SelectKeeperTokenVaultRound
    • done: 3.
    • round timeout: 0.
    • no majority: 0.
  3. DeployTokenVaultRound
    • done: 4.
    • round timeout: 0.
    • no majority: 0.
  4. TransferTokensSafeRound
    • done: 5.
    • round timeout: 0.
    • no majority: 0.
  5. ValidateTokenVaultRound
    • done: 6.
    • round timeout: 0.
    • no majority: 0.
  6. FinishedTokenVaultRound

Final states: {FinishedTokenVaultRound}

from agent-academy-1.

DavidMinarsch avatar DavidMinarsch commented on June 24, 2024

All the deployments can utilise the TransactionSettlementABCI. That way only one round each (the one in which the safe tx hash is prepared) needs to be implemented and then the ABCI chained with the TransactionSettlementABCI.

from agent-academy-1.

DavidMinarsch avatar DavidMinarsch commented on June 24, 2024

Mostly implemented in #54 now

from agent-academy-1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.