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

Support V3 transactions in the Contract class #1262

Merged
merged 26 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f2d5225
Remove TODO #1182 comment that was already done
ddoktorski Jan 12, 2024
2b2dc1e
Move contract deploy related test to `test_deploy` file
ddoktorski Jan 15, 2024
d0aafc6
Split `prepare` method for: call, invoke_v1 and invoke_v3
ddoktorski Jan 23, 2024
2026549
Adjust interaction tests to the new `Contract` interface
ddoktorski Jan 24, 2024
a5936ef
Adjust remaining tests
ddoktorski Jan 24, 2024
9009d6c
Break down `Contract.declare` into v1, v2 and v3
ddoktorski Jan 24, 2024
5478589
Adjust tests to the new `Contract` declare interface
ddoktorski Jan 24, 2024
3bd6c71
Move `_unpack_provider` function to `contract_utils`
ddoktorski Jan 24, 2024
99cbef0
Remove `_get_cairo_version` function from `Contract` class
ddoktorski Jan 24, 2024
0e7e0f2
Split deploy contract methods in `Contract` class
ddoktorski Jan 24, 2024
219a139
Adjust tests to the new `Contract` deploy interface
ddoktorski Jan 24, 2024
9d0e0f7
Break down `contract.py` file
ddoktorski Jan 24, 2024
01b55fb
Move `Contract` related classes to separate directory
ddoktorski Jan 24, 2024
0408248
Ignore pylint locals for `deploy_contract` methods to fix lint
ddoktorski Jan 24, 2024
5cce06c
Add `_declare_contract` function
ddoktorski Jan 25, 2024
51a00dc
Merge branch 'development' into ddoktorski/1235-rpc-0.6.0-contract-po…
ddoktorski Jan 30, 2024
08c0a1b
Rename `CallToSend` to `PreparedCallBase`
ddoktorski Jan 30, 2024
6749484
Replace Wei with Fri in docstrings
ddoktorski Jan 30, 2024
aa5f517
Add test to get balance in STRK
ddoktorski Jan 30, 2024
00077a3
Update docstrings for deploy methods about sepolia network
ddoktorski Jan 30, 2024
d53c474
Add version postfix for `Abi` and `AbiParser` imports
ddoktorski Jan 30, 2024
fbf4128
Use query version for fee estimation
ddoktorski Jan 30, 2024
d79f551
Undo contract refactoring
ddoktorski Jan 30, 2024
f6b99a1
Fix docs build and add code examples
ddoktorski Jan 30, 2024
3f7716a
Update docstrings
ddoktorski Jan 31, 2024
1c52a28
Merge branch 'development' into ddoktorski/1235-rpc-0.6.0-contract-po…
ddoktorski Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/api/contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,24 @@ PreparedFunctionCall
:members:
:member-order: groupwise

------------------------
PreparedFunctionInvokeV1
------------------------

.. autoclass-with-examples:: PreparedFunctionInvokeV1
:exclude-members: __init__, __new__
:members:
:member-order: groupwise

------------------------
PreparedFunctionInvokeV3
------------------------

.. autoclass-with-examples:: PreparedFunctionInvokeV3
:exclude-members: __init__, __new__
:members:
:member-order: groupwise

------------
InvokeResult
------------
Expand Down
Loading
Loading