Skip to content

Commit a28d371

Browse files
committed
feat(docs): add DirectMintingExecuted event details to IAssetManagerEvents documentation
1 parent 26adeb4 commit a28d371

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

docs/fassets/reference/IAssetManagerEvents.mdx

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_position: 3
77

88
`IAssetManagerEvents` is an interface that defines the events emitted by the [`IAssetManager`](/fassets/reference/IAssetManager) contract.
99

10-
Sourced from `IAssetManagerEvents.sol` on [GitHub](https://github.com/flare-foundation/fassets/blob/main/contracts/userInterfaces/IAssetManagerEvents.sol).ā
10+
Sourced from `IAssetManagerEvents.sol` on [GitHub](https://github.com/flare-foundation/fassets/blob/main/contracts/userInterfaces/IAssetManagerEvents.sol).
1111

1212
## Event Categories
1313

@@ -118,6 +118,30 @@ event MintingExecuted(
118118
);
119119
```
120120

121+
### `DirectMintingExecuted`
122+
123+
Emitted when a direct minting payment is confirmed and FAssets are minted to the target address.
124+
125+
Parameters:
126+
127+
- `transactionId`: Identifier of the direct minting transaction
128+
- `targetAddress`: Address that receives the minted FAssets
129+
- `executor`: Address of the executor that submitted the minting proof
130+
- `mintedAmountUBA`: Amount of FAssets minted in the underlying base amount
131+
- `mintingFeeUBA`: Minting fee in the underlying base amount
132+
- `executorFeeUBA`: Fee paid to the executor in the underlying base amount
133+
134+
```solidity
135+
event DirectMintingExecuted(
136+
bytes32 transactionId,
137+
address targetAddress,
138+
address executor,
139+
uint256 mintedAmountUBA,
140+
uint256 mintingFeeUBA,
141+
uint256 executorFeeUBA
142+
);
143+
```
144+
121145
### `MintingPaymentDefault`
122146

123147
Emitted when a minter fails to pay the underlying funds in time.

0 commit comments

Comments
 (0)