TrivialApp.sol

View Source: contracts/TrivialApp.sol

โ†— Extends: ForceMoveApp

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 ForceMoveApp.VariablePart , struct ForceMoveApp.VariablePart , uint48 , uint256 ) public pure
returns(bool)

Returns

true.

Arguments

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