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

Initial contract in aiken #1735

Closed
wants to merge 9 commits into from
Closed

Initial contract in aiken #1735

wants to merge 9 commits into from

Conversation

ffakenz
Copy link
Contributor

@ffakenz ffakenz commented Nov 5, 2024


  • CHANGELOG updated or not needed
  • Documentation updated or not needed
  • Haddocks updated or not needed
  • No new TODOs introduced or explained herafter

Copy link

github-actions bot commented Nov 5, 2024

Transaction cost differences

Script summary

Name Size (Bytes)
νInitial $${\color{green}-1027.00}$$
νCommit -
νHead -
μHead +397
νDeposit -

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 397 0.58 0.26 0.02
2 397 0.57 0.25 0.02
3 397 0.58 0.26 0.03
5 397 0.58 0.25 0.03
10 397 0.58 0.26 0.03

Commit transaction costs

UTxO Tx size % max Mem % max CPU Min fee ₳

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 - - - - -
2 - - - - -
3 - - - - -
4 - - +5.52 +2.03 +0.06
5 - - $${\color{green}-8.44}$$ $${\color{green}-3.12}$$ $${\color{green}-0.09}$$
6 - - $${\color{green}-9.31}$$ $${\color{green}-3.43}$$ $${\color{green}-0.10}$$
7 - - $${\color{green}-3.57}$$ $${\color{green}-1.30}$$ $${\color{green}-0.04}$$
8 - - $${\color{green}-2.28}$$ $${\color{green}-0.84}$$ $${\color{green}-0.02}$$
9 - - +12.03 +4.43 +0.13

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - $${\color{green}-0.32}$$ $${\color{green}-0.12}$$ $${\color{green}-0.01}$$
3 - - - -
5 - $${\color{green}-0.28}$$ $${\color{green}-0.11}$$ -
10 - $${\color{green}-0.21}$$ $${\color{green}-0.09}$$ -
50 - +0.09 +0.03 +0.01

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - +0.09 +0.04 -
49 - $${\color{green}-0.77}$$ $${\color{green}-0.31}$$ $${\color{green}-0.01}$$

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - $${\color{green}-0.04}$$ $${\color{green}-0.02}$$ -
3 - - - -
5 - - - -
10 - $${\color{green}-0.05}$$ $${\color{green}-0.01}$$ -
39 - - - -

Abort transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 397 2.62 1.16 0.05
2 397 2.76 1.23 0.05
3 397 2.98 1.32 0.06
4 397 3.16 1.4 0.05
5 397 3.21 1.43 0.05
6 397 3.44 1.53 0.06
7 397 4.21 1.84 0.07
8 397 3.13 1.44 0.06
9 397 4.66 2.04 0.07
10 397 3.74 1.7 0.06
11 397 4.85 2.14 0.07
12 397 3.51 1.63 0.06

FanOut transaction costs

Parties UTxO UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
10 - - +397 +1.33 +0.59 0.03
10 - - +397 +1.32 +0.59 0.03
10 - - +397 +1.32 +0.6 0.03
10 - - +397 +1.32 +0.59 0.03
10 - - +397 +1.33 +0.59 0.03
10 - - +397 +1.32 +0.59 0.04
10 - - +397 +1.33 +0.59 0.04
10 - - +397 +1.32 +0.59 0.03
10 $${\color{green}-1.00}$$ $${\color{green}-48.00}$$ +371 $${\color{green}-0.04}$$ $${\color{green}-0.22}$$ 0.02

@v0d1ch v0d1ch closed this Nov 6, 2024
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