github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app08-initialization_constructors_in_contracts/deploy.yaml (about)

     1  jobs:
     2  
     3  - name: setIntStorage
     4    set:
     5        val: 5
     6  
     7  - name: setBoolStorage
     8    set:
     9        val: false
    10  
    11  - name: setStringStorage
    12    set:
    13        val: "hello"
    14  
    15  - name: setBytesStorage
    16    set:
    17        val: "marmoty"
    18  
    19  - name: setArrayStorage
    20    set:
    21        val: "[1,2,3]"
    22  
    23  - name: deployIntConstructor
    24    deploy:
    25        contract: contracts/storage.sol
    26        instance: SimpleConstructorInt
    27        data: 
    28          - $setIntStorage
    29          - 3
    30  
    31  - name: queryIntStorage
    32    query-contract:
    33        destination: $deployIntConstructor
    34        function: storedData
    35  
    36  - name: assertIntStorage
    37    assert:
    38        key: $queryIntStorage
    39        relation: eq
    40        val: $setIntStorage
    41  
    42  - name: deployBoolConstructor
    43    deploy:
    44        contract: contracts/storage.sol
    45        instance: SimpleConstructorBool
    46        data: 
    47          - $setBoolStorage
    48          - true
    49  
    50  - name: queryBoolStorage
    51    query-contract:
    52        destination: $deployBoolConstructor
    53        function: storedData
    54  
    55  - name: assertBoolStorage
    56    assert:
    57        key: $queryBoolStorage
    58        relation: eq
    59        val: "false"
    60  
    61  - name: deployStringConstructor
    62    deploy:
    63        contract: contracts/storage.sol
    64        instance: SimpleConstructorString
    65        data: 
    66          - $setStringStorage
    67          - "world"
    68  
    69  - name: queryStringStorage
    70    query-contract:
    71        destination: $deployStringConstructor
    72        function: storedData
    73  
    74  - name: assertStringStorage
    75    assert:
    76        key: $queryStringStorage
    77        relation: eq
    78        val: $setStringStorage
    79  
    80  - name: deployBytesConstructor
    81    deploy:
    82        contract: contracts/storage.sol
    83        instance: SimpleConstructorBytes
    84        data: 
    85          - $setBytesStorage
    86          - "marmots"
    87  
    88  - name: queryBytesStorage
    89    query-contract:
    90        destination: $deployBytesConstructor
    91        function: storedData
    92  
    93  - name: assertBytesStorage
    94    assert:
    95        key: $queryBytesStorage
    96        relation: eq
    97        val: $setBytesStorage
    98  
    99  - name: deployArrayConstructor
   100    deploy:
   101        contract: contracts/storage.sol
   102        instance: SimpleConstructorArray
   103        data:
   104          - $setArrayStorage
   105          - [4, 5, 6]
   106  
   107  - name: queryArrayStorage
   108    query-contract:
   109        destination: $deployArrayConstructor
   110        function: get
   111  
   112  - name: assertArrayStorage
   113    assert:
   114        key: $queryArrayStorage
   115        relation: eq
   116        val: $setArrayStorage