Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paymaster SC #24

Merged
merged 13 commits into from
Oct 3, 2023
Merged

Paymaster SC #24

merged 13 commits into from
Oct 3, 2023

Conversation

CostinCarabas
Copy link
Contributor

No description provided.

contracts/paymaster/src/forward_call.rs Outdated Show resolved Hide resolved
contracts/paymaster/src/paymaster.rs Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Sep 28, 2023

Contract comparison - from d23e2a8 to 64c591f

Path                                                                                             size                  has-allocator                     has-format
mx-contracts-rs/contracts
- adder/adder.wasm 687 ➡️ 685 🟢 No No
- bonding-curve-contract/bonding-curve-contract.wasm 15606 No No
- check-pause/check-pause.wasm 1227 No No
- crowdfunding-esdt/crowdfunding-esdt.wasm 3612 No No
- crypto-bubbles/crypto-bubbles.wasm 2364 No No
- crypto-zombies/crypto-zombies.wasm 11131 No No
- digital-cash/digital-cash.wasm 7370 No No
- empty/empty.wasm 232 No No
- esdt-transfer-with-fee/esdt-transfer-with-fee.wasm 9094 No No
- factorial/factorial.wasm 567 No No
- fractional-nfts/fractional-nfts.wasm 8712 No No
- liquid-locking/liquid-locking.wasm 10239 No No
- lottery-esdt/lottery-esdt.wasm 11385 No No
- multisig
- - multisig.wasm 15306 No No
- - multisig-full.wasm 17310 No No
- - multisig-view.wasm 7699 No No
- mystery-box/mystery-box.wasm 13804 No No
- nft-minter/nft-minter.wasm 10210 No No
- nft-storage-prepay/nft-storage-prepay.wasm 2293 No No
- ping-pong-egld/ping-pong-egld.wasm 6696 No No
- price-aggregator/multiversx-price-aggregator-sc.wasm 20328 No No
- proxy-pause/proxy-pause.wasm 5753 No No
- rewards-distribution/rewards-distribution.wasm 11259 No No
- seed-nft-minter/seed-nft-minter.wasm 15343 No No
- token-release/token-release.wasm 8466 No No
- wegld-swap/multiversx-wegld-swap-sc.wasm 4382 No No
- paymaster/paymaster.wasm N/A ➡️ 7045 ⚠️ N/A ➡️ No ⚠️ N/A ➡️ No ⚠️
mx-contracts-rs/contracts/crypto-kitties
- kitty-auction/kitty-auction.wasm 11132 No No
- kitty-genetic-alg/kitty-genetic-alg.wasm 3584 No No
- kitty-ownership/kitty-ownership.wasm 14005 No No
mx-contracts-rs/contracts/order-book
- factory/order-book-factory.wasm 4995 No No
- pair/order-book-pair.wasm 16426 No No

sasurobert
sasurobert previously approved these changes Sep 29, 2023
Comment on lines +26 to +32
let fee_payment = payments.get(FEE_PAYMENT);
self.send().direct_esdt(
&relayer_addr,
&fee_payment.token_identifier,
0,
&fee_payment.amount,
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you check that the fee is equal to some amount?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is checked at the relayer level.

@sasurobert sasurobert merged commit fab80e1 into main Oct 3, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants