> For the complete documentation index, see [llms.txt](https://tilepmoney.gitbook.io/tilepmoney-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tilepmoney.gitbook.io/tilepmoney-docs/core-concepts/node-types.md).

# Node Types

## Node Types

TilepMoney provides 9 specialized node types that can be combined to create complex stablecoin workflows. Each node type serves a specific purpose in the payment orchestration flow.

### Node Overview

| Node               | Category | Inputs            | Outputs            | Purpose                             |
| ------------------ | -------- | ----------------- | ------------------ | ----------------------------------- |
| **Deposit**        | Input    | None              | Fiat (Database)    | Simulate fiat funding entry point.  |
| **Mint**           | Asset    | Fiat              | Stablecoin (mUSDT) | Tokenize fiat into on-chain assets. |
| **Swap**           | DeFi     | Any Token         | Different Token    | Exchange assets via DEX.            |
| **Bridge**         | Infra    | Stablecoin        | Wrapped Token      | Move assets across chains.          |
| **Yield Deposit**  | DeFi     | Stablecoin        | Protocol Position  | Earn interest on idle assets.       |
| **Yield Withdraw** | DeFi     | Protocol Position | Underlying + Yield | Liquidate yield positions.          |
| **Redeem**         | Output   | Stablecoin        | Fiat (Database)    | Burn tokens to cash out.            |
| **Transfer**       | Output   | Any Token         | None               | Send funds to external wallets.     |
| **Partition**      | Logic    | Single Token      | Multiple Tokens    | Split flow by percentage.           |
| **Wait**           | Logic    | Any Token         | Same Token         | Pause execution for time.           |

### 💰 Asset Management Nodes

#### Deposit Node

**Purpose:** The entry point for funds into a workflow.

* **Function:** Accepts fiat or crypto deposits via integrated payment gateways or wallet transfers.
* **Use Case:** Receiving monthly revenue, accepting user funds, or funding a treasury operation.
* **Key Params:** Amount, Currency (USD/IDR), Gateway.

#### Mint Node

**Purpose:** Creating wrapped or protocol-specific tokens.

* **Function:** Interact with an issuer contract to mint new tokens (e.g., mUSDT) backed by collateral.
* **Use Case:** Tokenizing real-world assets or minting stablecoins for internal ecosystem use.
* **Key Params:** Amount, Issuer Contract.

#### Redeem Node

**Purpose:** Burning tokens to retrieve underlying assets.

* **Function:** The reverse of Mint. Burns protocol tokens to release the backing asset.
* **Use Case:** Cashing out to fiat or unwrapping assets.
* **Key Params:** Amount, Currency Type.

#### Transfer Node

**Purpose:** Sends tokens to an external wallet or contract.

* **Function:** Executes a blockchain transaction to transfer ERC-20 tokens or native assets.
* **Use Case:** Paying vendors, distributing salaries, or moving funds to cold storage.
* **Key Params:** Recipient Address, Amount, Token.

***

### 💱 DeFi Actions

#### Swap Node

**Purpose:** Exchanges one token for another.

* **Function:** Routes trades through optimal DEXs (e.g., Uniswap, Merchant Moe) to get the best price.
* **Use Case:** Converting revenue (USDT) to gas (ETH) or hedging currency risk (USD -> EUR).
* **Key Params:** Input Token, Output Token, Slippage Tolerance.

#### Yield Deposit Node

**Purpose:** Earning interest on idle assets.

* **Function:** Deposits tokens into yield-generating protocols (e.g., Aave, Compound, Init Capital).
* **Use Case:** Growing treasury funds or holding escrowed money in a productive state.
* **Key Params:** Underlying Token, Protocol Adapter.

#### Yield Withdraw Node

**Purpose:** Exiting a yield position.

* **Function:** Withdraws principal and accrued interest from a yield protocol.
* **Use Case:** Liquidating a treasury position when funds are needed for operations.
* **Key Params:** Share Token, Amount.

***

### 🌉 Infrastructure

#### Bridge Node

**Purpose:** Moving assets across blockchains.

* **Function:** Uses protocols like Hyperlane or LayerZero to transfer tokens between networks (e.g., Mantle to Base).
* **Use Case**: Refilling gas on operation chains or aggregating funds from multiple L2s.
* **Key Params:** Destination Chain, Bridge Provider.

***

### 🧠 Logic & Control

#### Partition Node

**Purpose:** Splitting a workflow into multiple paths.

* **Function:** Divides the flow based on percentage allocations (e.g., 70/30 split).
* **Use Case**: Revenue sharing, tax provisioning, or diversified investment portfolios.
* **Key Params:** Number of Branches, Percentage per Branch.

#### Wait Node

**Purpose:** Pausing execution for a set duration.

* **Function:** Holds the workflow state for a specified time (days, hours) before continuing.
* **Use Case**: Escrow holding periods, vesting schedules, or delayed payments.
* **Key Params:** Duration, Unit (Days/Hours/Minutes).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tilepmoney.gitbook.io/tilepmoney-docs/core-concepts/node-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
