@@ -4,7 +4,11 @@ import { EvmAddress } from "./entities/evm/address"
44import { EvmBlock } from "./entities/evm/block"
55import { EvmTransaction } from "./entities/evm/transaction"
66import { EvmLog } from "./entities/evm/log"
7- import { AgentVaultCreated , AgentSettingChanged , SelfClose , VaultCollateralWithdrawalAnnounced , PoolTokenRedemptionAnnounced , UnderlyingWithdrawalAnnounced , UnderlyingWithdrawalConfirmed } from "./entities/events/agent"
7+ import {
8+ AgentVaultCreated , AgentSettingChanged , SelfClose ,
9+ VaultCollateralWithdrawalAnnounced , PoolTokenRedemptionAnnounced ,
10+ UnderlyingWithdrawalAnnounced , UnderlyingWithdrawalConfirmed
11+ } from "./entities/events/agent"
812import {
913 CollateralReserved , MintingExecuted ,
1014 MintingPaymentDefault , CollateralReservationDeleted ,
@@ -50,7 +54,7 @@ import { AssetManagerSettings, CoreVaultManagerSettings } from "./entities/state
5054import { FtsoPrice } from "./entities/state/price"
5155import { TokenBalance } from "./entities/state/balance"
5256import { UnderlyingBlock } from "./entities/underlying/block"
53- import { UnderlyingAddress } from "./entities/underlying/address"
57+ import { UnderlyingAddress , UnderlyingBalance } from "./entities/underlying/address"
5458import { UnderlyingReference } from "./entities/underlying/reference"
5559import { updateSchema } from "./utils"
5660import { MIN_DATABASE_POOL_CONNECTIONS , MAX_DATABASE_POOL_CONNECTIONS } from "../config/constants"
@@ -86,7 +90,7 @@ export const ORM_OPTIONS: Options<AbstractSqlDriver> = defineConfig({
8690 EscrowFinished , CoreVaultManagerCustodianAddressUpdated ,
8791 AssetManagerSettings , CoreVaultManagerSettings ,
8892 // underlying
89- UnderlyingBlock , UnderlyingReference , UnderlyingAddress
93+ UnderlyingBlock , UnderlyingReference , UnderlyingAddress , UnderlyingBalance
9094 ] ,
9195 pool : {
9296 min : MIN_DATABASE_POOL_CONNECTIONS ,
0 commit comments