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

     1  jobs:
     2  
     3  - name: setStorageBase
     4    set:
     5        val: 5
     6  
     7  - name: deployGSFactory
     8    deploy:
     9        contract: GSFactory.sol
    10        instance: all
    11  
    12  - name: createGSContract
    13    call:
    14        destination: $deployGSFactory
    15        function: create
    16  
    17  #Double check created address
    18  - name:  getGSAddr
    19    query-contract:
    20        destination: $deployGSFactory
    21        function: getLast
    22  
    23  - name: assertAddr
    24    assert:
    25        key: $getGSAddr
    26        relation: eq
    27        val: $createGSContract
    28  
    29  #Normal get set contract testing
    30  - name: setStorage
    31    call:
    32        destination: $createGSContract
    33        function: set 
    34        data:
    35          - $setStorageBase
    36        bin: GSContract
    37  
    38  - name: queryStorage
    39    query-contract:
    40        destination: $createGSContract
    41        function: get
    42        bin: GSContract
    43  
    44  - name: assertStorage
    45    assert:
    46        key: $queryStorage
    47        relation: eq
    48        val: $setStorageBase