chores: rename some contract name

This commit is contained in:
Ethan 2024-09-09 13:55:36 +08:00
parent 5c72898a0b
commit 20147c351e
8 changed files with 18 additions and 18 deletions

@ -11,8 +11,8 @@ var (
//go:embed mainnet/SlashContract
MainnetSlashContract string
//go:embed mainnet/SystemContract
MainnetSystemContract string
//go:embed mainnet/SystemRewardContract
MainnetSystemRewardContract string
//go:embed mainnet/LightClientContract
MainnetLightClientContract string
@ -53,8 +53,8 @@ var (
//go:embed mainnet/TimelockContract
MainnetTimelockContract string
//go:embed mainnet/TokenRecoverContract
MainnetTokenRecoverContract string
//go:embed mainnet/TokenRecoverPortalContract
MainnetTokenRecoverPortalContract string
)
// contract codes for Chapel upgrade
@ -66,8 +66,8 @@ var (
//go:embed chapel/SlashContract
ChapelSlashContract string
//go:embed chapel/SystemContract
ChapelSystemContract string
//go:embed chapel/SystemRewardContract
ChapelSystemRewardContract string
//go:embed chapel/LightClientContract
ChapelLightClientContract string
@ -108,8 +108,8 @@ var (
//go:embed chapel/TimelockContract
ChapelTimelockContract string
//go:embed chapel/TokenRecoverContract
ChapelTokenRecoverContract string
//go:embed chapel/TokenRecoverPortalContract
ChapelTokenRecoverPortalContract string
)
// contract codes for Rialto upgrade
@ -121,8 +121,8 @@ var (
//go:embed rialto/SlashContract
RialtoSlashContract string
//go:embed rialto/SystemContract
RialtoSystemContract string
//go:embed rialto/SystemRewardContract
RialtoSystemRewardContract string
//go:embed rialto/LightClientContract
RialtoLightClientContract string
@ -163,6 +163,6 @@ var (
//go:embed rialto/TimelockContract
RialtoTimelockContract string
//go:embed rialto/TokenRecoverContract
RialtoTokenRecoverContract string
//go:embed rialto/TokenRecoverPortalContract
RialtoTokenRecoverPortalContract string
)

@ -808,7 +808,7 @@ func init() {
{
ContractAddr: common.HexToAddress(SystemRewardContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.MainnetSystemContract,
Code: pascal.MainnetSystemRewardContract,
},
{
ContractAddr: common.HexToAddress(LightClientContract),
@ -878,7 +878,7 @@ func init() {
{
ContractAddr: common.HexToAddress(TokenRecoverPortalContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.MainnetTokenRecoverContract,
Code: pascal.MainnetTokenRecoverPortalContract,
},
},
}
@ -899,7 +899,7 @@ func init() {
{
ContractAddr: common.HexToAddress(SystemRewardContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.ChapelSystemContract,
Code: pascal.ChapelSystemRewardContract,
},
{
ContractAddr: common.HexToAddress(LightClientContract),
@ -969,7 +969,7 @@ func init() {
{
ContractAddr: common.HexToAddress(TokenRecoverPortalContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.ChapelTokenRecoverContract,
Code: pascal.ChapelTokenRecoverPortalContract,
},
},
}
@ -990,7 +990,7 @@ func init() {
{
ContractAddr: common.HexToAddress(SystemRewardContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.RialtoSystemContract,
Code: pascal.RialtoSystemRewardContract,
},
{
ContractAddr: common.HexToAddress(LightClientContract),
@ -1060,7 +1060,7 @@ func init() {
{
ContractAddr: common.HexToAddress(TokenRecoverPortalContract),
CommitUrl: "https://github.com/bnb-chain/bsc-genesis-contract/commit/3ad33b14299342779506125594db9660e993f3f8",
Code: pascal.RialtoTokenRecoverContract,
Code: pascal.RialtoTokenRecoverPortalContract,
},
},
}