Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2fcb69b
commit
AlbertoMolinaIoBuilders Jul 25, 2025
b823211
commit
AlbertoMolinaIoBuilders Jul 25, 2025
4185642
ERC20Votes interface and layer 1 added
AlbertoMolinaIoBuilders Jul 25, 2025
2a0264b
afterTokenTransfer added + layer 0 inheritance updated
AlbertoMolinaIoBuilders Jul 25, 2025
7d48a85
inheritance updated. ERC20Votes at the end
AlbertoMolinaIoBuilders Jul 25, 2025
13893da
layer 0 erc20votes started
AlbertoMolinaIoBuilders Jul 25, 2025
1dd66c6
afterToken includes activate
AlbertoMolinaIoBuilders Jul 25, 2025
b4d1ca5
events added to ERC20Votes internal
AlbertoMolinaIoBuilders Jul 25, 2025
a0e52c7
clock fixed
AlbertoMolinaIoBuilders Jul 25, 2025
1037cb7
ERC20Votes interfaces changed
AlbertoMolinaIoBuilders Jul 25, 2025
bef7416
code size slightly reduced
AlbertoMolinaIoBuilders Jul 25, 2025
c856b8c
abaf added to checkpoints
AlbertoMolinaIoBuilders Jul 25, 2025
74d7da9
code refactored
AlbertoMolinaIoBuilders Jul 25, 2025
9a1d12d
code refactored
AlbertoMolinaIoBuilders Jul 25, 2025
f6d6a7e
bugs fixed
AlbertoMolinaIoBuilders Jul 28, 2025
6a4c6bd
block.number replace with local context method
AlbertoMolinaIoBuilders Jul 28, 2025
81f936d
TimeTravel updated with block.Number
AlbertoMolinaIoBuilders Jul 28, 2025
369818c
Factory updated with erc20Votes acitvated flag
AlbertoMolinaIoBuilders Jul 28, 2025
97170fd
time travel updated
AlbertoMolinaIoBuilders Jul 28, 2025
4c7b4eb
erc20Votes initialization
AlbertoMolinaIoBuilders Jul 28, 2025
dfebe57
erc20Votes pause modifier added
AlbertoMolinaIoBuilders Jul 28, 2025
46f03c2
tests scripts adapted
AlbertoMolinaIoBuilders Jul 28, 2025
9803eb3
bugs fixed and some tests erc20Votes added
AlbertoMolinaIoBuilders Jul 29, 2025
b11d69e
all tests added. OZsignature fails
AlbertoMolinaIoBuilders Jul 29, 2025
38ab3ee
console.log removed
AlbertoMolinaIoBuilders Jul 29, 2025
d312872
OZ tests added
AlbertoMolinaIoBuilders Jul 30, 2025
cef38d4
delegateSig cmmented out
AlbertoMolinaIoBuilders Jul 31, 2025
6803e7a
OZ tests removed
AlbertoMolinaIoBuilders Jul 31, 2025
07d4239
Merge remote-tracking branch 'origin/main' into feature/871-ERC20Votes
AlbertoMolinaIoBuilders Aug 13, 2025
9a1c187
ERC20Permit contract name, version and initializer added
AlbertoMolinaIoBuilders Aug 13, 2025
fa9e33e
feat: add mass payout application and related root configurations
MiguelLZPF Aug 14, 2025
06ba826
refactor: move contracts to new folder structure
MiguelLZPF Aug 14, 2025
abfe963
refactor: move sdk to new folder structure
MiguelLZPF Aug 14, 2025
9778116
refactor: move web to new folder structure
MiguelLZPF Aug 14, 2025
6220351
feat: test and fix build
MiguelLZPF Aug 14, 2025
99be19e
refactor: clean install and format
MiguelLZPF Aug 14, 2025
159e10a
refactor: reorganize error declarations and improve function structur…
MiguelLZPF Aug 14, 2025
4d92534
refactor: remove unused imports and improve type definitions across c…
MiguelLZPF Aug 14, 2025
a684dff
fix: sdk build and linter issues
MiguelLZPF Aug 14, 2025
ce503b2
refactor: improve type safety in SDKConnection and update package.jso…
MiguelLZPF Aug 14, 2025
73cef7c
fix: import
MiguelLZPF Aug 14, 2025
f7aba67
fix: use monorepo's files to fix build
MiguelLZPF Aug 14, 2025
5fa136f
fix: web test mocks
MiguelLZPF Aug 14, 2025
fe22222
Merge remote-tracking branch 'origin/main' into refactor/BBND-1075-wo…
MiguelLZPF Aug 14, 2025
315a70c
chore: add commitlint and pre-commit hooks for improved commit messag…
MiguelLZPF Aug 14, 2025
b328e39
chore: update pull request template and add ATS and Mass Payout test …
MiguelLZPF Aug 14, 2025
790c216
test: add update command for web tests in package.json
MiguelLZPF Aug 14, 2025
890d688
docs: update documentation for monorepo structure and commands, add m…
MiguelLZPF Aug 18, 2025
9848da0
chore: update .gitignore to rename Kiro files section to AI files and…
MiguelLZPF Aug 18, 2025
0c20d35
chore: added winston
themariofrancia Aug 18, 2025
27b80ea
chore: remove unused files
themariofrancia Aug 18, 2025
e1dba69
Merge remote-tracking branch 'origin/refactor/BBND-1075-workspaces-mi…
AlbertoMolinaIoBuilders Aug 18, 2025
6c4a244
feat: sdk web minimum changes added
AlbertoMolinaIoBuilders Aug 18, 2025
603a12c
erc3643 split done (#566)
AlbertoMolinaIoBuilders Aug 19, 2025
83e2454
fix: sdk adapted
AlbertoMolinaIoBuilders Aug 19, 2025
3f56986
feature: beneficiaries facet added
AlbertoMolinaIoBuilders Aug 21, 2025
6e4e451
beneficiaries using external lists
AlbertoMolinaIoBuilders Aug 21, 2025
1d20006
factory updated with beneficiaries
AlbertoMolinaIoBuilders Aug 21, 2025
beff4f9
factory updated
AlbertoMolinaIoBuilders Aug 21, 2025
e7b4926
beneficiaries time travel
AlbertoMolinaIoBuilders Aug 21, 2025
b229450
scripts updated
AlbertoMolinaIoBuilders Aug 21, 2025
56fd128
updateBeneficiaryData added
AlbertoMolinaIoBuilders Aug 22, 2025
2a87df9
beneficiaries tests added
AlbertoMolinaIoBuilders Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
open-pull-requests-limit: 10
versioning-strategy: increase
ignore:
# For all packages, ignore all minor & patch updates
- dependency-name: "*"
- dependency-name: '*'
update-types:
[ "version-update:semver-minor", "version-update:semver-patch" ]
['version-update:semver-minor', 'version-update:semver-patch']
28 changes: 14 additions & 14 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Fixes #(issue)

## Type of change

- [ ] Bug fix 🐞
- [ ] New feature ✨
- [ ] Breaking change πŸ’₯
- [ ] Documentation update πŸ“–
- [ ] Refactor πŸ”§
- [ ] Bug fix 🐞
- [ ] New feature ✨
- [ ] Breaking change πŸ’₯
- [ ] Documentation update πŸ“–
- [ ] Refactor πŸ”§

## Testing

Expand All @@ -42,15 +42,15 @@ For example:

**Node version**:

- [ ] 20
- [ ] 22
- [ ] 24
- [ ] 20
- [ ] 22
- [ ] 24

## Checklist

- [ ] Style Guidelines followed βœ…
- [ ] Documentation Updated πŸ“š
- [ ] **Linters** - No New Warnings ⚠️
- [ ] Local Tests Pass βœ…
- [ ] Effective Tests Added βœ”οΈ
- [ ] No reduction of **Coverage** βœ…
- [ ] Style Guidelines followed βœ…
- [ ] Documentation Updated πŸ“š
- [ ] **Linters** - No New Warnings ⚠️
- [ ] Local Tests Pass βœ…
- [ ] Effective Tests Added βœ”οΈ
- [ ] No reduction of **Coverage** βœ…
32 changes: 19 additions & 13 deletions .github/workflows/all.publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publishing

on:
release:
types:
- published

permissions:
contents: read

Expand All @@ -11,9 +13,6 @@ jobs:
name: Publish NPM Packages
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
Expand All @@ -32,24 +31,31 @@ jobs:
run: |
touch .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
cp .npmrc ./contracts/.npmrc
cp .npmrc ./sdk/.npmrc
cp .npmrc ./packages/ats/contracts/.npmrc
cp .npmrc ./packages/ats/sdk/.npmrc

- name: Change references
run: ./changeProjectsReferencesToRepo.sh

- name: Install contracts dependencies
run: npm run install:contracts
- name: Install dependencies
run: npm ci

- name: Publish contracts package
run: npm run publish:contracts --access=public
# --- ATS publishing ---
- name: Publish ats/contracts
if: contains(github.ref_name, 'ats')
run: npm run publish:ats:contracts --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install sdk dependencies
run: npm run install:sdk
- name: Publish ats/sdk
if: contains(github.ref_name, 'ats')
run: npm run publish:ats:sdk --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish sdk package
run: npm run publish:sdk --access=public
# --- Mass Payout publishing ---
- name: Publish mass-payout
if: contains(github.ref_name, 'mp')
run: npm run publish:mass-payout --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
105 changes: 0 additions & 105 deletions .github/workflows/all.test.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/ats.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Tests ATS

on:
push:
branches: [main]
pull_request:
paths:
- 'packages/ats/**'
- 'apps/ats/**'
- 'package.json'
- '.github/workflows/*ats*.yml'
- '.github/workflows/*ats*.yaml'
workflow_dispatch:

permissions:
contents: read

jobs:
test-ats:
name: testing
runs-on: token-studio-linux-large
env:
NODE_OPTIONS: '--max-old-space-size=32768'
CONTRACT_SIZER_RUN_ON_COMPILE: 'false'
REPORT_GAS: 'false'
CLIENT_PRIVATE_KEY_ECDSA_1: ${{ secrets.CLIENT_PRIVATE_KEY_ECDSA_1 }}
CLIENT_PUBLIC_KEY_ECDSA_1: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_1 }}
CLIENT_ACCOUNT_ID_ECDSA_1: '0.0.1328'
CLIENT_EVM_ADDRESS_ECDSA_1_CORRECT: '0x97C50bb12E1C6284cF2855cdba95c5D60AEE44CF'
CLIENT_EVM_ADDRESS_ECDSA_1: '0x0000000000000000000000000000000000000530'
CLIENT_PRIVATE_KEY_ECDSA_2: ${{ secrets.CLIENT_PRIVATE_KEY_ECDSA_2 }}
CLIENT_PUBLIC_KEY_ECDSA_2: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
CLIENT_ACCOUNT_ID_ECDSA_2: '0.0.2168740'
CLIENT_EVM_ADDRESS_ECDSA_2: '0x00000000000000000000000000000000002117A4'
FACTORY_ADDRESS: '0.0.5480051'
RESOLVER_ADDRESS: '0.0.5479997'
FIREBLOCKS_HEDERA_ACCOUNT_ID: '0.0.2168740'
FIREBLOCKS_HEDERA_PUBLIC_KEY: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
DFNS_HEDERA_ACCOUNT_ID: '0.0.2168740'
DFNS_WALLET_PUBLIC_KEY: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
AWS_KMS_HEDERA_ACCOUNT_ID: '0.0.4394946'
AWS_KMS_HEDERA_PUBLIC_KEY: '302d300706052b8104000a03220003ee815bb9b5e53f5dbe7264a77e586127dfcb75da8c1246f5aa6ededdb13e6c21'
REACT_APP_MIRROR_NODE: 'https://testnet.mirrornode.hedera.com/api/v1/'
REACT_APP_RPC_NODE: 'https://testnet.hashio.io/api'
REACT_APP_RESOLVER: '0.0.5479997'
REACT_APP_FACTORY: '0.0.5480051'
REACT_APP_SHOW_DISCLAIMER: 'true'
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup NodeJS Environment
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22.x

