(gasPrice, gasLimit uint64, contractAddress common.Address, params []interface{})
| 432 | } |
| 433 | |
| 434 | func NewNeovmInvokeTransaction(gasPrice, gasLimit uint64, contractAddress common.Address, params []interface{}) (*types.MutableTransaction, error) { |
| 435 | invokeCode, err := cutils.BuildNeoVMInvokeCode(contractAddress, params) |
| 436 | if err != nil { |
| 437 | return nil, err |
| 438 | } |
| 439 | return NewSmartContractTransaction(gasPrice, gasLimit, invokeCode) |
| 440 | } |
| 441 | |
| 442 | func NewSmartContractTransaction(gasPrice, gasLimit uint64, invokeCode []byte) (*types.MutableTransaction, error) { |
| 443 | invokePayload := &payload.InvokeCode{ |
nothing calls this directly
no test coverage detected