I hereby claim:
- I am mengsina2014 on github.
- I am duoduo2019 (https://keybase.io/duoduo2019) on keybase.
- I have a public key ASCn5miHSG1MWbvvNaxqx-v_w4q6NkEv-QWq3LM3Pum1fwo
To claim this, I am signing this object:
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
contract Array_5{ | |
uint[9] array1; | |
//bytes[20] array2; | |
address[100] array3; | |
uint[] array4; | |
// byte[] array5; | |
address array6; |
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
contract FunctionType{ | |
uint256 public _number = 5; | |
function add() external{ | |
_number = _number+1; | |
} | |
//pure 不能读取合约中的参数,也不能写入合约中的参数 | |
function addPure(uint256 number) external pure returns(uint256 _newNumber){ |
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
contract HelloWeb3{ | |
string public _string = "Hello Web3"; | |
// address public _address = 0xDd55476681baA2a0bCfd3E53106f4405e5Ab260d; | |
// address payable public _address1 = payable(_address);//balance,transfer | |
// uint256 public balance = _address1.balance; | |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.4.22 <0.9.0; | |
library TestsAccounts { | |
function getAccount(uint index) pure public returns (address) { | |
address[15] memory accounts; | |
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2; |
I hereby claim:
To claim this, I am signing this object: