Skip to content

Commit

Permalink
⌘ 1.3.0 - Translator
Browse files Browse the repository at this point in the history
⌘ 1.3.0 - Translator
  • Loading branch information
z0r0z authored Jun 4, 2024
2 parents d474495 + 0d1d134 commit 06db32b
Show file tree
Hide file tree
Showing 19 changed files with 940 additions and 130 deletions.
50 changes: 28 additions & 22 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
IETest:testCommandDepositETH() (gas: 155598)
IETest:testCommandSendETH() (gas: 75320)
IETest:testCommandSendETHRawAddr() (gas: 75755)
IETest:testCommandStakeETH() (gas: 147756)
IETest:testCommandSwapDAI() (gas: 138503)
IETest:testCommandSwapETH() (gas: 138209)
IETest:testCommandSwapForETH() (gas: 145404)
IETest:testCommandSwapUSDC() (gas: 171497)
IETest:testCommandSwapUSDCForWBTC() (gas: 196200)
IETest:testCommandUnstakeETH() (gas: 263506)
IETest:testCommandWithdrawETH() (gas: 266209)
IETest:testDeploy() (gas: 2563979)
IETest:testENSNameOwnership() (gas: 48424)
IETest:testIENameSetting() (gas: 11105)
IETest:testPreviewCommandSendDecimals() (gas: 108639)
IETest:testPreviewCommandSendUSDC() (gas: 67684)
IETest:testPreviewSend() (gas: 53800)
IETest:testPreviewSendCommand() (gas: 67248)
IETest:testPreviewSendCommandRawAddr() (gas: 67151)
IETest:testPreviewSendRawAddr() (gas: 30543)
NAMITest:testFailRegister() (gas: 9471)
NAMITest:testRegister() (gas: 58853)
IETest:testCommandSendETH() (gas: 77576)
IETest:testCommandSendETHRawAddr() (gas: 75355)
IETest:testCommandStakeETH() (gas: 148128)
IETest:testCommandSwapDAI() (gas: 138821)
IETest:testCommandSwapETH() (gas: 185700)
IETest:testCommandSwapForETH() (gas: 145736)
IETest:testCommandSwapUSDC() (gas: 171783)
IETest:testCommandSwapUSDCForWBTC() (gas: 196726)
IETest:testDeploy() (gas: 4059106)
IETest:testENSNameOwnership() (gas: 50762)
IETest:testPreviewBalanceChangeDAI() (gas: 130029)
IETest:testPreviewBalanceChangeETH() (gas: 70256)
IETest:testPreviewCommandSendDecimals() (gas: 111504)
IETest:testPreviewCommandSendUSDC() (gas: 70136)
IETest:testPreviewSend() (gas: 56082)
IETest:testPreviewSendCommand() (gas: 69706)
IETest:testPreviewSendCommandRawAddr() (gas: 66888)
IETest:testPreviewSendRawAddr() (gas: 30083)
IETest:testTokenAliasSetting() (gas: 10964)
IETest:testTranslateCommand() (gas: 10575)
IETest:testTranslateExecuteSend0_0_1ETH() (gas: 29194)
IETest:testTranslateExecuteSend0_1ETH() (gas: 28501)
IETest:testTranslateExecuteSend10USDC() (gas: 26923)
IETest:testTranslateExecuteSend1ETH() (gas: 30810)
IETest:testTranslateExecuteSend1Wei() (gas: 32530)
IETest:testTranslateTokenTransfer10USDC() (gas: 26667)
NAMITest:testFailRegister() (gas: 9532)
NAMITest:testRegister() (gas: 59011)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The **Intents Engine** (`IE`): A Basic *Text-to-tx* Simulator Contract.

### Arbitrum

`V1.2:` [`0x1e00003a669bb466d6B49800000099E1abDD6600`](https://arbiscan.io/address/0x1e00003a669bb466d6b49800000099e1abdd6600#code)
`V1.3:` [`0x1e00002C59149d0057F12e031ecC0000d38A000C`](https://arbiscan.io/address/0x1e00002C59149d0057F12e031ecC0000d38A000C#code)

`Note:` L2 will be used to rapidly prototype a stable and sufficient `IE` for common crypto commands. Many dev resources here will cater to the current L2 prototype until the release of `V2` on L1.

Expand Down Expand Up @@ -72,7 +72,7 @@ aliases: *exchange*

aliases: *exchange*

`Note:` In `V1.2` on Arbitrum, a `minOutputAmount` can be specified for swaps. It ensures that you receive a minimum output amount of `object` at the end of the swap, otherwise the transaction will revert. The default value is set to `0`.
`Note:` In `V1.3` on Arbitrum, a `minOutputAmount` can be specified for swaps. It ensures that you receive a minimum output amount of `object` at the end of the swap, otherwise the transaction will revert. The default value is set to `0`.

------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The **Intents Engine** (`IE`): A Basic *Text-to-tx* Simulator Contract.

### Arbitrum

`V1.2:` [`0x1e00003a669bb466d6B49800000099E1abDD6600`](https://arbiscan.io/address/0x1e00003a669bb466d6b49800000099e1abdd6600#code)
`V1.3:` [`0x1e00002C59149d0057F12e031ecC0000d38A000C`](https://arbiscan.io/address/0x1e00002C59149d0057F12e031ecC0000d38A000C#code)

`Note:` L2 will be used to rapidly prototype a stable and sufficient `IE` for common crypto commands. Many dev resources here will cater to the current L2 prototype until the release of `V2` on L1.

Expand Down Expand Up @@ -72,7 +72,7 @@ aliases: *exchange*

aliases: *exchange*

`Note:` In `V1.2` on Arbitrum, a `minOutputAmount` can be specified for swaps. It ensures that you receive a minimum output amount of `object` at the end of the swap, otherwise the transaction will revert. The default value is set to `0`.
`Note:` In `V1.3` on Arbitrum, a `minOutputAmount` can be specified for swaps. It ensures that you receive a minimum output amount of `object` at the end of the swap, otherwise the transaction will revert. The default value is set to `0`.

------------------------------------

Expand Down
Loading

0 comments on commit 06db32b

Please sign in to comment.