mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 05:59:23 +00:00
fix CI issues
This commit is contained in:
@@ -56,6 +56,8 @@ exceptions = [
|
|||||||
{ allow = ["AGPL-3.0"], name = "serai-coins-pallet" },
|
{ allow = ["AGPL-3.0"], name = "serai-coins-pallet" },
|
||||||
{ allow = ["AGPL-3.0"], name = "serai-dex-pallet" },
|
{ allow = ["AGPL-3.0"], name = "serai-dex-pallet" },
|
||||||
|
|
||||||
|
{ allow = ["AGPL-3.0"], name = "serai-genesis-liquidity-pallet" },
|
||||||
|
|
||||||
{ allow = ["AGPL-3.0"], name = "serai-in-instructions-pallet" },
|
{ allow = ["AGPL-3.0"], name = "serai-in-instructions-pallet" },
|
||||||
|
|
||||||
{ allow = ["AGPL-3.0"], name = "serai-validator-sets-pallet" },
|
{ allow = ["AGPL-3.0"], name = "serai-validator-sets-pallet" },
|
||||||
|
|||||||
19
substrate/abi/src/genesis_liquidity.rs
Normal file
19
substrate/abi/src/genesis_liquidity.rs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
use serai_primitives::*;
|
||||||
|
|
||||||
|
#[derive(Clone, PartialEq, Eq, Debug, scale::Encode, scale::Decode, scale_info::TypeInfo)]
|
||||||
|
#[cfg_attr(feature = "borsh", derive(borsh::BorshSerialize, borsh::BorshDeserialize))]
|
||||||
|
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||||
|
pub enum Call {
|
||||||
|
// This call is just a place holder so that abi works as expected.
|
||||||
|
empty_call,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Clone, PartialEq, Eq, Debug, scale::Encode, scale::Decode, scale_info::TypeInfo)]
|
||||||
|
#[cfg_attr(feature = "borsh", derive(borsh::BorshSerialize, borsh::BorshDeserialize))]
|
||||||
|
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||||
|
pub enum Event {
|
||||||
|
GenesisLiquidityAdded { by: SeraiAddress, balance: Balance },
|
||||||
|
GenesisLiquidityRemoved { by: SeraiAddress, balance: Balance },
|
||||||
|
GenesisLiquidityAddedToPool { coin1: Balance, coin2: Balance },
|
||||||
|
EconomicSecurityReached { network: NetworkId },
|
||||||
|
}
|
||||||
@@ -11,6 +11,8 @@ pub mod validator_sets;
|
|||||||
pub mod in_instructions;
|
pub mod in_instructions;
|
||||||
pub mod signals;
|
pub mod signals;
|
||||||
|
|
||||||
|
pub mod genesis_liquidity;
|
||||||
|
|
||||||
pub mod babe;
|
pub mod babe;
|
||||||
pub mod grandpa;
|
pub mod grandpa;
|
||||||
|
|
||||||
@@ -24,6 +26,7 @@ pub enum Call {
|
|||||||
Coins(coins::Call),
|
Coins(coins::Call),
|
||||||
LiquidityTokens(coins::Call),
|
LiquidityTokens(coins::Call),
|
||||||
Dex(dex::Call),
|
Dex(dex::Call),
|
||||||
|
GenesisLiquidity(genesis_liquidity::Call),
|
||||||
ValidatorSets(validator_sets::Call),
|
ValidatorSets(validator_sets::Call),
|
||||||
InInstructions(in_instructions::Call),
|
InInstructions(in_instructions::Call),
|
||||||
Signals(signals::Call),
|
Signals(signals::Call),
|
||||||
@@ -45,6 +48,7 @@ pub enum Event {
|
|||||||
Coins(coins::Event),
|
Coins(coins::Event),
|
||||||
LiquidityTokens(coins::Event),
|
LiquidityTokens(coins::Event),
|
||||||
Dex(dex::Event),
|
Dex(dex::Event),
|
||||||
|
GenesisLiquidity(genesis_liquidity::Event),
|
||||||
ValidatorSets(validator_sets::Event),
|
ValidatorSets(validator_sets::Event),
|
||||||
InInstructions(in_instructions::Event),
|
InInstructions(in_instructions::Event),
|
||||||
Signals(signals::Event),
|
Signals(signals::Event),
|
||||||
|
|||||||
Reference in New Issue
Block a user