function
Table of Contents

函数

payable

在一个合约中,如果要一个函数能够接受“钱”的话,必须加上payable

function addFund() payable