Contract Inheritance

The following diagram shows how the contracts inherit from one another. Click on a node to see the corresponding API.

Assets and Adjudication

graph TD linkStyle default interpolate basis classDef Library fill:#ffffff,stroke:#656664,stroke-dasharray: 5 5 classDef Contract fill:#ffffff,stroke:#656664; classDef DeployedContract fill:#ffffff,stroke:#3531ff,stroke-width:3px; classDef Abstraction fill:#ffffff,stroke:#8dc404,stroke-dasharray: 5 5; classDef Interface fill:#ffffff,stroke:#de1065,stroke-dasharray: 5 5; classDef TestContract fill:#fafe4f,stroke-width:0px Outcome([Outcome]) SafeMath([SafeMath]) IForceMove IForceMoveApp IStatusManager IMultiAssetHolder ForceMove IERC20 MultiAssetHolder StatusManager TESTForceMove TESTNitroAdjudicator NitroAdjudicator class SafeMath,Outcome Library; class IMultiAssetHolder,IERC20,IForceMoveApp,IForceMove,IStatusManager Interface; class MultiAssetHolder,ForceMove,StatusManager Contract; class NitroAdjudicator DeployedContract; class TESTForceMove,TESTNitroAdjudicator TestContract; IMultiAssetHolder--> MultiAssetHolder IStatusManager--> StatusManager StatusManager--> ForceMove StatusManager--> MultiAssetHolder SafeMath-.-> MultiAssetHolder Outcome-.-> MultiAssetHolder MultiAssetHolder-->NitroAdjudicator IERC20.->MultiAssetHolder IForceMoveApp-.-> ForceMove IForceMove--> ForceMove Outcome-.-> NitroAdjudicator ForceMove-->TESTForceMove ForceMove-->NitroAdjudicator NitroAdjudicator--> TESTNitroAdjudicator TESTForceMove--> TESTNitroAdjudicator click IStatusManager "/contract-api/natspec/IStatusManager"; click StatusManager "/contract-api/natspec/StatusManager"; click ForceMove "/contract-api/natspec/ForceMove"; click ForceMove "/contract-api/natspec/ForceMove"; click IERC20 "/contract-api/natspec/IERC20"; click IForceMove "/contract-api/natspec/IForceMove"; click IForceMoveApp "/contract-api/natspec/IForceMoveApp"; click IMultiAssetHolder "/contract-api/natspec/IMultiAssetHolder"; click MultiAssetHolder "/contract-api/natspec/MultiAssetHolder"; click NitroAdjudicator "/contract-api/natspec/NitroAdjudicator"; click Outcome "/contract-api/natspec/Outcome"; click SafeMath "/contract-api/natspec/SafeMath"; click TESTForceMove "/contract-api/natspec/TESTForceMove"; click TESTNitroAdjudicator "/contract-api/natspec/TESTNitroAdjudicator";

3rd Party

graph TD linkStyle default interpolate basis ERC20 IERC20 Token CountingApp IForceMoveApp SingleAssetPayments TrivialApp IForceMoveApp-->CountingApp IForceMoveApp-->TrivialApp IForceMoveApp-->SingleAssetPayments IERC20-->ERC20 ERC20-->Token classDef Contract fill:#ffffff,stroke:#656664; classDef DeployedContract fill:#ffffff,stroke:#3531ff,stroke-width:3px; classDef Abstraction fill:#ffffff,stroke:#8dc404,stroke-dasharray: 5 5 classDef Interface fill:#ffffff,stroke:#de1065,stroke-dasharray: 5 5 classDef TestContract fill:#fafe4f,stroke-width:0px; classDef fill:#ffffff,stroke:#656664,stroke-dasharray: 5 5 class Outcome,SafeMath Library; class IForceMoveApp,IERC20 Interface; class SingleAssetPayments,TrivialApp,CountingApp,ERC20 Contract; class Token TestContract; click CountingApp "/contract-api/natspec/CountingApp"; click ERC20 "/contract-api/natspec/ERC20"; click IForceMoveApp "/contract-api/natspec/IForceMoveApp"; click IERC20 "/contract-api/natspec/IERC20"; click Outcome "/contract-api/natspec/Outcome"; click SafeMath "/contract-api/natspec/SafeMath"; click SingleAssetPayments "/contract-api/natspec/SingleAssetPayments"; click Token "/contract-api/natspec/Token"; click TrivialApp "/contract-api/natspec/TrivialApp";

Key

graph TD linkStyle default interpolate basis Abstraction-->|Inherited by| Contract Contract-->|Inherited by| TESTContract Interface-->|Inherited by| Contract Library([Library])-.->|Imported by| Contract DeployedContract classDef Contract fill:#ffffff,stroke:#656664; classDef TestContract fill:#fafe4f,stroke-width:0px; classDef Interface fill:#ffffff,stroke:#de1065,stroke-dasharray: 5 5 classDef Library fill:#ffffff,stroke:#656664,stroke-dasharray: 5 5 classDef DeployedContract fill:#ffffff,stroke:#3531ff,stroke-width:3px; class Library Library; class Contract Contract; class TESTContract TestContract; class Interface Interface; class DeployedContract DeployedContract

TESTContracts are only used in development.

Last updated on by geoknee