| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 스마트컨트렉트 예약어 함수이름 중복
- 컨트렉트 동일한 함수이름 호출
- vue기초
- redux toolkit 설명
- cloud hsm
- git rebase
- 러스트 기초 학습
- erc4337
- Vue.js
- 체인의정석
- erc4337 contract
- 스마트컨트렉트 함수이름 중복 호출
- ethers type
- ambiguous function description
- 스마트 컨트렉트 함수이름 중복
- Vue
- 머신러닝기초
- SBT표준
- cloud hsm 서명
- 러스트기초
- ethers typescript
- 오블완
- 계정추상화
- rust 기초
- 티스토리챌린지
- redux 기초
- ethers v6
- ethers websocket
- 러스트 기초
- cloud hsm 사용하기
- Today
- Total
목록분류 전체보기 (531)
체인의정석
AAVE의 경우 테스트넷을 잉요한 유동성 풀 테스트 환경이 매우 잘 되어 있었다. testnet.aave.com/markets Aave - Open Source Liquidity Protocol Aave is an Open Source Protocol to create Non-Custodial Liquidity Markets to earn interest on deposits and borrow assets with a variable or stable interest rate. The protocol is designed for easy integration into your products and services. testnet.aave.com Stable 으로 대출 및 예치가 가능한것을 볼 수 있었..
github.com/Devilla/eth-arbitrage/blob/master/contracts/Arbitrage.sol Devilla/eth-arbitrage A DeFi Arbitrage Bot with DyDx Flashloans. Contribute to Devilla/eth-arbitrage development by creating an account on GitHub. github.com 위 소스코드를 분석하였다. 일단 주소값을 보면 kovan test network와 연결된 소스임을 확인 할 수 있었다. pool에는 DyDx주소를 두어서 인식을 시켜주고, 각각 등록된 화폐를 넣어준다. 여기서 tokenToMarketId는 등록된 토큰에 해당된다. 만약 새로운 종류의 토큰을 등록하고 싶다면..
money-legos.studydefi.com/#/dydx money-legos docs money-legos.studydefi.com solo Margin contract를 이용하여 flash loan사용 가능. 1. X 만큼의 토큰을 Withdraw로 빌린다. 2. Call a function (이미 진행됨) 3. X + 2wei 만큼을 Deoposit으로 갚는다 이 3개를 한번에 시킨다. docs.dydx.exchange/#introduction dYdX Documentation docs.dydx.exchange dydx 공식 문서 However, if you write smart contracts, then our protocol documentation would be useful to you:..
assert 는 설정된 가스리미티를 초과시켜서 중단 => 절대 변해선 안되는 값에 대한 체크를 할때만 활용 나머지는 require require는 로직 실행 중간에 중단하고 리턴 가스비가 더 조금 소모됨 + 에러메세지 사용가능
forum.openzeppelin.com/t/importing-openzeppelin-contracts-in-remix/1420
truffle을 이용하여 배포하거나 open-zeppelin의 표준에 맞춰서 스마트컨트렉트를 테스트/배포해야하는 경우 erc20 파일을 일일히 가져오기 보다는 www.npmjs.com/package/@openzeppelin/contracts @openzeppelin/contracts Secure Smart Contract library for Solidity www.npmjs.com 다음과 같은 npm 라이브러리를 사용하면 더 편하다.
우선 truffle 배포 시 하나의 파일만 배포하는것은 다음과 같이한다. truffle은 오랜만에 써보는데 배포까지는 무조건 truffle로 하는게 편한것 같다. ropsten testnet에 배포하는 법 바뀌는 solidity code가 있을 경우 truffle compile 후에 배포한다. truffle migrate -f 4 --to 4 --network ropsten 이렇게 되면 4번의 migration파일만 migrate된다. 배포가 끝나게 되면 build 경로 아래에 있는 contracts안에 배포 정보가 나오게 된다. .json 파일로 되어 있는데 이걸 그대로 복사하면 된다. 이때 유의해야 할 점은 const fs = require('fs'); const contractABI = JSON.p..
express generator 를 다음과 같이 npx로 실행하니 해결이 되었다. npx express-generator stackoverflow.com/questions/23002448/express-command-not-found Express command not found For some reason after installing Express globally on my machine with npm install -g express if I cd into a directory and try to run express I get the following error: express: command not found. ... stackoverflow.com