We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ptb := sui_types.NewProgrammableTransactionBuilder() nonceBytes := FomoUtils.Uint64ToBytes(nonce) err := ptb.MoveCall(m.cfg.PackageId, move_types.Identifier("fomo"), move_types.Identifier("mine"), []move_types.TypeTag{}, []sui_types.CallArg{ sui_types.CallArg{Pure: &nonceBytes}, // nonce sui_types.CallArg{Object: &sui_types.ObjectArg{SharedObject: &struct { Id move_types.AccountAddress InitialSharedVersion uint64 Mutable bool }{Id: m.field.busId}}}, // bus id sui_types.CallArg{Object: &sui_types.ObjectArg{SharedObject: &struct { Id move_types.AccountAddress InitialSharedVersion uint64 Mutable bool }{Id: m.field.minerId}}}, // miner id sui_types.CallArg{Object: &sui_types.ObjectArg{SharedObject: &struct { Id move_types.AccountAddress InitialSharedVersion uint64 Mutable bool }{Id: m.cfg.Clock}}}, // clock }) if err != nil { fmt.Println("Move call error, ", err) return } // seee here!!! need to do this ptb.TransferObject(m.address, [movecall result object])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: