일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Ethereum
- JavaScript
- express.js
- evm
- built in object
- concept
- solidity
- API
- nextJS
- error
- bitcoin
- middleware
- typeScript
- useState
- 기준
- tailwindcss
- node.js
- web
- CSS
- HTML
- Props
- SSR
- CLASS
- Redux
- graphQL
- Interface
- REACT
- 삶
- hardhat
- blockchain
- Today
- Total
목록전체 글 (369)
ReasonJun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/qXvLS/btsyIFhOJcC/lXLSoKtvjkp6sno8iugpUK/img.png)
The main difference between call() and delegatecall() in Solidity is that call() executes code in a new context, while delegatecall() executes code in the context of the caller. call() When you call a function using call(), the called function is executed in a new context, with its own stack and storage. This means that the called function does not have access to the caller's state, and any chan..
Delegatecall is a low-level Solidity opcode that allows a contract to execute code from another contract while using the state and storage of the calling contract. This can be used to implement a variety of features, such as: Upgrading contracts without losing data: Delegatecall can be used to upgrade a contract to a new version without losing any of the data stored in the contract. This is done..
The call() function in Solidity is a low-level function that can be used to call functions on other contracts or to send Ether to other addresses. It is a very powerful function, but it can also be dangerous if used incorrectly. The call() function takes two arguments: the address of the contract to call and the calldata to send to the function. The calldata is a byte array that contains the fun..
The transfer() function in Solidity is used to transfer Ether to an address. It takes two arguments: the address to transfer the Ether to and the amount of Ether to transfer. The transfer() function returns a boolean value indicating whether the transfer was successful. If the transfer was successful, the function returns true. If the transfer was unsuccessful, the function throws an exception a..
The send() function in Solidity is used to send Ether to an address. It takes two arguments: the address to send the Ether to and the amount of Ether to send. The send() function returns a boolean value indicating whether the transfer was successful. If the transfer was successful, the function returns true. If the transfer was unsuccessful, the function returns false. The send() function is a l..
The Payable keyword in Solidity is used to declare a function or address that can receive Ether. When you declare a function as payable, it means that the function can be called with Ether attached. The Ether that is sent to the function will be stored in the contract's balance and can be used by other functions in the contract. You can also declare an address as payable. This means that Ether c..
Externally Owned Accounts (EOAs): These accounts are controlled by private keys and are typically used by individuals and businesses to store and send Ether and other ERC-20 tokens. Contract Accounts (CAs): These accounts are controlled by smart contracts and are typically used to implement decentralized applications (DApps) and other complex functionality. Here is a table that summarizes the ke..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bQNXs8/btsyHzhAJe0/YEmyK0GSfwop8W1u0MLzE1/img.png)
The Travel Rule in crypto is a regulation that requires virtual asset service providers (VASPs) to collect and share certain information about their customers when sending or receiving virtual assets above a certain threshold. This information includes the customer's name, address, date of birth, and account number. The Travel Rule was first introduced by the Financial Action Task Force (FATF) i..
The try / catch statement in Solidity is used to handle errors in external function calls and contract creation. It is similar to the try / catch statement in other programming languages, but there are some important differences. How to use try / catch To use the try / catch statement, you first need to wrap the external function call or contract creation in a try block. The try block will be ex..
The require() function in Solidity is used to check for certain conditions before executing a function. If the condition passed to the require() function evaluates to false, the function will throw an exception and the transaction will be reverted. The require() function is typically used to check for valid input data or to verify that a certain state invariant is true. For example, the followin..