Skip to content

Fission On-Chain Pull

sequenceDiagram
    participant TC as Token Contract
    participant PS as Partner Server
    participant PC as Partner Contract
    participant FC as Fission Contract
    participant FS as Fission Server

    PS->>FS: 1. Start
    activate FS
    activate PS
    FS-->>PS: 2. Accepted
    deactivate PS
    FS->>FC: 3. Prepare<br/>USDC
    FS->>PS: 4. Ready<br/>Webhook
    deactivate FS
    activate PS
    PS->>PC: 5. Trigger
    activate PC
    deactivate PS
    note over PC: Acquire/Prepare<br/>Tokens
    PC->>TC: 6. Grant Pull<br/>to Fission
    PC->>FC: 9. Calls "fulfillOrder" and has redeem tokens pulled
    FC->>PC: 10. Returns USDC according to the Order
    deactivate PC

Guides lead a user through a specific task they want to accomplish, often with a sequence of steps. Writing a good guide requires thinking about what your users are trying to do.