일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- bitcoin
- built in object
- error
- solidity
- CLASS
- Ethereum
- SSR
- 기준
- JavaScript
- typeScript
- tailwindcss
- blockchain
- useState
- graphQL
- nextJS
- HTML
- CSS
- 삶
- Interface
- Props
- REACT
- express.js
- web
- middleware
- API
- concept
- evm
- node.js
- hardhat
- Redux
- Today
- Total
목록gas (2)
ReasonJun
Gas This refers to the value used for fees in Ethereum. The fee is calculated by converting the Byte Code that appears when the code in the Smart Contract is complied into the Gas value specified in the OP_CODE table. Gas Limit(Used) Gas Limit is divided into Block Gas Limit and Transaction Gas Used. Block Gas Limit means the sum of the total Transaction Gas Used in the corresponding block, and ..
// SPDX-License-Identifier: MIT pragma solidity >= 0.7.0 < 0.9.0; contract Ex1 { uint public a = 3; uint public b = 5; function myBlock() public returns (uint, uint){ a = 99; b = 0; return(a, b); } function myBlcok2(uint c) public { a = c; } function myBlock3() public pure returns(uint age, uint weight) { age = 20; weight = 55; } function getValue(uint e) public pure returns (uint) { return e; }..