refactor: rename generic metadata fields to specific names in multitenant models
- Rename metadata to user_metadata in TenantUser model - Rename metadata to usage_metadata in UsageRecord model - Rename metadata to invoice_metadata in Invoice model - Rename metadata to event_metadata in TenantAuditLog model - Update TenantManagementService to use event_metadata parameter name
This commit is contained in:
85
genesis_enhanced_template.yaml
Normal file
85
genesis_enhanced_template.yaml
Normal file
@@ -0,0 +1,85 @@
|
||||
description: Enhanced genesis template for AITBC with new features
|
||||
genesis:
|
||||
accounts:
|
||||
- address: "aitbc1genesis"
|
||||
balance: "10000000"
|
||||
- address: "aitbc1faucet"
|
||||
balance: "1000000"
|
||||
chain_type: topic
|
||||
consensus:
|
||||
algorithm: poa
|
||||
authorities:
|
||||
- "ait1devproposer000000000000000000000000000000"
|
||||
- "ait1aivalidator00000000000000000000000000000"
|
||||
- "ait1surveillance0000000000000000000000000000"
|
||||
block_time: 3
|
||||
max_validators: 100
|
||||
contracts: []
|
||||
description: Enhanced development network with AI trading, surveillance, analytics, and multi-chain features
|
||||
name: AITBC Enhanced Development Network
|
||||
parameters:
|
||||
block_reward: '2000000000000000000'
|
||||
max_block_size: 2097152
|
||||
max_gas_per_block: 15000000
|
||||
min_gas_price: 1000000000
|
||||
min_stake: 1000
|
||||
governance_threshold: "0.51"
|
||||
surveillance_threshold: "0.75"
|
||||
cross_chain_fee: "10000000000000000"
|
||||
privacy:
|
||||
access_control: permissioned
|
||||
require_invitation: false
|
||||
visibility: public
|
||||
encryption: "enabled"
|
||||
zk_proofs: "enabled"
|
||||
audit_logging: "enabled"
|
||||
purpose: development-with-new-features
|
||||
features:
|
||||
ai_trading_engine: true
|
||||
ai_surveillance: true
|
||||
advanced_analytics: true
|
||||
enterprise_integration: true
|
||||
multi_modal_ai: true
|
||||
zk_proofs: true
|
||||
cross_chain_bridge: true
|
||||
global_marketplace: true
|
||||
adaptive_learning: true
|
||||
performance_monitoring: true
|
||||
services:
|
||||
ai_trading_engine:
|
||||
port: 8010
|
||||
enabled: true
|
||||
config:
|
||||
models: ["mean_reversion", "momentum", "arbitrage"]
|
||||
risk_threshold: 0.02
|
||||
max_positions: 100
|
||||
ai_surveillance:
|
||||
port: 8011
|
||||
enabled: true
|
||||
config:
|
||||
risk_models: ["isolation_forest", "neural_network"]
|
||||
alert_threshold: 0.85
|
||||
retention_days: 30
|
||||
advanced_analytics:
|
||||
port: 8012
|
||||
enabled: true
|
||||
config:
|
||||
indicators: ["rsi", "macd", "bollinger", "volume"]
|
||||
update_interval: 60
|
||||
history_retention: 86400
|
||||
enterprise_gateway:
|
||||
port: 8013
|
||||
enabled: true
|
||||
config:
|
||||
max_tenants: 1000
|
||||
rate_limit: 1000
|
||||
auth_required: true
|
||||
economics:
|
||||
total_supply: "21000000000000000000000000"
|
||||
inflation_rate: "0.02"
|
||||
burn_rate: "0.01"
|
||||
treasury_allocation: "0.20"
|
||||
staking_allocation: "0.30"
|
||||
ecosystem_allocation: "0.25"
|
||||
team_allocation: "0.15"
|
||||
community_allocation: "0.10"
|
||||
Reference in New Issue
Block a user