Skip to content

Commit

Permalink
Tron (#172)
Browse files Browse the repository at this point in the history
* fix #119

* fix

* Fix #120

* Simply

* keep the same interface

* rename assign event

* deploy on tron shasta

* deploy

* fix ci

* support traon shasta

* falt

* redeploy

* Update fee.c.json

* Update fee.c.json

* update

* redeploy

* deploy on tron
  • Loading branch information
hujw77 authored May 30, 2024
1 parent 2665a54 commit ed758a0
Show file tree
Hide file tree
Showing 6 changed files with 1,006 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/fee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 1 --chain-id 46
# forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 421614 --chain-id 11155111 --broadcast
# forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 43 --chain-id 421614 --broadcast --skip-simulation --legacy --slow
# forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 11155111 --chain-id 421614 --broadcast --skip-simulation --legacy --slow
forge script script/fee/Fee.s.sol:Fee --sig "run(uint256)" 2494104990 --chain-id 43 --broadcast
16 changes: 16 additions & 0 deletions script/input/2494104990/fee.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"ORACLE": {
"43": {
"fee": 500
}
},
"RELAYER": {
"43": {
"dstPriceRatio": 300,
"dstGasPriceInWei": 90000,
"baseGas": 200000,
"gasPerByte": 16
}
}
}

9 changes: 9 additions & 0 deletions script/input/43/fee.c.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
},
"11155111": {
"fee": 1000000000000000000
},
"2494104990": {
"fee": 1200000000000000000000
}
},
"RELAYER": {
Expand All @@ -19,6 +22,12 @@
"dstGasPriceInWei": 1000000,
"baseGas": 120000,
"gasPerByte": 16
},
"2494104990": {
"dstPriceRatio": 400000000000,
"dstGasPriceInWei": 28000000000000,
"baseGas": 200000,
"gasPerByte": 16
}
}
}
Expand Down
Loading

0 comments on commit ed758a0

Please sign in to comment.