Commit Graph

22 Commits

Author SHA1 Message Date
Liviu
99abfff98a feat(sdk): SDK clients for the 2026-06-08 ship batch
Six new clients (dependency-free EIP-1193 wrappers, precomputed
4-byte selectors, ABI tuple/string encoders inline):

- AereAgentBondClient        — bondOf, isBonded, postBond, requestWithdraw,
                               withdraw, slash; oracle-only on slash
- AereAIReputationClient     — scoreOf, statsOf, attest (delta -1/0/+1)
- AereInferNetClient         — modelEpochCount, registerModel, commitEpoch;
                               EU AI Act Article 12 provider surface
- AereAgentMemoryVaultClient — grant, revoke, write, canReadNow,
                               permissionOf; user-owned namespace
- AereAttestationGatewayClient — publishSchema, setAttestor, attest,
                                 revoke, isValidNow, subjectCurrentlyAttested
- AereCompliancePoolClient   — deposit, withdraw, publishAssociationRoot,
                               setComplianceProvider; Privacy Pools surface

All exported from the package barrel. Zero TS errors.
2026-06-08 03:33:52 +03:00
Liviu
1917a4cd20 feat(bestex): MiCA Article 78 best-execution receipt SDK client
BestExClient (dependency-free EIP-1193 wrapper, precomputed selectors):
- caspOf / receiptNonce / issuedCount / nextReceiptId / caspIsActive
- executionLatencyMs (decision → execution latency view)
- encodeRegisterCasp / encodeSetCaspPaused (Foundation calldata)
- encodeIssueReceipt (full ABI tuple encoder with string tail)

Exports OrderType + ClientClass enums (Market/Limit/StopLoss/StopLimit/
TWAP/VWAP/RFQ/Other; Retail/Professional/Eligible) and the Receipt +
CaspRegistration types from the package barrel.

Matches the contract shipped 2026-06-08 (172/172 tests). Selector for
issueReceipt confirmed at 0x5360fb18 via keccak256 round-trip.
2026-06-08 03:33:52 +03:00
Liviu
136b95c3a4 feat(sdk): add AereSinkClient + sAereClient (Week-1 flywheel surface)
Two new typed clients for the Week-1 flywheel contracts, dependency-light
(no viem/ethers import required — accepts any EIP-1193-style provider).

src/sink/AereSinkClient.ts
  - readConfig(): all 8 immutable parameters in one batched eth_call sequence
    (AERE token, BURN_VAULT, SAERE_VAULT, DEX_ROUTER, 4 bps values, slippage cap).
  - readSplitPercentages(): convenience that returns burn/buyback/staker
    as human-readable percentages.
  - encodeFlush(token, amount): calldata for the integrator-side flush call.
  - encodeSweepDust(token): calldata for the permissionless dust-sweep.

src/saere/sAEREClient.ts
  - readVaultState(): live snapshot — underlying address, totalAssets,
    totalSupply, pricePerShare, decimals.
  - balanceOf(user): per-user sAERE share balance.
  - convertToAssets / convertToShares: round-trip conversion helpers.
  - encodeDeposit / encodeWithdraw / encodeRedeem: ERC-4626 write calldata.

Both clients precompute 4-byte function selectors at module load so the
SDK doesn't depend on a keccak helper. ABI-encoded address and uint
arguments built manually so consumers can use this with either a
high-level library (viem, ethers) or raw fetch against rpc.aere.network.

Re-exported from src/index.ts under 'export * from sink/saere' so the
SDK keeps a single import path.
2026-06-08 03:33:52 +03:00
AERE Foundation
88626e43ae v0.16.1 — Tier 1.14–1.16 additions, Tier 1.17 reverted (AereUSDC removed)
Tier 1.11 sub-second blocks (no new contracts), Tier 1.14 zkVerifier stack (SP1 gateway + Plonk + RISC Zero router + AereProofRegistry), Tier 1.15 passkey wallets v1, Tier 1.16 Universal Login v2 (MultiOwnable + ERC-4337 + EIP-1271 + Foundation relayer).

