solidity智慧合約[25]-轉賬的3種方式與比較
阿新 • • 發佈:2018-11-25
轉賬的3種方式
1 |
address.transfer() |
轉賬transfer
1 |
function transfer(address _address) public payable{ |
轉賬send
1 |
function transfer4(address _address) public payable { |
轉賬call
1 |
function transfer5(address _address) public payable returns(bool){ |
對比總結
1 |
transfer與send相似,都為轉賬操作 |
本文連結: https://dreamerjonson.com/2018/11/20/solidity-25-thansfer2/
版權宣告: 本部落格所有文章除特別宣告外,均採用 CC BY 4.0 CN協議
許可協議。轉載請註明出處!