github.com/tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app52-proposal-execute/deploy.yaml (about) 1 jobs: 2 - name: foobar 3 deploy: 4 contract: contract.sol 5 6 - name: foobar2 7 deploy: 8 contract: test.sol 9 10 - name: SystemAccount 11 update-account: 12 target: new() 13 native: 300 14 permissions: ["all"] 15 16 - name: AssertSystemAccountCreated 17 assert: 18 key: $SystemAccount.address 19 relation: ne 20 val: "" 21 22 - name: DeployerAccount 23 update-account: 24 target: new() 25 native: 300 26 permissions: ["all"] 27 28 - name: AssertDeployerAccountCreated 29 assert: 30 key: $DeployerAccount.address 31 relation: ne 32 val: "" 33 34 - name: Propose Calling stuff 35 proposal: 36 name: CallFooBarProposal 37 description: I say we should call addFoobar() twice 38 source: $SystemAccount.address 39 jobs: 40 - name: CallFoobar 41 call: 42 source: $DeployerAccount.address 43 destination: $foobar 44 function: addFoobar 45 bin: foo 46 data: [ 2 ] 47 - name: CallFoobar2 48 call: 49 source: $DeployerAccount.address 50 destination: $foobar 51 function: addFoobar 52 bin: foo 53 data: [ 3 ] 54 - name: NameReg 55 register: 56 source: $DeployerAccount.address 57 name: FOO 58 data: bar 59 amount: 5000 60 fee: 2000 61 - name: deployBar 62 deploy: 63 contract: bar.bin 64 - name: CallBar 65 call: 66 source: $DeployerAccount.address 67 destination: $deployBar 68 function: addFoobar 69 bin: bar 70 data: [ 3 ] 71 72 - name: getFoobar 73 call: 74 destination: $foobar 75 function: getFoobar 76 77 - name: checkFoobar 78 assert: 79 key: $getFoobar 80 relation: eq 81 val: 5 82 83 - name: FOO 84 query-name: 85 name: FOO 86 field: data 87 88 - name: checkFOO 89 assert: 90 key: $FOO 91 relation: eq 92 val: bar 93