package chain import ( "github.com/filecoin-project/go-address" builtin_spec "github.com/filecoin-project/specs-actors/actors/builtin" "github.com/filecoin-project/specs-actors/actors/util/adt" "github.com/filecoin-project/lotus/chain/types" ) func (mp *MessageProducer) AccountConstructor(from, to address.Address, params *address.Address, opts ...MsgOpt) *types.Message { ser := MustSerialize(params) return mp.Build(from, to, builtin_spec.MethodsAccount.Constructor, ser, opts...) } func (mp *MessageProducer) AccountPubkeyAddress(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message { ser := MustSerialize(params) return mp.Build(from, to, builtin_spec.MethodsAccount.PubkeyAddress, ser, opts...) }