import { BN , SignedStateVariables , StateVariables , simpleEthAllocation , } from '@statechannels/wallet-core' ; import _ from 'lodash' ; import { alice , bob } from './participants' ; import { fixture , overwriteOutcome } from './utils' ; const defaultVars = { appData : '0x' , isFinal : false , turnNum : 0 , outcome : simpleEthAllocation ( [ { destination : alice ( ) . destination , amount : BN . from ( 1 ) } , { destination : bob ( ) . destination , amount : BN . from ( 3 ) } , ] ) , } ; export const stateVars = fixture < StateVariables > ( defaultVars , overwriteOutcome ) ; export const stateVarsWithSignatures = fixture < SignedStateVariables > ( _ . merge ( { signatures : [ ] } , defaultVars ) , overwriteOutcome ) ;