-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: empty constructor for arc4 numeric types, defaults to zero
- Loading branch information
Showing
23 changed files
with
182 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test_cases/arc4_types/out/Arc4NumericTypesContract.approval.teal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma version 10 | ||
|
||
test_cases.arc4_types.numeric.Arc4NumericTypesContract.approval_program: | ||
// arc4_types/numeric.py:96 | ||
// arc4_types/numeric.py:98 | ||
// return True | ||
int 1 | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma version 10 | ||
|
||
test_cases.arc4_types.numeric.Arc4NumericTypesContract.clear_state_program: | ||
// arc4_types/numeric.py:99 | ||
// arc4_types/numeric.py:107 | ||
// return True | ||
int 1 | ||
return |
4 changes: 2 additions & 2 deletions
4
test_cases/arc4_types/out/Arc4NumericTypesContract.destructured.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
contract test_cases.arc4_types.numeric.Arc4NumericTypesContract: | ||
program approval: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.approval_program() -> uint64: | ||
block@0: // L25 | ||
block@0: // L27 | ||
return 1u | ||
|
||
program clear-state: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.clear_state_program() -> uint64: | ||
block@0: // L98 | ||
block@0: // L100 | ||
return 1u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test_cases/arc4_types/out/Arc4NumericTypesContract.ssa.opt_pass_7.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
contract test_cases.arc4_types.numeric.Arc4NumericTypesContract: | ||
program approval: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.approval_program() -> uint64: | ||
block@0: // L25 | ||
block@0: // L27 | ||
return 1u | ||
|
||
program clear-state: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.clear_state_program() -> uint64: | ||
block@0: // L98 | ||
block@0: // L100 | ||
return 1u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test_cases/arc4_types/out_O2/Arc4NumericTypesContract.destructured.ir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
contract test_cases.arc4_types.numeric.Arc4NumericTypesContract: | ||
program approval: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.approval_program() -> uint64: | ||
block@0: // L25 | ||
block@0: // L27 | ||
return 1u | ||
|
||
program clear-state: | ||
subroutine test_cases.arc4_types.numeric.Arc4NumericTypesContract.clear_state_program() -> uint64: | ||
block@0: // L98 | ||
block@0: // L100 | ||
return 1u |
Oops, something went wrong.