/**
 * Struct is a special kind of parameter that used in smart contract.
 */ export default class Struct { list : any [ ] ; constructor ( ) { this . list = [ ] ; } param args add ( ... args ) { for ( const a of args ) { this . list . push ( a ) ; } } }