TrivialApp.sol

View Source: contracts/TrivialApp.sol

โ†— Extends: IForceMoveApp

The Trivialp contracts complies with the ForceMoveApp interface and allows all transitions, regardless of the data. Used for testing purposes.


Functions


validTransition

Encodes trivial rules.

function validTransition(struct IForceMoveApp.VariablePart , struct IForceMoveApp.VariablePart , uint48 , uint256 ) public pure
returns(bool)

Returns

true.

Arguments

NameTypeDescription
struct IForceMoveApp.VariablePart
struct IForceMoveApp.VariablePart
uint48
uint256
Last updated on by geoknee