일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- erc4337 contract
- git rebase
- Vue
- 스마트 컨트렉트 함수이름 중복
- Vue.js
- 머신러닝기초
- 러스트 기초 학습
- vue기초
- chainlink 설명
- 스마트컨트렉트테스트
- erc4337
- 오블완
- multicall
- 러스트기초
- 계정추상화
- ethers
- 컨트렉트 배포 자동화
- ethers v6
- 스마트컨트렉트 예약어 함수이름 중복
- ethers typescript
- 컨트렉트 동일한 함수이름 호출
- rust 기초
- ethers type
- ambiguous function description
- SBT표준
- 스마트컨트렉트 함수이름 중복 호출
- 티스토리챌린지
- 러스트 기초
- 체인의정석
- ethers websocket
- Today
- Total
체인의정석
컨트렉트 지갑 및 어셈블리어 참고 링크 (업데이트) 본문
https://jamesbachini.com/assembly-in-solidity/
3 Examples Of How To Use Assembly In Solidity
Ethereum developers can directly use assembly in Solidity to improve the performance of their code. When OpenSea released the Seaport upgrade it reported the
jamesbachini.com
seaport에서 사용되는 어셈블리어 참고링크
A simple example for how to use Solidity’s Inline Assembly
With Solidity being a relatively new language it has some limitations. To address this Solidity makes it possible to interweave your…
medium.com
애용중인 Gnosis Multisig Wallet 컨트렉트
https://github.com/gnosis/MultiSigWallet/blob/master/contracts/MultiSigWallet.sol
GitHub - gnosis/MultiSigWallet: Allows multiple parties to agree on transactions before execution.
Allows multiple parties to agree on transactions before execution. - GitHub - gnosis/MultiSigWallet: Allows multiple parties to agree on transactions before execution.
github.com
function external_call(address destination, uint value, uint dataLength, bytes data)
private
returns (bool)
{
bool result;
assembly {
let x := mload(0x40)
let d := add(data, 32)
result := call(
sub(gas, 34710),
destination,
value,
d,
dataLength,
x,
0
)
}
return result;
}
call opcode를 활용. 거기에 필요한 인자값을 지정해서 넣어줌
https://docs.soliditylang.org/en/v0.4.24/assembly.html#opcodes
Solidity Assembly — Solidity 0.4.24 documentation
For more fine-grained control especially in order to enhance the language by writing libraries, it is possible to interleave Solidity statements with inline assembly in a language close to the one of the virtual machine. Due to the fact that the EVM is a s
docs.soliditylang.org
Yul — Solidity 0.8.17 documentation
Yul Yul (previously also called JULIA or IULIA) is an intermediate language that can be compiled to bytecode for different backends. Support for EVM 1.0, EVM 1.5 and Ewasm is planned, and it is designed to be a usable common denominator of all three platfo
docs.soliditylang.org
'블록체인 > 퍼블릭 블록체인' 카테고리의 다른 글
CURG 특강) DVT 초안 (0) | 2023.01.28 |
---|---|
Dapp 속도 최적화 시키는데 필수! Multicall 불러와서 상호작용하기 (0) | 2023.01.03 |
Chain link 서비스 분석 - 기본 아키텍쳐 (0) | 2022.09.13 |
Chain link 서비스 분석 - chain link VRF 분석 (0) | 2022.09.13 |
블록체인 아키텍쳐) 블록체인에서의 Layer 구분 (0) | 2022.08.29 |