TODO: add new parameter 'isPrivate'.
(nonce uint64, to common.Address, amount *big.Int, gasLimit uint64, gasPrice *big.Int, data []byte)
| 69 | |
| 70 | // TODO: add new parameter 'isPrivate'. |
| 71 | func NewTransaction(nonce uint64, to common.Address, amount *big.Int, gasLimit uint64, gasPrice *big.Int, data []byte) *Transaction { |
| 72 | return newTransaction(nonce, &to, amount, gasLimit, gasPrice, data, BasicTx) |
| 73 | } |
| 74 | |
| 75 | // TODO: add new parameter 'isPrivate'. |
| 76 | func NewContractCreation(nonce uint64, amount *big.Int, gasLimit uint64, gasPrice *big.Int, data []byte) *Transaction { |