Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.4 KB

TODO.md

File metadata and controls

33 lines (23 loc) · 1.4 KB

Sepolia contracts addresses :

proxy 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 0x835C1a40fe460F604Af409ECCB0fAE540fD5609c BoxV1 0x835C1a40fe460F604Af409ECCB0fAE540fD5609c BoxV2 0xF81517120Ac41F0d884EC182aaE7Bef102c83d1c

make deploy ARGS="--network sepolia" make upgrade ARGS="--network sepolia"

source .env

cast call 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 "getNumber()" --rpc-url $SEPOLIA_RPC_URL 0x0000000000000000000000000000000000000000000000000000000000000000

cast call 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 "version()" --rpc-url $SEPOLIA_RPC_URL --private-k ey $PRIVATE_KEY 0x0000000000000000000000000000000000000000000000000000000000000001

make upgrade ARGS="--network sepolia"

cast call 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 "version()" --rpc-url $SEPOLIA_RPC_URL --private-key $PRIVATE_KEY 0x0000000000000000000000000000000000000000000000000000000000000002

cast send 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 "setNumber(uint256)" 888 --rpc-url $SEPOLIA_RPC_URL --private-key $PRIVATE_KEY

cast call 0x90D6462c5bB2651a79f0256BCc3Fd0dB494351c6 "getNumber()" --rpc-url $SEPOLIA_RPC_URL 0x0000000000000000000000000000000000000000000000000000000000000378

cast call 0x0BDA3AC90cAbACB62A2a5fFC5c0D738CeEa9455d "getNumber()" --rpc-url $SEPOLIA_RPC_URL 0x0000000000000000000000000000000000000000000000000000000000000378 cast --to-base 0x0000000000000000000000000000000000000000000000000000000000000378 dec