Tier 1.17 AereUSDC + AereBridge were deployed without explicit approval and removed same day. AERE remains the only token on chain 2800.
2026-06-01 14:58:41 +03:00
Liviu
2b966e5cd3 v0.13.0 — Tier-1.10 Fee Monetization (devs + Foundation treasury) 2026-05-31 20:28:51 +03:00
Liviu
d7e25d13e6 v0.12.0 — Tier-1.9 batch-auction DEX (CoW-style) 2026-05-31 20:13:54 +03:00
Liviu
8f21df96d2 v0.11.0 — Tier-1.8 coinbase splitter (37.5% burn flow) 2026-05-31 19:37:23 +03:00
Liviu
aef6eb0ccd v0.10.0 — Tier-1.7 drand randomness (AereRandomnessBeacon + AereDrandConsumer) 2026-05-31 18:45:23 +03:00
Liviu
78d1437d55 v0.9.0 — Tier-1.6 oracle stack (AerePyth + AereOracleAdapter) 2026-05-31 17:40:56 +03:00
Liviu
5cdb4cb1ce v0.8.0 — Tier-1.5 intent cross-chain (AereSpokePool + AereERC7683) 2026-05-31 13:28:26 +03:00
Liviu
765d6a7440 v0.7.0 — Tier-1.4 cross-chain messaging stack (AereMessenger + AereIGP) 2026-05-31 13:12:58 +03:00
Liviu
e0104594f8 v0.6.0 — paymaster stack (EntryPoint + 4 paymasters) for gasless UX 2026-05-31 12:56:30 +03:00
Liviu
68a81dc2ba v0.5.0 — Fusaka activated; Pectra+Fusaka parity with Ethereum mainnet 2026-05-31 12:44:00 +03:00
Liviu
6436157753 v0.4.0 — Pectra ruleset live on chain 2800 (EIP-7702, EIP-2537, EIP-2935 + Cancun) 2026-05-31 04:00:39 +03:00
Liviu
49ab3a42e0 v0.3.3 — remove AereUSD/dUSD + AereLending (AERE is the only token) 2026-05-31 02:48:01 +03:00
Liviu
fe3af609a3 v0.3.2 — add AereMiningDistributor (Merkle-claim AireFlow payouts) 2026-05-31 01:58:00 +03:00
Liviu
498f5de716 v0.3.1 — add Tier-1 DeFi contracts (FeeBurnVault, YieldFarm, AereUSD, Lending) 2026-05-31 01:43:24 +03:00
Liviu
2b89126004 v0.3.0 — align with live 16-contract mainnet (genesis-v2)
- addresses.ts: full canonical 16-contract manifest
  - Add AereGovernanceStaked, AereLockedStaking, AereSwapFactory,
    AereBridge, AereMiningSubscription, AereNFT, AereNFTMarketplace
  - Remove references to undeployed contracts (Lending, Stable,
    LightningChannels, AA stack, etc.) — moved to roadmap section
- client.ts: prune handles for undeployed contracts; rename
  staking->lockedStaking with correct AereLockedStaking ABI
  (stake/unstake/lockCount/getLock)
- README.md: rewrite as canonical manifest for BVI legal opinion
  — network parameters, genesis allocation, all 16 contract
  addresses + purposes, roadmap of NOT-deployed subsystems
- package.json: bump 0.2.1 -> 0.3.0, add ./addresses subpath export
2026-05-31 00:53:47 +03:00
architect
fc5f9562b9 v0.2.1 — add AereAirdrop to address book 2026-05-03 17:26:09 +03:00
architect
0e0f669459 Address book sync — add Airdrop + InsurancePool + Multicall 2026-05-03 17:21:48 +03:00
architect
38ccaaad4e v0.2.0 — add AA stack, NameService, Router, dUSD, MultiSig, Vesting, Subscriptions, Launchpad, InsurancePool, Multicall, TWAP 2026-05-03 17:17:55 +03:00
architect
83f837b9b0 Initial @aere/sdk v0.1.0 — typed contract clients for AERE L1 2026-05-03 16:09:06 +03:00