- name: Install dependencies
run: npm ci

- name: Build ATS packages
run: npm run ats:build

- name: Run ATS tests
run: npm run ats:test

- name: Upload coverage report
if: ${{ !cancelled() && always() }}
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
71 changes: 71 additions & 0 deletions .github/workflows/mp.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Tests Mass Payout

on:
push:
branches: [main]
pull_request:
paths:
- 'packages/mass-payout/**'
- 'apps/mass-payout/**'
- 'package.json'
- '.github/workflows/*mp*.yml'
- '.github/workflows/*mp*.yaml'
workflow_dispatch:

permissions:
contents: read

jobs:
test-mass-payout:
name: testing
runs-on: token-studio-linux-large
env:
NODE_OPTIONS: '--max-old-space-size=32768'
CONTRACT_SIZER_RUN_ON_COMPILE: 'false'
REPORT_GAS: 'false'
CLIENT_PRIVATE_KEY_ECDSA_1: ${{ secrets.CLIENT_PRIVATE_KEY_ECDSA_1 }}
CLIENT_PUBLIC_KEY_ECDSA_1: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_1 }}
CLIENT_ACCOUNT_ID_ECDSA_1: '0.0.1328'
CLIENT_EVM_ADDRESS_ECDSA_1_CORRECT: '0x97C50bb12E1C6284cF2855cdba95c5D60AEE44CF'
CLIENT_EVM_ADDRESS_ECDSA_1: '0x0000000000000000000000000000000000000530'
CLIENT_PRIVATE_KEY_ECDSA_2: ${{ secrets.CLIENT_PRIVATE_KEY_ECDSA_2 }}
CLIENT_PUBLIC_KEY_ECDSA_2: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
CLIENT_ACCOUNT_ID_ECDSA_2: '0.0.2168740'
CLIENT_EVM_ADDRESS_ECDSA_2: '0x00000000000000000000000000000000002117A4'
FACTORY_ADDRESS: '0.0.5480051'
RESOLVER_ADDRESS: '0.0.5479997'
FIREBLOCKS_HEDERA_ACCOUNT_ID: '0.0.2168740'
FIREBLOCKS_HEDERA_PUBLIC_KEY: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
DFNS_HEDERA_ACCOUNT_ID: '0.0.2168740'
DFNS_WALLET_PUBLIC_KEY: ${{ secrets.CLIENT_PUBLIC_KEY_ECDSA_2 }}
AWS_KMS_HEDERA_ACCOUNT_ID: '0.0.4394946'
AWS_KMS_HEDERA_PUBLIC_KEY: '302d300706052b8104000a03220003ee815bb9b5e53f5dbe7264a77e586127dfcb75da8c1246f5aa6ededdb13e6c21'
REACT_APP_MIRROR_NODE: 'https://testnet.mirrornode.hedera.com/api/v1/'
REACT_APP_RPC_NODE: 'https://testnet.hashio.io/api'
REACT_APP_RESOLVER: '0.0.5479997'
REACT_APP_FACTORY: '0.0.5480051'
REACT_APP_SHOW_DISCLAIMER: 'true'
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup NodeJS Environment
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22.x

- name: Install dependencies
run: npm ci

# - name: Build mass-payout
# run: npm run mp:build

# - name: Test mass-payout
# run: npm run mp:test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ asset-tokenization-studio.iml
# IntelliJ Idea
/.idea/

# Kiro files
# AI files
.kiro/
CLAUDE.md

# Extracted methods from contracts
contracts/extracted-methods.txt
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run commitlint
Loading
Loading