Skip to content

Commit 091dbbc

Browse files
chore(evm): ucs03: verify send/stake impl
1 parent 8a81d63 commit 091dbbc

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

evm/scripts/Deploy.s.sol

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,35 @@ contract GetDeployed is VersionedScript {
11391139
implUCS00 = implUCS00.serialize("args", bytes(hex""));
11401140
impls.serialize(implOf(ucs00).toHexString(), implUCS00);
11411141

1142+
string memory implUCS03Send = "implUCS03Send";
1143+
implUCS03Send.serialize(
1144+
"contract",
1145+
string("contracts/apps/ucs/03-zkgm/Zkgm.sol:UCS03ZkgmSendImpl")
1146+
);
1147+
implUCS03Send = implUCS03Send.serialize(
1148+
"args",
1149+
abi.encode(
1150+
handler,
1151+
weth,
1152+
nativeTokenName,
1153+
nativeTokenSymbol,
1154+
nativeTokenDecimals
1155+
)
1156+
);
1157+
impls.serialize(
1158+
UCS03Zkgm(payable(ucs03)).SEND_IMPL().toHexString(), implUCS03Send
1159+
);
1160+
1161+
string memory implUCS03Stake = "implUCS03Stake";
1162+
implUCS03Stake.serialize(
1163+
"contract",
1164+
string("contracts/apps/ucs/03-zkgm/Zkgm.sol:UCS03ZkgmStakeImpl")
1165+
);
1166+
implUCS03Stake = implUCS03Stake.serialize("args", abi.encode(handler));
1167+
impls.serialize(
1168+
UCS03Zkgm(payable(ucs03)).STAKE_IMPL().toHexString(), implUCS03Stake
1169+
);
1170+
11421171
string memory implUCS03 = "implUCS03";
11431172
implUCS03.serialize(
11441173
"contract", string("contracts/apps/ucs/03-zkgm/Zkgm.sol:UCS03Zkgm")
@@ -1150,9 +1179,8 @@ contract GetDeployed is VersionedScript {
11501179
weth,
11511180
zkgmERC20,
11521181
rateLimitEnabled,
1153-
nativeTokenName,
1154-
nativeTokenSymbol,
1155-
nativeTokenDecimals
1182+
UCS03Zkgm(payable(ucs03)).SEND_IMPL(),
1183+
UCS03Zkgm(payable(ucs03)).STAKE_IMPL()
11561184
)
11571185
);
11581186
impls = impls.serialize(implOf(ucs03).toHexString(), implUCS03);

0 commit comments

Comments
 (0)